Symbol: be32toh
lib/libc/citrus/citrus_csmapper.c
80
*rval = be32toh(*rval);
lib/libc/citrus/citrus_db.c
115
num_entries = be32toh(dhx->dhx_num_entries);
lib/libc/citrus/citrus_db.c
128
be32toh(dhx->dhx_entry_offset) +
lib/libc/citrus/citrus_db.c
143
offset = be32toh(dex->dex_next_offset);
lib/libc/citrus/citrus_db.c
153
if (be32toh(dex->dex_hash_value) != hashval)
lib/libc/citrus/citrus_db.c
157
if (be32toh(dex->dex_key_size) == _region_size(key)) {
lib/libc/citrus/citrus_db.c
159
if (_memstream_seek(&ms, be32toh(dex->dex_key_offset),
lib/libc/citrus/citrus_db.c
171
&ms, be32toh(dex->dex_data_offset),
lib/libc/citrus/citrus_db.c
176
be32toh(dex->dex_data_size)) == NULL)
lib/libc/citrus/citrus_db.c
258
*rval = be32toh(val);
lib/libc/citrus/citrus_db.c
298
return (int)be32toh(dhx->dhx_num_entries);
lib/libc/citrus/citrus_db.c
315
num_entries = be32toh(dhx->dhx_num_entries);
lib/libc/citrus/citrus_db.c
320
offset = be32toh(dhx->dhx_entry_offset) + idx * _CITRUS_DB_ENTRY_SIZE;
lib/libc/citrus/citrus_db.c
328
if (_memstream_seek(&ms, be32toh(dex->dex_key_offset), SEEK_SET))
lib/libc/citrus/citrus_db.c
331
if (_memstream_getregion(&ms, key, be32toh(dex->dex_key_size))==NULL)
lib/libc/citrus/citrus_db.c
334
if (_memstream_seek(&ms, be32toh(dex->dex_data_offset), SEEK_SET))
lib/libc/citrus/citrus_db.c
337
if (_memstream_getregion(&ms, data, be32toh(dex->dex_data_size))==NULL)
lib/libc/citrus/citrus_db.c
76
if (_memstream_seek(&ms, be32toh(dhx->dhx_entry_offset), SEEK_SET))
lib/libc/citrus/citrus_db.c
79
if (be32toh(dhx->dhx_num_entries)*_CITRUS_DB_ENTRY_SIZE >
lib/libc/citrus/modules/citrus_mapper_std.c
123
conv = be32toh(_region_peek32(&rc->rc_table, idx*4));
lib/libc/citrus/modules/citrus_mapper_std.c
170
rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid);
lib/libc/citrus/modules/citrus_mapper_std.c
171
rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits);
lib/libc/citrus/modules/citrus_mapper_std.c
172
m = be32toh(rcx->rcx_src_col_bits);
lib/libc/citrus/modules/citrus_mapper_std.c
184
m = be32toh(rcx->rcx_src_row_begin);
lib/libc/citrus/modules/citrus_mapper_std.c
185
n = be32toh(rcx->rcx_src_row_end);
lib/libc/citrus/modules/citrus_mapper_std.c
195
m = be32toh(rcx->rcx_src_col_begin);
lib/libc/citrus/modules/citrus_mapper_std.c
196
n = be32toh(rcx->rcx_src_col_end);
lib/libc/citrus/modules/citrus_mapper_std.c
215
rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid);
lib/libc/citrus/modules/citrus_mapper_std.c
216
rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits);
lib/libc/citrus/modules/citrus_mapper_std.c
218
m = be32toh(rcx->rcx_src_rowcol_bits);
lib/libc/citrus/modules/citrus_mapper_std.c
224
rc->rc_src_rowcol_len = be32toh(rcx->rcx_src_rowcol_len);
lib/libc/citrus/modules/citrus_mapper_std.c
233
m = be32toh(rcx->rcx_src_rowcol[i].begin),
lib/libc/citrus/modules/citrus_mapper_std.c
234
n = be32toh(rcx->rcx_src_rowcol[i].end);
lib/libc/citrus/modules/citrus_mapper_std.c
321
rc->rc_oob_mode = be32toh(eix->eix_oob_mode);
lib/libc/citrus/modules/citrus_mapper_std.c
322
rc->rc_dst_ilseq = be32toh(eix->eix_dst_ilseq);
lib/libc/locale/rune.c
253
runetype_len = be32toh(frl->frl_runetype_ext.frr_nranges);
lib/libc/locale/rune.c
254
maplower_len = be32toh(frl->frl_maplower_ext.frr_nranges);
lib/libc/locale/rune.c
255
mapupper_len = be32toh(frl->frl_mapupper_ext.frr_nranges);
lib/libc/locale/rune.c
261
variable_len = be32toh((uint32_t)frl->frl_variable_len);
lib/libc/locale/rune.c
295
rl->rl_runetype[i] = be32toh(frl->frl_runetype[i]);
lib/libc/locale/rune.c
296
rl->rl_maplower[i] = be32toh((uint32_t)frl->frl_maplower[i]);
lib/libc/locale/rune.c
297
rl->rl_mapupper[i] = be32toh((uint32_t)frl->frl_mapupper[i]);
lib/libc/locale/rune.c
310
re->re_min = be32toh((uint32_t)fre->fre_min); \
lib/libc/locale/rune.c
311
re->re_max = be32toh((uint32_t)fre->fre_max); \
lib/libc/locale/rune.c
312
re->re_map = be32toh((uint32_t)fre->fre_map); \
lib/libc/locale/rune.c
326
*rune++ = be32toh(*frune++); \
sbin/mount_qemufwcfg/fwcfg.c
179
st->f_files = be32toh(count);
sbin/mount_qemufwcfg/fwcfg.c
207
for (n = 0; n < be32toh(count); n++) {
sbin/mount_qemufwcfg/fwcfg.c
211
be32toh(f.size), be16toh(f.select));
sys/arch/amiga/stand/bootblock/elf2bb/chksum.c
52
sum += be32toh(block[i]);
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
150
be32toh(eh->e_shoff)));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
160
sh = (Elf32_Shdr *)(image + be32toh(eh->e_shoff));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
162
be32toh(sh[be16toh(eh->e_shstrndx)].sh_offset));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
171
be32toh(sh[i].sh_name), shstrtab + be32toh(sh[i].sh_name),
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
172
be32toh(sh[i].sh_type), be32toh(sh[i].sh_flags),
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
173
be32toh(sh[i].sh_addr), be32toh(sh[i].sh_offset),
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
174
be32toh(sh[i].sh_size), be32toh(sh[i].sh_addralign)));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
175
sh_size = (be32toh(sh[i].sh_size) +
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
176
be32toh(sh[i].sh_addralign) - 1) &
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
177
(- be32toh(sh[i].sh_addralign));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
182
if (be32toh(sh[i].sh_flags) & SHF_ALLOC) {
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
183
if (be32toh(sh[i].sh_type) == SHT_PROGBITS) {
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
184
if (be32toh(sh[i].sh_flags) & SHF_WRITE)
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
191
} else if (be32toh(sh[i].sh_type) == SHT_RELA) {
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
192
trsz += be32toh(sh[i].sh_size);
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
196
else if (be32toh(sh[i].sh_type) == SHT_SYMTAB) {
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
198
be32toh(sh[i].sh_offset));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
200
be32toh(sh[i].sh_name)) == 0) {
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
201
strtab = image + be32toh(sh[i].sh_offset);
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
256
if (be32toh(sh[i].sh_flags) & SHF_ALLOC) {
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
258
l, be32toh(sh[i].sh_size), be32toh(sh[i].sh_offset),
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
259
shstrtab + be32toh(sh[i].sh_name)));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
260
if (be32toh(sh[i].sh_type) == SHT_PROGBITS)
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
262
image + be32toh(sh[i].sh_offset),
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
263
be32toh(sh[i].sh_size));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
265
l += (be32toh(sh[i].sh_size) +
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
266
be32toh(sh[i].sh_addralign) - 1) &
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
267
(- be32toh(sh[i].sh_addralign));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
276
relver = be32toh(*(uint32_t *)(buffer + 4));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
313
if (be32toh(sh[i].sh_type) != SHT_RELA)
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
316
if (strncmp(shstrtab + be32toh(sh[i].sh_name), ".rela", 5) != 0)
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
318
shstrtab + be32toh(sh[i].sh_name));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
320
if (strcmp(shstrtab + be32toh(sh[i].sh_name) + 5,
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
321
shstrtab + be32toh(sh[n].sh_name)) != 0)
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
328
shstrtab + be32toh(sh[i].sh_name));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
329
ra = (Elf32_Rela *)(image + be32toh(sh[i].sh_offset));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
330
for (n = 0; n < be32toh(sh[i].sh_size);
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
335
s = &symtab[ELF32_R_SYM(be32toh(ra->r_info))];
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
338
strtab + be32toh(s->st_name));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
341
value = be32toh(ra->r_addend) + eval(s, sect_offset);
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
343
be32toh(ra->r_offset), be32toh(ra->r_info),
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
344
ELF32_R_TYPE(be32toh(ra->r_info)),
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
345
ELF32_R_SYM(be32toh(ra->r_info)),
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
346
be32toh(ra->r_addend), value));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
347
switch (ELF32_R_TYPE(be32toh(ra->r_info))) {
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
350
memcpy(base + be32toh(ra->r_offset), &tmp32,
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
353
be32toh(ra->r_offset);
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
357
tmp32 = htobe32(value - be32toh(ra->r_offset));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
358
memcpy(base + be32toh(ra->r_offset), &tmp32,
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
363
value -= be32toh(ra->r_offset);
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
368
memcpy(base + be32toh(ra->r_offset), &tmp16,
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
373
ELF32_R_TYPE(be32toh(ra->r_info)));
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
484
value = be32toh(s->st_value);
sys/arch/arm/amlogic/meson_dwmac.c
123
reset_active_low = be32toh(reset_gpios[2]);
sys/arch/arm/amlogic/meson_dwmac.c
128
delay(be32toh(reset_assert_us[0]));
sys/arch/arm/amlogic/meson_dwmac.c
130
delay(be32toh(reset_deassert_us[0]));
sys/arch/arm/amlogic/meson_dwmac.c
91
delay(be32toh(reset_delay_us[0]));
sys/arch/arm/amlogic/meson_dwmac.c
93
delay(be32toh(reset_delay_us[1]));
sys/arch/arm/amlogic/meson_dwmac.c
95
delay(be32toh(reset_delay_us[2]));
sys/arch/arm/amlogic/meson_pinctrl.c
354
const u_int id = be32toh(gpio[1]);
sys/arch/arm/amlogic/meson_pinctrl.c
355
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/amlogic/meson_pinctrl.c
518
const u_int id = be32toh(gpio[0]);
sys/arch/arm/amlogic/meson_pinctrl.c
519
const bool actlo = be32toh(gpio[1]) & 1;
sys/arch/arm/amlogic/meson_pwm.c
288
const u_int index = be32toh(pwm[1]);
sys/arch/arm/amlogic/meson_pwm.c
291
const u_int period = be32toh(pwm[2]);
sys/arch/arm/amlogic/mesong12_usb3pciephy.c
102
switch (be32toh(p[0])) {
sys/arch/arm/apple/apple_intc.c
233
const u_int type = be32toh(specifier[0]);
sys/arch/arm/apple/apple_intc.c
235
const u_int intno = be32toh(specifier[1]);
sys/arch/arm/apple/apple_intc.c
275
const u_int type = be32toh(specifier[0]);
sys/arch/arm/apple/apple_intc.c
277
const u_int intno = be32toh(specifier[1]);
sys/arch/arm/apple/apple_pcie.c
158
u_int portno = __SHIFTOUT(be32toh(reg[0]), __BITS(13,11));
sys/arch/arm/apple/apple_pcie.c
728
sc->sc_msi_start = be32toh(data[0]);
sys/arch/arm/apple/apple_pcie.c
729
sc->sc_nmsi = be32toh(data[1]);
sys/arch/arm/apple/apple_pcie.c
733
sc->sc_msi_start = be32toh(data[2]);
sys/arch/arm/apple/apple_pcie.c
734
sc->sc_nmsi = be32toh(data[4]);
sys/arch/arm/apple/apple_pinctrl.c
141
const u_int pinno = be32toh(gpio[1]);
sys/arch/arm/apple/apple_pinctrl.c
142
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/apple/apple_platform.c
188
if (bdf != be32toh(data[0])) {
sys/arch/arm/apple/apple_smc.c
250
const u_int pinno = be32toh(gpio[1]);
sys/arch/arm/apple/apple_smc.c
251
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/broadcom/bcm2835_cprman.c
88
id = be32toh(spec[0]);
sys/arch/arm/broadcom/bcm2835_gpio.c
222
const u_int pin = be32toh(pins[i]);
sys/arch/arm/broadcom/bcm2835_gpio.c
227
const int value = be32toh(pull[npull == 1 ? 0 : i]);
sys/arch/arm/broadcom/bcm2835_gpio.c
231
const int value = be32toh(func[nfunc == 1 ? 0 : i]);
sys/arch/arm/broadcom/bcm2835_gpio.c
587
const u_int bank = be32toh(specifier[0]) / 32;
sys/arch/arm/broadcom/bcm2835_gpio.c
588
const u_int pin = be32toh(specifier[0]) % 32;
sys/arch/arm/broadcom/bcm2835_gpio.c
589
const u_int type = be32toh(specifier[1]) & 0xf;
sys/arch/arm/broadcom/bcm2835_gpio.c
697
const u_int bank = be32toh(specifier[0]) / 32;
sys/arch/arm/broadcom/bcm2835_gpio.c
698
const u_int pin = be32toh(specifier[0]) % 32;
sys/arch/arm/broadcom/bcm2835_gpio.c
699
const u_int type = be32toh(specifier[1]) & 0xf;
sys/arch/arm/broadcom/bcm2835_gpio.c
934
const u_int pin = be32toh(gpio[1]);
sys/arch/arm/broadcom/bcm2835_gpio.c
935
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/broadcom/bcm2835_intr.c
527
const u_int bank = be32toh(specifier[0]);
sys/arch/arm/broadcom/bcm2835_intr.c
541
const u_int off = be32toh(specifier[1]);
sys/arch/arm/broadcom/bcm2835_intr.c
914
return be32toh(specifier[0]);
sys/arch/arm/broadcom/bcm2838_pcie.c
333
phys_hi = be32toh(ranges[0]);
sys/arch/arm/broadcom/bcm2838_pcie.c
334
bus_phys = ((uint64_t)be32toh(ranges[1])) << 32 | be32toh(ranges[2]);
sys/arch/arm/broadcom/bcm2838_pcie.c
335
cpu_phys = ((uint64_t)be32toh(ranges[3])) << 32 | be32toh(ranges[4]);
sys/arch/arm/broadcom/bcm2838_pcie.c
336
size = ((uint64_t)be32toh(ranges[5])) << 32 | be32toh(ranges[6]);
sys/arch/arm/broadcom/bcm2838_pcie.c
705
const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
sys/arch/arm/broadcom/bcm2838_pcie.c
752
intc = fdtbus_get_phandle_from_native(be32toh(imap[int_cells + addr_cells]));
sys/arch/arm/fdt/cpu_fdt.c
88
uint32_t capacity_dmips_mhz = be32toh(*cap_ptr);
sys/arch/arm/fdt/gic_fdt.c
255
const u_int type = be32toh(specifier[0]);
sys/arch/arm/fdt/gic_fdt.c
256
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/fdt/gic_fdt.c
258
const u_int trig = be32toh(specifier[2]) & 0xf;
sys/arch/arm/fdt/gic_fdt.c
372
const u_int type = be32toh(specifier[0]);
sys/arch/arm/fdt/gic_fdt.c
373
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/fdt/gicv3_fdt.c
355
const u_int type = be32toh(specifier[0]);
sys/arch/arm/fdt/gicv3_fdt.c
356
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/fdt/gicv3_fdt.c
358
const u_int trig = be32toh(specifier[2]) & 0xf;
sys/arch/arm/fdt/gicv3_fdt.c
473
const u_int type = be32toh(specifier[0]);
sys/arch/arm/fdt/gicv3_fdt.c
474
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/fdt/pcihost_fdt.c
171
sc->sc_bus_min = be32toh(data[0]);
sys/arch/arm/fdt/pcihost_fdt.c
172
sc->sc_bus_max = be32toh(data[1]);
sys/arch/arm/fdt/pcihost_fdt.c
508
const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
sys/arch/arm/fdt/pcihost_fdt.c
544
const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
sys/arch/arm/fdt/plcom_fdt.c
105
sc->sc_pi.pi_periphid = be32toh(data[0]);
sys/arch/arm/fdt/pmu_fdt.c
203
cpunode = fdtbus_get_phandle_from_native(be32toh(aff[index]));
sys/arch/arm/imx/imx23_apbdma.c
186
const u_int chan_index = be32toh(specifier[0]);
sys/arch/arm/imx/imx23_apbdma.c
472
u_int irq = be32toh(specifier[i]);
sys/arch/arm/imx/imx23_apbdma.c
481
if (be32toh(specifier[j]) == irq) {
sys/arch/arm/imx/imx23_icoll.c
288
const u_int irq = be32toh(*specifier);
sys/arch/arm/imx/imx23_icoll.c
299
const u_int irq = be32toh(*specifier);
sys/arch/arm/imx/imx23_pinctrl.c
395
fdtbus_get_phandle_from_native(be32toh(gpio[0]));
sys/arch/arm/imx/imx23_pinctrl.c
404
const int pin_nr = pin_nr_offset + be32toh(gpio[1]);
sys/arch/arm/imx/imx23_pinctrl.c
405
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/nvidia/tegra_gpio.c
298
const u_int bank = be32toh(gpio[1]) >> 3;
sys/arch/arm/nvidia/tegra_gpio.c
299
const u_int pin = be32toh(gpio[1]) & 7;
sys/arch/arm/nvidia/tegra_gpio.c
300
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/nvidia/tegra_lic.c
142
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nvidia/tegra_lic.c
143
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/nvidia/tegra_lic.c
145
const u_int trig = be32toh(specifier[2]) & 0xf;
sys/arch/arm/nvidia/tegra_lic.c
167
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nvidia/tegra_lic.c
168
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/nvidia/tegra_pcie.c
411
const u_int index = ((be32toh(data[0]) >> 11) & 0x1f) - 1;
sys/arch/arm/nvidia/tegra_pcie.c
456
const u_int index = ((be32toh(data[0]) >> 11) & 0x1f) - 1;
sys/arch/arm/nxp/imx6_gpc.c
127
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nxp/imx6_gpc.c
128
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/nxp/imx6_gpc.c
130
const u_int trig = be32toh(specifier[2]) & 0xf;
sys/arch/arm/nxp/imx6_gpc.c
156
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nxp/imx6_gpc.c
157
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/nxp/imx6_iomux.c
69
u_int mux_reg = be32toh(pins[0]);
sys/arch/arm/nxp/imx6_iomux.c
70
u_int conf_reg = be32toh(pins[1]);
sys/arch/arm/nxp/imx6_iomux.c
71
u_int input_reg = be32toh(pins[2]);
sys/arch/arm/nxp/imx6_iomux.c
72
u_int mux_mode = be32toh(pins[3]);
sys/arch/arm/nxp/imx6_iomux.c
73
u_int input_val = be32toh(pins[4]);
sys/arch/arm/nxp/imx6_iomux.c
74
u_int config = be32toh(pins[5]);
sys/arch/arm/nxp/imx6_pwm.c
60
const u_int index = be32toh(pwm[1]);
sys/arch/arm/nxp/imx6_pwm.c
63
const u_int period = be32toh(pwm[2]);
sys/arch/arm/nxp/imx6_pwm.c
67
const u_int polarity = be32toh(pwm[3]);
sys/arch/arm/nxp/imx6_usb.c
145
int unit = be32toh(data.values[0]);
sys/arch/arm/nxp/imx7_gpc.c
214
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nxp/imx7_gpc.c
215
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/nxp/imx7_gpc.c
217
const u_int trig = be32toh(specifier[2]) & 0xf;
sys/arch/arm/nxp/imx7_gpc.c
258
const u_int type = be32toh(specifier[0]);
sys/arch/arm/nxp/imx7_gpc.c
259
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/nxp/imx_gpio.c
172
const u_int pin = be32toh(gpio[1]);
sys/arch/arm/nxp/imx_gpio.c
173
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/nxp/imx_gpio.c
231
const u_int intr = be32toh(specifier[0]);
sys/arch/arm/nxp/imx_gpio.c
232
const u_int trig = be32toh(specifier[1]) & 0xf;
sys/arch/arm/nxp/imx_gpio.c
271
const u_int intr = be32toh(specifier[0]);
sys/arch/arm/rockchip/rk3288_iomux.c
294
const u_int bank = be32toh(pins[0]);
sys/arch/arm/rockchip/rk3288_iomux.c
295
const u_int idx = be32toh(pins[1]);
sys/arch/arm/rockchip/rk3288_iomux.c
296
const u_int mux = be32toh(pins[2]);
sys/arch/arm/rockchip/rk3288_iomux.c
297
const int cfg = fdtbus_get_phandle_from_native(be32toh(pins[3]));
sys/arch/arm/rockchip/rk3328_iomux.c
256
const u_int bank = be32toh(pins[0]);
sys/arch/arm/rockchip/rk3328_iomux.c
257
const u_int idx = be32toh(pins[1]);
sys/arch/arm/rockchip/rk3328_iomux.c
258
const u_int mux = be32toh(pins[2]);
sys/arch/arm/rockchip/rk3328_iomux.c
259
const int cfg = fdtbus_get_phandle_from_native(be32toh(pins[3]));
sys/arch/arm/rockchip/rk3399_iomux.c
424
const u_int bank = be32toh(pins[0]);
sys/arch/arm/rockchip/rk3399_iomux.c
425
const u_int idx = be32toh(pins[1]);
sys/arch/arm/rockchip/rk3399_iomux.c
426
const u_int mux = be32toh(pins[2]);
sys/arch/arm/rockchip/rk3399_iomux.c
427
const int cfg = fdtbus_get_phandle_from_native(be32toh(pins[3]));
sys/arch/arm/rockchip/rk3399_pcie.c
475
switch (be32toh(ranges[i]) & 0x03000000) {
sys/arch/arm/rockchip/rk3399_pcie.c
487
addr = ((uint64_t)be32toh(ranges[i + 1]) << 32) + be32toh(ranges[i + 2]);
sys/arch/arm/rockchip/rk3399_pcie.c
488
aaddr = ((uint64_t)be32toh(ranges[i + 3]) << 32) + be32toh(ranges[i + 4]);
sys/arch/arm/rockchip/rk3399_pcie.c
489
size = be32toh(ranges[i + 6]);
sys/arch/arm/rockchip/rk3399_pcie.c
661
const u_int pin = be32toh(specifier[0]);
sys/arch/arm/rockchip/rk3588_iomux.c
981
const u_int bank = be32toh(pins[0]);
sys/arch/arm/rockchip/rk3588_iomux.c
982
const u_int idx = be32toh(pins[1]);
sys/arch/arm/rockchip/rk3588_iomux.c
983
const u_int mux = be32toh(pins[2]);
sys/arch/arm/rockchip/rk3588_iomux.c
985
fdtbus_get_phandle_from_native(be32toh(pins[3]));
sys/arch/arm/rockchip/rk_eqos.c
258
delay(be32toh(reset_delay_us[0]));
sys/arch/arm/rockchip/rk_eqos.c
260
delay(be32toh(reset_delay_us[1]));
sys/arch/arm/rockchip/rk_eqos.c
262
delay(be32toh(reset_delay_us[2]));
sys/arch/arm/rockchip/rk_gmac.c
353
delay(be32toh(reset_delay_us[0]));
sys/arch/arm/rockchip/rk_gmac.c
355
delay(be32toh(reset_delay_us[1]));
sys/arch/arm/rockchip/rk_gmac.c
357
delay(be32toh(reset_delay_us[2]));
sys/arch/arm/rockchip/rk_gpio.c
133
const uint8_t pin = be32toh(gpio[1]) & 0xff;
sys/arch/arm/rockchip/rk_gpio.c
134
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/rockchip/rk_gpio.c
416
const uint32_t pin = be32toh(specifier[0]);
sys/arch/arm/rockchip/rk_gpio.c
417
const uint32_t type = be32toh(specifier[1]) & 0xf;
sys/arch/arm/rockchip/rk_gpio.c
460
const u_int pin = be32toh(specifier[0]);
sys/arch/arm/rockchip/rk_pwm.c
100
const u_int period = be32toh(pwm[2]);
sys/arch/arm/rockchip/rk_pwm.c
101
const u_int polarity = be32toh(pwm[3]);
sys/arch/arm/rockchip/rk_pwm.c
96
const u_int index = be32toh(pwm[1]);
sys/arch/arm/samsung/exynos_combiner.c
250
const u_int group = be32toh(specifier[0]);
sys/arch/arm/samsung/exynos_combiner.c
251
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/samsung/exynos_combiner.c
300
const u_int group = be32toh(specifier[0]);
sys/arch/arm/samsung/exynos_combiner.c
301
const u_int intr = be32toh(specifier[1]);
sys/arch/arm/samsung/exynos_gpio.c
466
const int pin = be32toh(cells[1]) & 0x0f;
sys/arch/arm/samsung/exynos_gpio.c
467
const int actlo = be32toh(cells[2]) & 0x01;
sys/arch/arm/samsung/exynos_pwm.c
176
const u_int index = be32toh(pwm[1]);
sys/arch/arm/samsung/exynos_pwm.c
180
const u_int period = be32toh(pwm[2]);
sys/arch/arm/samsung/exynos_pwm.c
181
const u_int polarity = be32toh(pwm[3]);
sys/arch/arm/samsung/exynos_pwm.c
251
sc->sc_timermask |= __BIT(be32toh(data[n]));
sys/arch/arm/sociox/if_scx.c
651
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/arch/arm/sunxi/sun4i_dma.c
144
const u_int type = be32toh(specifier[0]);
sys/arch/arm/sunxi/sun4i_dma.c
145
const u_int drq = be32toh(specifier[1]);
sys/arch/arm/sunxi/sunxi_gmac.c
82
delay(be32toh(reset_delay_us[0]));
sys/arch/arm/sunxi/sunxi_gmac.c
84
delay(be32toh(reset_delay_us[1]));
sys/arch/arm/sunxi/sunxi_gmac.c
86
delay(be32toh(reset_delay_us[2]));
sys/arch/arm/sunxi/sunxi_gpio.c
340
const uint8_t port = be32toh(gpio[1]) & 0xff;
sys/arch/arm/sunxi/sunxi_gpio.c
341
const uint8_t pin = be32toh(gpio[2]) & 0xff;
sys/arch/arm/sunxi/sunxi_gpio.c
342
const bool actlo = be32toh(gpio[3]) & 1;
sys/arch/arm/sunxi/sunxi_gpio.c
565
const u_int port = be32toh(specifier[0]);
sys/arch/arm/sunxi/sunxi_gpio.c
566
const u_int pin = be32toh(specifier[1]);
sys/arch/arm/sunxi/sunxi_gpio.c
567
const u_int type = be32toh(specifier[2]) & 0xf;
sys/arch/arm/sunxi/sunxi_gpio.c
618
const u_int port = be32toh(specifier[0]);
sys/arch/arm/sunxi/sunxi_gpio.c
619
const u_int pin = be32toh(specifier[1]);
sys/arch/arm/sunxi/sunxi_intc.c
139
const u_int irq = be32toh(specifier[0]);
sys/arch/arm/sunxi/sunxi_intc.c
166
const u_int irq = be32toh(specifier[0]);
sys/arch/arm/sunxi/sunxi_nmi.c
188
irq = be32toh(specifier[0]);
sys/arch/arm/sunxi/sunxi_nmi.c
190
pol = be32toh(specifier[1]);
sys/arch/arm/sunxi/sunxi_nmi.c
193
if (be32toh(specifier[0]) != 0) {
sys/arch/arm/sunxi/sunxi_nmi.c
196
be32toh(specifier[0]));
sys/arch/arm/sunxi/sunxi_nmi.c
201
irq = be32toh(specifier[1]);
sys/arch/arm/sunxi/sunxi_nmi.c
203
pol = be32toh(specifier[2]);
sys/arch/arm/sunxi/sunxi_nmi.c
335
const u_int irq = be32toh(specifier[1]);
sys/arch/arm/sunxi/sunxi_nmi.c
395
be32toh(interrupts[0]) != 0 /* GIC_SPI */ ||
sys/arch/arm/sunxi/sunxi_nmi.c
396
be32toh(interrupts[2]) != 4 /* IRQ_TYPE_LEVEL_HIGH */) {
sys/arch/arm/sunxi/sunxi_nmi.c
400
sc->sc_intr_nmi = be32toh(interrupts[1]);
sys/arch/arm/sunxi/sunxi_pwm.c
91
const u_int index = be32toh(pwm[1]);
sys/arch/arm/sunxi/sunxi_pwm.c
95
const u_int period = be32toh(pwm[2]);
sys/arch/arm/sunxi/sunxi_pwm.c
96
const u_int polarity = be32toh(pwm[3]);
sys/arch/arm/sunxi/sunxi_sramc.c
282
const int node_phandle = fdtbus_get_phandle_from_native(be32toh(data[0]));
sys/arch/arm/sunxi/sunxi_sramc.c
283
const u_int config = be32toh(data[1]);
sys/arch/arm/ti/am18xx_intc.c
119
const u_int irq = be32toh(specifier[0]);
sys/arch/arm/ti/am18xx_intc.c
140
const u_int irq = be32toh(specifier[0]);
sys/arch/arm/ti/am18xx_pllc.c
238
const u_int clock_index = be32toh(cells[0]) - 1;
sys/arch/arm/ti/am18xx_psc.c
276
const u_int clock_index = be32toh(cells[0]);
sys/arch/arm/ti/am18xx_usbphy.c
97
const u_int index = be32toh(cells[0]);
sys/arch/arm/ti/am18xx_usbphyclk.c
327
const u_int index = be32toh(cells[0]);
sys/arch/arm/ti/am3_prcm.c
217
bus_size_t regoff = be32toh(cells[0]);
sys/arch/arm/ti/am3_prcm.c
218
const u_int clock_index = be32toh(cells[1]);
sys/arch/arm/ti/omap2_nand.c
218
sc->sc_cs = be32toh(prop[0]);
sys/arch/arm/ti/omap4_prcm.c
245
bus_size_t regoff = be32toh(cells[0]);
sys/arch/arm/ti/omap4_prcm.c
246
const u_int clock_index = be32toh(cells[1]);
sys/arch/arm/ti/ti_cpufreq.c
81
if ((rev & be32toh(supported_hw[0])) == 0)
sys/arch/arm/ti/ti_cpufreq.c
84
if ((efuse & be32toh(supported_hw[1])) == 0)
sys/arch/arm/ti/ti_gpio.c
180
const uint8_t pin = be32toh(gpio[1]) & 0xff;
sys/arch/arm/ti/ti_gpio.c
181
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/ti/ti_gpio.c
293
const u_int pin = be32toh(specifier[0]);
sys/arch/arm/ti/ti_gpio.c
294
const u_int type = be32toh(specifier[2]) & 0xf;
sys/arch/arm/ti/ti_gpio.c
377
const u_int pin = be32toh(specifier[0]);
sys/arch/arm/ti/ti_omapintc.c
189
const u_int irq = be32toh(specifier[0]);
sys/arch/arm/ti/ti_omapintc.c
212
const u_int irq = be32toh(specifier[0]);
sys/arch/arm/ti/ti_sdhc.c
199
sc->sc_edma_chan[EDMA_CHAN_TX] = be32toh(dmas[1]);
sys/arch/arm/ti/ti_sdhc.c
200
sc->sc_edma_chan[EDMA_CHAN_RX] = be32toh(dmas[4]);
sys/arch/arm/ti/ti_sdhc.c
203
sc->sc_edma_chan[EDMA_CHAN_TX] = be32toh(dmas[1]);
sys/arch/arm/ti/ti_sdhc.c
204
sc->sc_edma_chan[EDMA_CHAN_RX] = be32toh(dmas[5]);
sys/arch/arm/xilinx/zynq_gpio.c
125
const uint8_t pin = be32toh(gpio[1]) & 0xff;
sys/arch/arm/xilinx/zynq_gpio.c
126
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/arm/xscale/ixp425_if_npe.c
692
be32toh(ns->dot3StatsInternalMacTransmitErrors)
sys/arch/arm/xscale/ixp425_if_npe.c
693
+ be32toh(ns->dot3StatsCarrierSenseErrors)
sys/arch/arm/xscale/ixp425_if_npe.c
694
+ be32toh(ns->TxVLANIdFilterDiscards)
sys/arch/arm/xscale/ixp425_if_npe.c
697
be32toh(ns->dot3StatsFCSErrors)
sys/arch/arm/xscale/ixp425_if_npe.c
698
+ be32toh(ns->dot3StatsInternalMacReceiveErrors)
sys/arch/arm/xscale/ixp425_if_npe.c
699
+ be32toh(ns->RxOverrunDiscards)
sys/arch/arm/xscale/ixp425_if_npe.c
700
+ be32toh(ns->RxUnderflowEntryDiscards)
sys/arch/arm/xscale/ixp425_if_npe.c
703
be32toh(ns->dot3StatsSingleCollisionFrames)
sys/arch/arm/xscale/ixp425_if_npe.c
704
+ be32toh(ns->dot3StatsMultipleCollisionFrames)
sys/arch/arm/xscale/ixp425_if_npe.c
930
mrx->m_len = be32toh(hw->ix_ne[0].len) & 0xffff;
sys/arch/dreamcast/dev/maple/maple.c
1255
be32toh(u->u_rxbuf[1]) == MAPLE_FUNC(func_code)) {
sys/arch/dreamcast/dev/maple/maple.c
1602
func = be32toh(devinfo->di_func);
sys/arch/dreamcast/dev/maple/maple.c
1606
return be32toh(devinfo->di_function_data[p]);
sys/arch/dreamcast/dev/maple/maple.c
621
be32toh(ma->ma_devinfo->di_func),
sys/arch/dreamcast/dev/maple/maple.c
622
be32toh(ma->ma_devinfo->di_function_data[0]),
sys/arch/dreamcast/dev/maple/maple.c
623
be32toh(ma->ma_devinfo->di_function_data[1]),
sys/arch/dreamcast/dev/maple/maple.c
624
be32toh(ma->ma_devinfo->di_function_data[2]));
sys/arch/dreamcast/dev/maple/maple.c
686
func = be32toh(ma.ma_devinfo->di_func);
sys/arch/dreamcast/dev/maple/mlcd.c
369
pt->pt_name, be32toh(response->response_code), sz);
sys/arch/dreamcast/dev/maple/mlcd.c
436
be32toh(response->response_code),
sys/arch/dreamcast/dev/maple/mlcd.c
437
be32toh(rm->func_code), sz);
sys/arch/dreamcast/dev/maple/mmemcard.c
453
pt->pt_name, be32toh(response->response_code), sz);
sys/arch/dreamcast/dev/maple/mmemcard.c
517
be32toh(response->response_code),
sys/arch/dreamcast/dev/maple/mmemcard.c
518
be32toh(r->func_code), sz);
sys/arch/dreamcast/dev/maple/mmemcard.c
558
be32toh(response->response_code),
sys/arch/dreamcast/dev/maple/mmemcard.c
559
be32toh(r->func_code), sz);
sys/arch/dreamcast/dev/maple/mmemcard.c
599
be32toh(response->response_code),
sys/arch/dreamcast/dev/maple/mmemcard.c
600
be32toh(r->func_code), sz);
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
1301
resp[0] = be32toh(sc->raw_scr[1]) >> 8; // LSW
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
1302
resp[1] = be32toh(sc->raw_scr[0]); // MSW
sys/arch/evbsh3/t_sh7706lan/scimci.c
487
res[0] = be32toh(p[3]);
sys/arch/evbsh3/t_sh7706lan/scimci.c
488
res[1] = be32toh(p[2]);
sys/arch/evbsh3/t_sh7706lan/scimci.c
489
res[2] = be32toh(p[1]);
sys/arch/evbsh3/t_sh7706lan/scimci.c
490
res[3] = be32toh(p[0]);
sys/arch/evbsh3/t_sh7706lan/ssumci.c
414
res[0] = be32toh(p[3]);
sys/arch/evbsh3/t_sh7706lan/ssumci.c
415
res[1] = be32toh(p[2]);
sys/arch/evbsh3/t_sh7706lan/ssumci.c
416
res[2] = be32toh(p[1]);
sys/arch/evbsh3/t_sh7706lan/ssumci.c
417
res[3] = be32toh(p[0]);
sys/arch/hp300/stand/mkboot/mkboot.c
183
lifv.vol_length = htobe32(be32toh(lifd[0].dir_addr) +
sys/arch/hp300/stand/mkboot/mkboot.c
184
be32toh(lifd[0].dir_length));
sys/arch/hp300/stand/mkboot/mkboot.c
198
lifv.vol_length = htobe32(be32toh(lifd[1].dir_addr) +
sys/arch/hp300/stand/mkboot/mkboot.c
199
be32toh(lifd[1].dir_length));
sys/arch/hp300/stand/mkboot/mkboot.c
215
lifv.vol_length = htobe32(be32toh(lifd[2].dir_addr) +
sys/arch/hp300/stand/mkboot/mkboot.c
216
be32toh(lifd[2].dir_length));
sys/arch/hppa/stand/mkboot/mkboot.c
105
(be32toh((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag))
sys/arch/hppa/stand/mkboot/mkboot.c
373
ck += be32toh(*p);
sys/arch/macppc/stand/installboot/installboot.c
107
partoff = BSIZE * be32toh(pme.pmPyPartStart);
sys/arch/macppc/stand/installboot/installboot.c
163
maxblk = be32toh(bbinfop->bbi_block_count);
sys/arch/mips/atheros/ar_console.c
101
return (uint8_t) be32toh(uart[com_data]);
sys/arch/mips/cavium/dev/octeon_cib.c
184
const int bit = be32toh(specifier[0]);
sys/arch/mips/cavium/dev/octeon_cib.c
185
const int type = (be32toh(specifier[1]) & 0x3) ? IST_EDGE : IST_LEVEL;
sys/arch/mips/cavium/dev/octeon_cib.c
223
const int bit = be32toh(specifier[0]);
sys/arch/mips/cavium/dev/octeon_gpio.c
236
pinno = be32toh(gpio[1]);
sys/arch/mips/cavium/dev/octeon_gpio.c
237
actlo = (be32toh(gpio[2]) & 1) != 0;
sys/arch/mips/cavium/dev/octeon_intc.c
123
const u_int reg = be32toh(specifier[0]);
sys/arch/mips/cavium/dev/octeon_intc.c
124
const u_int bit = be32toh(specifier[1]);
sys/arch/mips/cavium/dev/octeon_intc.c
151
const u_int reg = be32toh(specifier[0]);
sys/arch/mips/cavium/dev/octeon_intc.c
152
const u_int bit = be32toh(specifier[1]);
sys/arch/mips/mips/bus_space_alignstride_chipdep.c
120
#define CHIP_SWAP32(x) be32toh(x)
sys/arch/mips/rmi/rmixl_com.c
179
while ((be32toh(com0addr[com_lsr]) & LSR_TXRDY) == 0)
sys/arch/mips/rmi/rmixl_com.c
185
while ((be32toh(com0addr[com_lsr]) & LSR_TSRE) == 0)
sys/arch/mips/rmi/rmixlreg.h
49
#define RMIXL_IOREG_READ(o) be32toh(*RMIXL_IOREG_VADDR(o))
sys/arch/prep/pnpbus/pnpbus.c
265
l = be32toh(dev->AllocatedOffset);
sys/arch/prep/pnpbus/pnpbus.c
308
l = be32toh(dev->CompatibleOffset);
sys/arch/prep/pnpbus/pnpbus.c
349
l = be32toh(dev->AllocatedOffset);
sys/arch/prep/pnpbus/pnpbus.c
399
ndev = be32toh(res->ActualNumDevices);
sys/arch/prep/prep/machdep.c
172
busfreq = be32toh(vpd->ProcessorBusHz);
sys/arch/prep/prep/machdep.c
314
l = be32toh(dev->AllocatedOffset);
sys/arch/prep/prep/machdep.c
381
l = be32toh(dev->AllocatedOffset);
sys/arch/prep/prep/machdep.c
423
ndev = be32toh(res->ActualNumDevices);
sys/arch/prep/prep/platform.c
198
l = be32toh(dev->AllocatedOffset);
sys/arch/prep/prep/platform.c
305
l = be32toh(dev->AllocatedOffset);
sys/arch/prep/prep/residual.c
166
l = be32toh(devid);
sys/arch/prep/prep/residual.c
194
ndev = be32toh(res->ActualNumDevices);
sys/arch/prep/prep/residual.c
219
ndev = be32toh(res->ActualNumDevices);
sys/arch/prep/prep/residual.c
231
l = be32toh(id->BusId);
sys/arch/prep/prep/residual.c
321
if (be32toh(res->ResidualLength) == 0)
sys/arch/prep/prep/residual.c
324
printf("ResidualLength = %ld\n", be32toh(res->ResidualLength));
sys/arch/prep/prep/residual.c
337
l = be32toh(vpd->FirmwareSupplier);
sys/arch/prep/prep/residual.c
340
l = be32toh(vpd->FirmwareSupports);
sys/arch/prep/prep/residual.c
352
printf(" NvramSize = %ld\n", be32toh(vpd->NvramSize));
sys/arch/prep/prep/residual.c
353
printf(" NumSIMMSlots = %ld\n", be32toh(vpd->NumSIMMSlots));
sys/arch/prep/prep/residual.c
361
printf(" SmpIar = %ld\n", be32toh(vpd->SmpIar));
sys/arch/prep/prep/residual.c
362
printf(" RAMErrLogOffset = %ld\n", be32toh(vpd->RAMErrLogOffset));
sys/arch/prep/prep/residual.c
363
printf(" ProcessorHz = %ld\n", be32toh(vpd->ProcessorHz));
sys/arch/prep/prep/residual.c
364
printf(" ProcessorBusHz = %ld\n", be32toh(vpd->ProcessorBusHz));
sys/arch/prep/prep/residual.c
365
printf(" TimeBaseDivisor = %ld\n", be32toh(vpd->TimeBaseDivisor));
sys/arch/prep/prep/residual.c
366
printf(" WordWidth = %ld\n", be32toh(vpd->WordWidth));
sys/arch/prep/prep/residual.c
367
page_size = be32toh(vpd->PageSize);
sys/arch/prep/prep/residual.c
369
printf(" CoherenceBlockSize = %ld\n",be32toh(vpd->CoherenceBlockSize));
sys/arch/prep/prep/residual.c
370
printf(" GranuleSize = %ld\n", be32toh(vpd->GranuleSize));
sys/arch/prep/prep/residual.c
373
printf(" CacheSize = %ld\n", be32toh(vpd->CacheSize));
sys/arch/prep/prep/residual.c
374
l = be32toh(vpd->CacheAttrib);
sys/arch/prep/prep/residual.c
377
printf(" CacheAssoc = %ld\n", be32toh(vpd->CacheAssoc));
sys/arch/prep/prep/residual.c
378
printf(" CacheLineSize = %ld\n", be32toh(vpd->CacheLineSize));
sys/arch/prep/prep/residual.c
379
printf(" I-CacheSize = %ld\n", be32toh(vpd->I_CacheSize));
sys/arch/prep/prep/residual.c
380
printf(" I-CacheAssoc = %ld\n", be32toh(vpd->I_CacheAssoc));
sys/arch/prep/prep/residual.c
381
printf(" I-CacheLineSize = %ld\n", be32toh(vpd->I_CacheLineSize));
sys/arch/prep/prep/residual.c
382
printf(" D-CacheSize = %ld\n", be32toh(vpd->D_CacheSize));
sys/arch/prep/prep/residual.c
383
printf(" D-CacheAssoc = %ld\n", be32toh(vpd->D_CacheAssoc));
sys/arch/prep/prep/residual.c
384
printf(" D-CacheLineSize = %ld\n", be32toh(vpd->D_CacheLineSize));
sys/arch/prep/prep/residual.c
386
printf(" Number of TLB entries = %ld\n", be32toh(vpd->TLBSize));
sys/arch/prep/prep/residual.c
387
l = be32toh(vpd->TLBAttrib);
sys/arch/prep/prep/residual.c
390
printf(" TLBAssoc = %ld\n", be32toh(vpd->TLBAssoc));
sys/arch/prep/prep/residual.c
391
printf(" I-TLBSize = %ld\n", be32toh(vpd->I_TLBSize));
sys/arch/prep/prep/residual.c
392
printf(" I-TLBAssoc = %ld\n", be32toh(vpd->I_TLBAssoc));
sys/arch/prep/prep/residual.c
393
printf(" D-TLBSize = %ld\n", be32toh(vpd->D_TLBSize));
sys/arch/prep/prep/residual.c
394
printf(" D-TLBAssoc = %ld\n", be32toh(vpd->D_TLBAssoc));
sys/arch/prep/prep/residual.c
395
printf(" ExtendedVPD = 0x%lx\n", be32toh(vpd->ExtendedVPD));
sys/arch/prep/prep/residual.c
407
printf(" CpuType = %08lx\n", be32toh(ppc_cpu[i].CpuType));
sys/arch/prep/prep/residual.c
434
be32toh(res->TotalMemory) ,be32toh(res->TotalMemory));
sys/arch/prep/prep/residual.c
436
be32toh(res->GoodMemory), be32toh(res->GoodMemory));
sys/arch/prep/prep/residual.c
442
nmseg = be32toh(res->ActualNumMemSegs);
sys/arch/prep/prep/residual.c
449
l = be32toh(mem_map[i].Usage);
sys/arch/prep/prep/residual.c
460
be32toh(mem_map[i].BasePage));
sys/arch/prep/prep/residual.c
461
pc = be32toh(mem_map[i].PageCount);
sys/arch/prep/prep/residual.c
470
nmem = be32toh(res->ActualNumMemories);
sys/arch/prep/prep/residual.c
475
printf(" SIMMSize = %ld MB\n", be32toh(ppc_mem[i].SIMMSize));
sys/arch/prep/prep/residual.c
482
ndev = be32toh(res->ActualNumDevices);
sys/arch/prep/prep/residual.c
492
l = be32toh(id->BusId);
sys/arch/prep/prep/residual.c
504
printf(" SerialNum = 0x%08lx\n", be32toh(id->SerialNum));
sys/arch/prep/prep/residual.c
505
l = be32toh(id->Flags);
sys/arch/prep/prep/residual.c
523
l = be32toh(ppc_dev[i].AllocatedOffset);
sys/arch/prep/prep/residual.c
527
l = be32toh(ppc_dev[i].PossibleOffset);
sys/arch/prep/prep/residual.c
531
l = be32toh(ppc_dev[i].CompatibleOffset);
sys/arch/prep/stand/installboot/installboot.c
113
(void)lseek(fd, be32toh(eh.e_phoff) + sizeof(ph) * i, SEEK_SET);
sys/arch/prep/stand/installboot/installboot.c
119
if ((be32toh(ph.p_type) != PT_LOAD) ||
sys/arch/prep/stand/installboot/installboot.c
120
!(be32toh(ph.p_flags) & PF_X))
sys/arch/prep/stand/installboot/installboot.c
123
imgsz = st.st_size - be32toh(ph.p_offset);
sys/arch/prep/stand/installboot/installboot.c
124
lseek(fd, be32toh(ph.p_offset), SEEK_SET);
sys/arch/riscv/dev/plic_fdt.c
223
const int pphandle = be32toh(data[0]);
sys/arch/riscv/dev/plic_fdt.c
225
const int intr_source = be32toh(data[1]);
sys/arch/riscv/dev/plic_fdt.c
64
const u_int irq = be32toh(specifier[0]);
sys/arch/riscv/dev/plic_fdt.c
88
const int irq = be32toh(specifier[0]);
sys/arch/riscv/fdt/clint_fdt.c
210
const int pphandle = be32toh(data[0]);
sys/arch/riscv/fdt/clint_fdt.c
212
const int intr_source = be32toh(data[1]);
sys/arch/riscv/fdt/intc_fdt.c
212
const u_int source = be32toh(specifier[0]);
sys/arch/riscv/fdt/intc_fdt.c
236
const u_int source = be32toh(specifier[0]);
sys/arch/riscv/fdt/pcihost_fdt.c
155
sc->sc_bus_min = be32toh(data[0]);
sys/arch/riscv/fdt/pcihost_fdt.c
156
sc->sc_bus_max = be32toh(data[1]);
sys/arch/riscv/fdt/pcihost_fdt.c
489
const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
sys/arch/riscv/fdt/pcihost_fdt.c
525
const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4]));
sys/arch/riscv/starfive/jh7100_pinctrl.c
360
const u_int pin_no = be32toh(gpio[1]);
sys/arch/riscv/starfive/jh7100_pinctrl.c
361
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/riscv/starfive/jh7110_pcie.c
283
const u_int pin = be32toh(specifier[0]) - 1;
sys/arch/riscv/starfive/jh7110_pcie.c
537
__SHIFTIN(be32toh(ranges[i + 1]), __BITS(63, 32)) |
sys/arch/riscv/starfive/jh7110_pcie.c
538
__SHIFTIN(be32toh(ranges[i + 2]), __BITS(31, 0));
sys/arch/riscv/starfive/jh7110_pcie.c
540
__SHIFTIN(be32toh(ranges[i + 3]), __BITS(63, 32)) |
sys/arch/riscv/starfive/jh7110_pcie.c
541
__SHIFTIN(be32toh(ranges[i + 4]), __BITS(31, 0));
sys/arch/riscv/starfive/jh7110_pcie.c
542
size = be32toh(ranges[i + 6]);
sys/arch/riscv/starfive/jh7110_pinctrl.c
611
const u_int pin_no = be32toh(gpio[1]);
sys/arch/riscv/starfive/jh7110_pinctrl.c
612
const bool actlo = be32toh(gpio[2]) & 1;
sys/arch/sgimips/sgimips/disksubr.c
125
if (be32toh(slp->magic) != SGI_BOOT_BLOCK_MAGIC)
sys/arch/sgimips/stand/sgivol/sgivol.c
238
if (be32toh(volhdr->magic) != SGI_BOOT_BLOCK_MAGIC)
sys/arch/sgimips/stand/sgivol/sgivol.c
240
"Use -i first.\n", be32toh(volhdr->magic));
sys/arch/sgimips/stand/sgivol/sgivol.c
305
checksum += be32toh(l[i]);
sys/arch/sgimips/stand/sgivol/sgivol.c
317
be32toh(volhdr->voldir[i].block),
sys/arch/sgimips/stand/sgivol/sgivol.c
318
be32toh(volhdr->voldir[i].bytes),
sys/arch/sgimips/stand/sgivol/sgivol.c
319
(be32toh(volhdr->voldir[i].bytes) + 511) / 512);
sys/arch/sgimips/stand/sgivol/sgivol.c
322
if (be32toh(volhdr->partitions[i].blocks)) {
sys/arch/sgimips/stand/sgivol/sgivol.c
324
i, i + 'a', be32toh(volhdr->partitions[i].blocks),
sys/arch/sgimips/stand/sgivol/sgivol.c
325
be32toh(volhdr->partitions[i].first),
sys/arch/sgimips/stand/sgivol/sgivol.c
326
be32toh(volhdr->partitions[i].type),
sys/arch/sgimips/stand/sgivol/sgivol.c
327
be32toh(volhdr->partitions[i].type) > 13 ? "???" :
sys/arch/sgimips/stand/sgivol/sgivol.c
328
sgi_types[be32toh(volhdr->partitions[i].type)]);
sys/arch/sgimips/stand/sgivol/sgivol.c
405
lseek(fd, be32toh(volhdr->voldir[i].block) * 512, SEEK_SET);
sys/arch/sgimips/stand/sgivol/sgivol.c
409
i = be32toh(volhdr->voldir[i].bytes);
sys/arch/sgimips/stand/sgivol/sgivol.c
449
if (be32toh(volhdr->voldir[slot].block) > 0) {
sys/arch/sgimips/stand/sgivol/sgivol.c
622
if (first < (be32toh(volhdr->voldir[n].block) +
sys/arch/sgimips/stand/sgivol/sgivol.c
623
(be32toh(volhdr->voldir[n].bytes) + 511) / 512) &&
sys/arch/sgimips/stand/sgivol/sgivol.c
624
(first + blocks) > be32toh(volhdr->voldir[n].block)) {
sys/arch/sgimips/stand/sgivol/sgivol.c
625
first = be32toh(volhdr->voldir[n].block) +
sys/arch/sgimips/stand/sgivol/sgivol.c
626
(be32toh(volhdr->voldir[n].bytes) + 511) / 512;
sys/arch/sgimips/stand/sgivol/sgivol.c
647
if (first + blocks >= be32toh(volhdr->partitions[8].blocks))
sys/arch/sgimips/stand/sgivol/sgivol.c
661
checksum += be32toh(l[i]);
sys/arch/shark/ofw/chipsfb_ofbus.c
112
chipsfb_mem_paddr = be32toh(regs[10]);
sys/arch/shark/ofw/chipsfb_ofbus.c
190
width = be32toh(width);
sys/arch/shark/ofw/chipsfb_ofbus.c
195
height = be32toh(height);
sys/arch/shark/ofw/chipsfb_ofbus.c
199
depth = be32toh(depth);
sys/arch/shark/ofw/chipsfb_ofbus.c
204
linebytes = be32toh(linebytes);
sys/arch/shark/ofw/igsfb_ofbus.c
116
igsfb_mem_paddr = be32toh(regs[13]);
sys/arch/shark/ofw/vga_ofbus.c
117
vga_reg[i] = be32toh(vga_reg[i]);
sys/dev/ata/ata_raid_adaptec.c
106
info->magic_0 = be32toh(info->magic_0);
sys/dev/ata/ata_raid_adaptec.c
107
info->magic_1 = be32toh(info->magic_1);
sys/dev/ata/ata_raid_adaptec.c
108
info->magic_2 = be32toh(info->magic_2);
sys/dev/ata/ata_raid_adaptec.c
109
info->magic_3 = be32toh(info->magic_3);
sys/dev/ata/ata_raid_adaptec.c
110
info->magic_4 = be32toh(info->magic_4);
sys/dev/ata/ata_raid_adaptec.c
124
be32toh(info->configs[0].disk_number));
sys/dev/ata/ata_raid_adaptec.c
126
gen = be32toh(info->generation);
sys/dev/ata/ata_raid_adaptec.c
158
aai->aai_capacity = be32toh(info->configs[0].sectors);
sys/dev/ata/ata_raid_adaptec.c
186
adi->adi_compsize = be32toh(info->configs[drive+1].sectors);
sys/dev/dkwedge/dkwedge_apple.c
53
#define SWAP32(x) ap->x = be32toh(ap->x)
sys/dev/dkwedge/dkwedge_rdb.c
134
if (be32toh(rbp->id) == RDBLOCK_ID) {
sys/dev/dkwedge/dkwedge_rdb.c
148
newsecsize = be32toh(rbp->nbytes);
sys/dev/dkwedge/dkwedge_rdb.c
168
for (nextb = be32toh(rbp->partbhead); nextb != RDBNULL;
sys/dev/dkwedge/dkwedge_rdb.c
169
nextb = be32toh(pbp->next)) {
sys/dev/dkwedge/dkwedge_rdb.c
180
if (be32toh(pbp->id) != PARTBLOCK_ID) {
sys/dev/dkwedge/dkwedge_rdb.c
195
tabsize = be32toh(pbp->e.tabsize);
sys/dev/dkwedge/dkwedge_rdb.c
216
archtype = getarchtype(be32toh(pbp->e.dostype));
sys/dev/dkwedge/dkwedge_rdb.c
252
be32toh(pbp->e.secpertrk) * be32toh(pbp->e.numheads)
sys/dev/dkwedge/dkwedge_rdb.c
253
* ((be32toh(pbp->e.sizeblock) << 2) / secsize);
sys/dev/dkwedge/dkwedge_rdb.c
254
dkw.dkw_size = (uint64_t)(be32toh(pbp->e.highcyl)
sys/dev/dkwedge/dkwedge_rdb.c
255
- be32toh(pbp->e.lowcyl) + 1) * blk_per_cyl;
sys/dev/dkwedge/dkwedge_rdb.c
256
dkw.dkw_offset = (daddr_t)be32toh(pbp->e.lowcyl) * blk_per_cyl;
sys/dev/dkwedge/dkwedge_rdb.c
285
cnt = be32toh(blp[1]);
sys/dev/dkwedge/dkwedge_rdb.c
289
val += be32toh(*blp++);
sys/dev/dkwedge/dkwedge_tos.c
155
dkw.dkw_offset = be32toh(trs->parts[i].offset);
sys/dev/dkwedge/dkwedge_tos.c
156
dkw.dkw_size = be32toh(trs->parts[i].size);
sys/dev/fdt/cpufreq_dt.c
353
sc->sc_opp[i].freq_khz = be32toh(opp[0]);
sys/dev/fdt/cpufreq_dt.c
354
sc->sc_opp[i].voltage_uv = be32toh(opp[1]);
sys/dev/fdt/cpufreq_dt.c
452
sc->sc_opp[index].voltage_uv = be32toh(opp_uv[0]);
sys/dev/fdt/fdt_clock.c
148
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_clock.c
259
const u_int rate = be32toh(rates[index]);
sys/dev/fdt/fdt_clock.c
99
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_dai.c
101
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_dma.c
104
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_gpio.c
127
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_gpio.c
94
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_intr.c
412
const u_int iparent = fdtbus_get_phandle_from_native(be32toh(p[ip_off]));
sys/dev/fdt/fdt_iommu.c
129
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_iommu.c
173
const u_int rid_base = be32toh(*p++);
sys/dev/fdt/fdt_iommu.c
175
fdtbus_get_phandle_from_native(be32toh(*p++));
sys/dev/fdt/fdt_iommu.c
176
const u_int iommu_base = be32toh(*p++);
sys/dev/fdt/fdt_iommu.c
177
const u_int length = be32toh(*p++);
sys/dev/fdt/fdt_mbox.c
119
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_mmc_pwrseq.c
90
mps_phandle = fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_phy.c
108
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_pinctrl.c
99
xref = fdtbus_get_phandle_from_native(be32toh(pinctrl_data[0]));
sys/dev/fdt/fdt_powerdomain.c
108
fdtbus_get_phandle_from_native(be32toh(pd[0]));
sys/dev/fdt/fdt_pwm.c
101
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_reset.c
104
fdtbus_get_phandle_from_native(be32toh(p[0]));
sys/dev/fdt/fdt_subr.c
147
u_int phandle_ref = be32toh(*p);
sys/dev/fdt/gpioregulator.c
140
sc->sc_states[n].st_val = be32toh(pstates[n * 2 + 0]);
sys/dev/fdt/gpioregulator.c
141
sc->sc_states[n].st_mask = be32toh(pstates[n * 2 + 1]);
sys/dev/fdt/pinctrl_single.c
123
const int off = be32toh(pins[0]);
sys/dev/fdt/pinctrl_single.c
124
const int val = be32toh(pins[1]);
sys/dev/fdt/pinctrl_single.c
125
const int mux = len == 4 ? 0 : be32toh(pins[2]);
sys/dev/fdt/pl061gpio_fdt.c
128
const u_int pin = be32toh(gpio[1]);
sys/dev/fdt/pl061gpio_fdt.c
129
const bool actlo = be32toh(gpio[2]) & 1;
sys/dev/fdt/pwm_backlight.c
114
sc->sc_levels[n] = be32toh(levels[n]);
sys/dev/fdt/pwm_fan.c
99
sc->sc_levels[n] = be32toh(levels[n]);
sys/dev/i2c/axppmic.c
725
const uint8_t pin = be32toh(gpio[1]) & 0xff;
sys/dev/i2c/axppmic.c
726
const bool actlo = be32toh(gpio[2]) & 1;
sys/dev/i2c/cwfg.c
377
sc->sc_batinfo[n] = be32toh(batinfo[n]);
sys/dev/i2c/max77620.c
152
const uint8_t pin = be32toh(gpio[1]) & 0xff;
sys/dev/i2c/max77620.c
153
const bool actlo = (be32toh(gpio[2]) & __BIT(0)) != 0;
sys/dev/i2c/max77620.c
154
const bool pushpull = (be32toh(gpio[2]) & __BIT(1)) == 0;
sys/dev/i2c/max77620.c
155
const bool opendrain = (be32toh(gpio[2]) & __BIT(2)) != 0;
sys/dev/i2c/pca9685.c
233
const u_int index = be32toh(pwm[1]);
sys/dev/i2c/pca9685.c
238
const u_int period = be32toh(pwm[2]);
sys/dev/i2c/tcagpio.c
146
const uint8_t pin = be32toh(gpio[1]) & 0xff;
sys/dev/i2c/tcagpio.c
147
const bool actlo = (be32toh(gpio[2]) & __BIT(0)) != 0;
sys/dev/i2c/tcakp.c
254
const uint32_t e = be32toh(*keymap);
sys/dev/i2c/twl4030.c
254
const uint8_t pin = be32toh(gpio[1]) & 0xff;
sys/dev/i2c/twl4030.c
255
const bool actlo = (be32toh(gpio[2]) & __BIT(0)) != 0;
sys/dev/ic/aic79xx_osm.h
171
#define ahd_be32toh(x) be32toh(x)
sys/dev/ic/aic7xxx_osm.h
186
#define ahc_be32toh(x) be32toh(x)
sys/dev/ic/apple_smc.c
568
*p = be32toh(be);
sys/dev/ic/bwi.c
2012
size_t fw_size = (size_t)be32toh(hdr->fw_size);
sys/dev/ic/bwi.c
2085
CSR_WRITE_4(sc, BWI_MOBJ_DATA, be32toh(fw[i]));
sys/dev/ic/bwi.c
2106
CSR_WRITE_4(sc, BWI_MOBJ_DATA, be32toh(fw[i]));
sys/dev/ic/bwi.c
2216
n = be32toh(hdr->fw_iv_cnt);
sys/dev/ic/bwi.c
2258
val32 = be32toh(iv->iv_val.val32);
sys/dev/ic/dp83932var.h
382
return (be32toh(val));
sys/dev/ic/rtsx.c
1593
((be32toh(cmdbuf[0]) & 0x0000ffff) << 16) |
sys/dev/ic/rtsx.c
1594
((be32toh(cmdbuf[1]) & 0xffff0000) >> 16);
sys/dev/ic/sc16is7xx.c
568
sc->sc_frequency = be32toh(cf[0]);
sys/dev/ic/siopvar_common.h
214
(((sc)->features & SF_CHIP_BE) ? be32toh((x)) : le32toh((x)))
sys/dev/ic/tpm.c
1089
len = be32toh(hdr.length);
sys/dev/ic/tpm.c
209
be32toh(response.length) != sizeof(response) ||
sys/dev/ic/tpm.c
210
be32toh(response.code) != 0) {
sys/dev/ic/tpm.c
215
be32toh(response.length),
sys/dev/ic/tpm.c
216
be32toh(response.code));
sys/dev/ic/tpm.c
308
be32toh(response.length) != sizeof(response) ||
sys/dev/ic/tpm.c
309
be32toh(response.code) != TPM2_RC_SUCCESS) {
sys/dev/ic/tpm.c
313
be32toh(response.length),
sys/dev/ic/tpm.c
314
be32toh(response.code));
sys/dev/ic/tpm.c
553
pktlen = be32toh(response.hdr.length);
sys/dev/ic/tpm.c
554
code = be32toh(response.hdr.code);
sys/dev/ic/tpm.c
597
nbytes = be32toh(response.randomBytesSize);
sys/dev/ic/tpm.c
693
pktlen = be32toh(response.hdr.length);
sys/dev/ic/tpm.c
694
code = be32toh(response.hdr.code);
sys/dev/marvell/if_gfe.c
121
#define gt32toh(a) be32toh(a)
sys/dev/marvell/mvcesa.c
610
digest[i] = be32toh(digest[i]);
sys/dev/ofw/ofw_i2c_subr.c
85
addr = be32toh(reg32);
sys/dev/ofw/ofw_pci_subr.c
72
phys_hi = be32toh(opr.phys_hi);
sys/dev/ofw/ofw_subr.c
242
val32 = be32toh(val32);
sys/dev/ofw/ofw_subr.c
741
*val = be32toh(v);
sys/dev/pci/if_bge.c
3729
hwcfg = be32toh(hwcfg);
sys/dev/pci/if_bnx.c
1625
val = be32toh(val);
sys/dev/pci/if_bnx.c
2136
magic = be32toh(buf[0]);
sys/dev/pci/if_mcx.c
2724
return be32toh(val) & 0x00ffffff;
sys/dev/pci/if_mcx.c
3677
reg, out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
4311
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
4432
be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
4570
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
4621
sc->sc_lkey = be32toh(out->cmd_resd_lkey);
sys/dev/pci/if_mcx.c
4731
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
4790
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
4883
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
4951
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
4993
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5053
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5115
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5158
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5245
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5300
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5361
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5415
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5458
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5520
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5564
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5660
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5717
DEVNAME(sc), out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5772
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5835
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5898
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
5979
DEVNAME(sc), out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6053
DEVNAME(sc), out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6114
be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6180
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6255
DEVNAME(sc), out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6330
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6540
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6601
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6662
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6721
out->cmd_status, be32toh(out->cmd_syndrome));
sys/dev/pci/if_mcx.c
6957
m->m_pkthdr.ph_flowid = be32toh(cqe->cq_rx_hash);
sys/dev/pci/if_mcx.c
7208
cqn = be32toh(eqe->eq_event_data[6]);
sys/dev/pci/if_mcx.c
7750
mcia.rm_module = be32toh(pmlp.rp_lane0_mapping) &
sys/dev/pci/if_mcx.c
8024
proto_cap = be32toh(ptys.rp_eth_proto_cap);
sys/dev/pci/if_mcx.c
8057
proto_oper = be32toh(ptys.rp_eth_proto_oper);
sys/dev/pci/if_mcx.c
8106
media = be32toh(ptys.rp_eth_proto_cap);
sys/dev/pci/if_mcx.c
8171
uint32_t proto_oper = be32toh(ptys.rp_eth_proto_oper);
sys/dev/pci/if_mcx.c
8207
return (be32toh(word));
sys/dev/pci/ixgbe/ixgbe_osdep.h
145
#define IXGBE_BE32_TO_CPU be32toh
sys/dev/scsipi/cd.c
1129
cte->addr.lba = be32toh(cte->addr.lba);
sys/dev/scsipi/cd.c
1191
cte->addr.lba = be32toh(cte->addr.lba);
sys/dev/sdmmc/sdmmc_mem.c
1332
resp[0] = be32toh(sf->raw_scr[1]) >> 8; // LSW
sys/dev/sdmmc/sdmmc_mem.c
1333
resp[1] = be32toh(sf->raw_scr[0]); // MSW
sys/dev/sdmmc/sdmmc_mem.c
737
buf->_bits[i] = be32toh(tmp1);
sys/dev/sdmmc/sdmmc_mem.c
738
buf->_bits[bitswords - 1 - i] = be32toh(tmp0);
sys/dev/usb/if_athn_usb.c
1327
*eep++ = be32toh(vals[j]);
sys/dev/usb/if_athn_usb.c
1355
DPRINTFN(DBG_FN, sc, "addr %#x return %#x\n", addr, be32toh(val));
sys/dev/usb/if_athn_usb.c
1357
return be32toh(val);
sys/dev/usb/if_athn_usb.c
2070
DPRINTFN(DBG_TX, usc, "txrate=%d\n", be32toh(txrate->txrate));
sys/dev/usb/udl.c
841
h[i].bit_pattern = be32toh(h[i].bit_pattern);
sys/dev/vnd.c
1309
if (be32toh(ch->block_size) == 0 ||
sys/dev/vnd.c
1310
be32toh(ch->num_blocks) > UINT32_MAX - 1) {
sys/dev/vnd.c
1317
vnd->sc_comp_blksz = be32toh(ch->block_size);
sys/dev/vnd.c
1319
vnd->sc_comp_numoffs = be32toh(ch->num_blocks) + 1;
sys/fs/efs/efs_subr.c
106
if (be32toh(esb->sb_size) > EFS_SIZE_MAX) {
sys/fs/efs/efs_subr.c
111
if (be32toh(esb->sb_firstcg) <= EFS_BB_BITMAP) {
sys/fs/efs/efs_subr.c
140
cgfsize = be32toh(sbp->sb_cgfsize);
sys/fs/efs/efs_subr.c
141
firstcg = be32toh(sbp->sb_firstcg);
sys/fs/efs/efs_subr.c
211
ei->ei_size = be32toh(ei->ei_di.di_size);
sys/fs/efs/efs_subr.c
212
ei->ei_atime = be32toh(ei->ei_di.di_atime);
sys/fs/efs/efs_subr.c
213
ei->ei_mtime = be32toh(ei->ei_di.di_mtime);
sys/fs/efs/efs_subr.c
214
ei->ei_ctime = be32toh(ei->ei_di.di_ctime);
sys/fs/efs/efs_subr.c
215
ei->ei_gen = be32toh(ei->ei_di.di_gen);
sys/fs/efs/efs_subr.c
251
s += (ei->ei_size != be32toh(ei->ei_di.di_size));
sys/fs/efs/efs_subr.c
252
s += (ei->ei_atime != be32toh(ei->ei_di.di_atime));
sys/fs/efs/efs_subr.c
253
s += (ei->ei_mtime != be32toh(ei->ei_di.di_mtime));
sys/fs/efs/efs_subr.c
254
s += (ei->ei_ctime != be32toh(ei->ei_di.di_ctime));
sys/fs/efs/efs_subr.c
255
s += (ei->ei_gen != be32toh(ei->ei_di.di_gen));
sys/fs/efs/efs_subr.c
298
*inode = be32toh(de->de_inumber);
sys/fs/efs/efs_subr.c
380
ex->ex_bn = be32toh(dex->ex_words[0]) & 0x00ffffff;
sys/fs/efs/efs_subr.c
382
ex->ex_offset = be32toh(dex->ex_words[1]) & 0x00ffffff;
sys/fs/efs/efs_subr.c
93
if (be32toh(esb->sb_magic) != EFS_SB_MAGIC &&
sys/fs/efs/efs_subr.c
94
be32toh(esb->sb_magic) != EFS_SB_NEWMAGIC) {
sys/fs/efs/efs_vfsops.c
107
if (be32toh(emp->em_sb.sb_replsb) != 0) {
sys/fs/efs/efs_vfsops.c
111
err = efs_bread(emp, be32toh(emp->em_sb.sb_replsb), l, &rbp);
sys/fs/efs/efs_vfsops.c
139
err = efs_bread(emp, be32toh(emp->em_sb.sb_size) - 1, l, &bp);
sys/fs/efs/efs_vfsops.c
324
sbp->f_blocks = be32toh(emp->em_sb.sb_size);
sys/fs/efs/efs_vfsops.c
325
sbp->f_bfree = be32toh(emp->em_sb.sb_tfree);
sys/fs/efs/efs_vfsops.c
328
sbp->f_files = be32toh(emp->em_sb.sb_tinode);
sys/fs/efs/efs_vnops.c
215
dmaj = EFS_DINODE_NDEV_MAJ(be32toh(eip->ei_di.di_ndev));
sys/fs/efs/efs_vnops.c
216
dmin = EFS_DINODE_NDEV_MIN(be32toh(eip->ei_di.di_ndev));
sys/fs/efs/efs_vnops.c
377
dp->d_fileno = be32toh(de->de_inumber);
sys/fs/hfs/hfs_subr.c
389
return be32toh(result);
sys/opencrypto/gmac.c
142
ctx->ghash.H[i] = be32toh(ctx->ghash.H[i]);
sys/sys/exec_aout.h
100
((be32toh((uint32_t)((ex).a_midmag))>>16)&0x03ff) : MID_ZERO)
sys/sys/exec_aout.h
103
((be32toh((uint32_t)((ex).a_midmag))>>26)&0x3f) : 0)
sys/sys/exec_aout.h
94
(be32toh((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag))
sys/sys/exec_aout.h
97
(be32toh((uint32_t)((ex).a_midmag))&0xffff) : (((ex).a_midmag) | 0x10000))
sys/ufs/ffs/ffs_appleufs.c
89
if (o->ul_magic != be32toh(APPLEUFS_LABEL_MAGIC))
sys/ufs/ffs/ffs_appleufs.c
95
n->ul_magic = be32toh(o->ul_magic);
sys/ufs/ffs/ffs_appleufs.c
96
n->ul_version = be32toh(o->ul_version);
sys/ufs/ffs/ffs_appleufs.c
97
n->ul_time = be32toh(o->ul_time);
tools/arm-elf2aout/sys/exec_aout.h
101
((be32toh((uint32_t)((ex).a_midmag))>>26)&0x3f) : 0)
tools/arm-elf2aout/sys/exec_aout.h
92
(be32toh((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag))
tools/arm-elf2aout/sys/exec_aout.h
95
(be32toh((uint32_t)((ex).a_midmag))&0xffff) : (((ex).a_midmag) | 0x10000))
tools/arm-elf2aout/sys/exec_aout.h
98
((be32toh((uint32_t)((ex).a_midmag))>>16)&0x03ff) : MID_ZERO)
tools/compat/compat_defs.h
1168
#if !HAVE_DECL_BE32TOH && !defined(be32toh)
tools/m68k-elf2aout/sys/exec_aout.h
101
((be32toh((uint32_t)((ex).a_midmag))>>26)&0x3f) : 0)
tools/m68k-elf2aout/sys/exec_aout.h
92
(be32toh((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag))
tools/m68k-elf2aout/sys/exec_aout.h
95
(be32toh((uint32_t)((ex).a_midmag))&0xffff) : (((ex).a_midmag) | 0x10000))
tools/m68k-elf2aout/sys/exec_aout.h
98
((be32toh((uint32_t)((ex).a_midmag))>>16)&0x03ff) : MID_ZERO)
usr.bin/cdplay/cdplay.c
1260
#define SWAPLBA(x) (msf?be32toh(x):(x))
usr.bin/mkubootimage/mkubootimage.c
279
time_t tm = be32toh(hdr->ih_time);
usr.bin/mkubootimage/mkubootimage.c
281
printf(" magic: 0x%08x\n", be32toh(hdr->ih_magic));
usr.bin/mkubootimage/mkubootimage.c
283
printf(" size: %u\n", be32toh(hdr->ih_size));
usr.bin/mkubootimage/mkubootimage.c
284
printf(" load addr: 0x%08x\n", be32toh(hdr->ih_load));
usr.bin/mkubootimage/mkubootimage.c
285
printf(" entry point: 0x%08x\n", be32toh(hdr->ih_ep));
usr.bin/mkubootimage/mkubootimage.c
286
printf(" data crc: 0x%08x\n", be32toh(hdr->ih_dcrc));
usr.bin/vndcompress/vndcompress.c
597
if (be32toh(header.cl2h_blocksize) != S->blocksize) {
usr.bin/vndcompress/vndcompress.c
600
be32toh(header.cl2h_blocksize), S->blocksize);
usr.bin/vndcompress/vndcompress.c
603
if (be32toh(header.cl2h_n_blocks) != S->n_blocks) {
usr.bin/vndcompress/vndcompress.c
606
be32toh(header.cl2h_n_blocks), S->n_blocks);
usr.bin/vndcompress/vnduncompress.c
87
const uint32_t blocksize = be32toh(header.cl2h_blocksize);
usr.bin/vndcompress/vnduncompress.c
88
const uint32_t n_blocks = be32toh(header.cl2h_n_blocks);
usr.sbin/installboot/arch/amiga.c
171
sum += be32toh(block[i]);
usr.sbin/installboot/arch/hp300.c
196
secsize = be32toh(label->d_secsize);
usr.sbin/installboot/arch/hp300.c
214
boot_size = be32toh(boot->p_size) * (uint64_t)secsize;
usr.sbin/installboot/arch/hp300.c
215
boot_offset = be32toh(boot->p_offset) * (uint64_t)secsize;
usr.sbin/installboot/arch/hp300.c
243
uint32_t addr = be32toh(lifdir[i].dir_addr);
usr.sbin/installboot/arch/hp300.c
245
uint32_t end = addr + be32toh(lifdir[i].dir_length);
usr.sbin/installboot/arch/hppa.c
169
secsize = be32toh(label.l.d_secsize);
usr.sbin/installboot/arch/hppa.c
182
} else if (be32toh(label.l.d_partitions[0].p_offset) +
usr.sbin/installboot/arch/hppa.c
183
be32toh(label.l.d_partitions[0].p_size) >
usr.sbin/installboot/arch/next68k.c
120
if (be32toh(next68klabel->cd_version) == NEXT68K_LABEL_CD_V3) {
usr.sbin/installboot/arch/next68k.c
132
cd_secsize = be32toh(next68klabel->cd_secsize);
usr.sbin/installboot/arch/next68k.c
168
b0 = be32toh(next68klabel->cd_boot_blkno[0]);
usr.sbin/installboot/arch/next68k.c
169
b1 = be32toh(next68klabel->cd_boot_blkno[1]);
usr.sbin/installboot/bbinfo.c
207
? (uint32_t)le32toh((x)) : (uint32_t)be32toh((x)))
usr.sbin/puffs/mount_psshfs/psbuf.c
78
return be32toh(len);
usr.sbin/puffs/mount_psshfs/psbuf.c
87
return be32toh(req);