HomeSort by: relevance | last modified time | path
    Searched refs:be32toh (Results 1 - 25 of 177) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/sys/arch/amiga/stand/bootblock/elf2bb/
elf2bb.c 150 be32toh(eh->e_shoff)));
160 sh = (Elf32_Shdr *)(image + be32toh(eh->e_shoff));
162 be32toh(sh[be16toh(eh->e_shstrndx)].sh_offset));
171 be32toh(sh[i].sh_name), shstrtab + be32toh(sh[i].sh_name),
172 be32toh(sh[i].sh_type), be32toh(sh[i].sh_flags),
173 be32toh(sh[i].sh_addr), be32toh(sh[i].sh_offset),
174 be32toh(sh[i].sh_size), be32toh(sh[i].sh_addralign)))
    [all...]
chksum.c 52 sum += be32toh(block[i]);
  /src/lib/libc/citrus/
citrus_db.c 75 if (_memstream_seek(&ms, be32toh(dhx->dhx_entry_offset), SEEK_SET))
78 if (be32toh(dhx->dhx_num_entries)*_CITRUS_DB_ENTRY_SIZE >
114 num_entries = be32toh(dhx->dhx_num_entries);
127 be32toh(dhx->dhx_entry_offset) +
142 offset = be32toh(dex->dex_next_offset);
152 if (be32toh(dex->dex_hash_value) != hashval)
156 if (be32toh(dex->dex_key_size) == _region_size(key)) {
158 if (_memstream_seek(&ms, be32toh(dex->dex_key_offset),
170 &ms, be32toh(dex->dex_data_offset),
175 be32toh(dex->dex_data_size)) == NULL
    [all...]
  /src/sys/dev/dkwedge/
dkwedge_rdb.c 134 if (be32toh(rbp->id) == RDBLOCK_ID) {
148 newsecsize = be32toh(rbp->nbytes);
168 for (nextb = be32toh(rbp->partbhead); nextb != RDBNULL;
169 nextb = be32toh(pbp->next)) {
180 if (be32toh(pbp->id) != PARTBLOCK_ID) {
195 tabsize = be32toh(pbp->e.tabsize);
216 archtype = getarchtype(be32toh(pbp->e.dostype));
252 be32toh(pbp->e.secpertrk) * be32toh(pbp->e.numheads)
253 * ((be32toh(pbp->e.sizeblock) << 2) / secsize)
    [all...]
  /src/sys/arch/arm/nxp/
imx6_gpc.c 127 const u_int type = be32toh(specifier[0]);
128 const u_int intr = be32toh(specifier[1]);
130 const u_int trig = be32toh(specifier[2]) & 0xf;
156 const u_int type = be32toh(specifier[0]);
157 const u_int intr = be32toh(specifier[1]);
imx6_iomux.c 69 u_int mux_reg = be32toh(pins[0]);
70 u_int conf_reg = be32toh(pins[1]);
71 u_int input_reg = be32toh(pins[2]);
72 u_int mux_mode = be32toh(pins[3]);
73 u_int input_val = be32toh(pins[4]);
74 u_int config = be32toh(pins[5]);
imx6_pwm.c 60 const u_int index = be32toh(pwm[1]);
63 const u_int period = be32toh(pwm[2]);
67 const u_int polarity = be32toh(pwm[3]);
  /src/sys/arch/prep/prep/
residual.c 166 l = be32toh(devid);
194 ndev = be32toh(res->ActualNumDevices);
219 ndev = be32toh(res->ActualNumDevices);
231 l = be32toh(id->BusId);
321 if (be32toh(res->ResidualLength) == 0)
324 printf("ResidualLength = %ld\n", be32toh(res->ResidualLength));
337 l = be32toh(vpd->FirmwareSupplier);
340 l = be32toh(vpd->FirmwareSupports);
352 printf(" NvramSize = %ld\n", be32toh(vpd->NvramSize));
353 printf(" NumSIMMSlots = %ld\n", be32toh(vpd->NumSIMMSlots))
    [all...]
  /src/sys/arch/mips/cavium/dev/
octeon_intc.c 123 const u_int reg = be32toh(specifier[0]);
124 const u_int bit = be32toh(specifier[1]);
151 const u_int reg = be32toh(specifier[0]);
152 const u_int bit = be32toh(specifier[1]);
  /src/sys/external/bsd/common/include/asm/
byteorder.h 56 #define be32_to_cpu be32toh
  /src/sys/sys/
exec_aout.h 92 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag))
95 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : (((ex).a_midmag) | 0x10000))
98 ((be32toh((uint32_t)((ex).a_midmag))>>16)&0x03ff) : MID_ZERO)
101 ((be32toh((uint32_t)((ex).a_midmag))>>26)&0x3f) : 0)
  /src/sys/ufs/ffs/
ffs_appleufs.c 88 if (o->ul_magic != be32toh(APPLEUFS_LABEL_MAGIC))
94 n->ul_magic = be32toh(o->ul_magic);
95 n->ul_version = be32toh(o->ul_version);
96 n->ul_time = be32toh(o->ul_time);
  /src/sys/dev/ata/
ata_raid_adaptec.c 106 info->magic_0 = be32toh(info->magic_0);
107 info->magic_1 = be32toh(info->magic_1);
108 info->magic_2 = be32toh(info->magic_2);
109 info->magic_3 = be32toh(info->magic_3);
110 info->magic_4 = be32toh(info->magic_4);
124 be32toh(info->configs[0].disk_number));
126 gen = be32toh(info->generation);
158 aai->aai_capacity = be32toh(info->configs[0].sectors);
186 adi->adi_compsize = be32toh(info->configs[drive+1].sectors);
  /src/lib/libc/citrus/modules/
citrus_mapper_std.c 123 conv = be32toh(_region_peek32(&rc->rc_table, idx*4));
170 rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid);
171 rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits);
172 m = be32toh(rcx->rcx_src_col_bits);
184 m = be32toh(rcx->rcx_src_row_begin);
185 n = be32toh(rcx->rcx_src_row_end);
195 m = be32toh(rcx->rcx_src_col_begin);
196 n = be32toh(rcx->rcx_src_col_end);
215 rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid);
216 rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits)
    [all...]
  /src/sys/arch/sgimips/stand/sgivol/
sgivol.c 238 if (be32toh(volhdr->magic) != SGI_BOOT_BLOCK_MAGIC)
240 "Use -i first.\n", be32toh(volhdr->magic));
305 checksum += be32toh(l[i]);
317 be32toh(volhdr->voldir[i].block),
318 be32toh(volhdr->voldir[i].bytes),
319 (be32toh(volhdr->voldir[i].bytes) + 511) / 512);
322 if (be32toh(volhdr->partitions[i].blocks)) {
324 i, i + 'a', be32toh(volhdr->partitions[i].blocks),
325 be32toh(volhdr->partitions[i].first),
326 be32toh(volhdr->partitions[i].type)
    [all...]
  /src/sys/arch/arm/ti/
ti_cpufreq.c 81 if ((rev & be32toh(supported_hw[0])) == 0)
84 if ((efuse & be32toh(supported_hw[1])) == 0)
  /src/sys/arch/arm/nvidia/
tegra_lic.c 142 const u_int type = be32toh(specifier[0]);
143 const u_int intr = be32toh(specifier[1]);
145 const u_int trig = be32toh(specifier[2]) & 0xf;
167 const u_int type = be32toh(specifier[0]);
168 const u_int intr = be32toh(specifier[1]);
  /src/sys/dev/fdt/
fdt_iommu.c 129 fdtbus_get_phandle_from_native(be32toh(p[0]));
173 const u_int rid_base = be32toh(*p++);
175 fdtbus_get_phandle_from_native(be32toh(*p++));
176 const u_int iommu_base = be32toh(*p++);
177 const u_int length = be32toh(*p++);
  /src/sys/arch/arm/sunxi/
sunxi_nmi.c 188 irq = be32toh(specifier[0]);
190 pol = be32toh(specifier[1]);
193 if (be32toh(specifier[0]) != 0) {
196 be32toh(specifier[0]));
201 irq = be32toh(specifier[1]);
203 pol = be32toh(specifier[2]);
335 const u_int irq = be32toh(specifier[1]);
395 be32toh(interrupts[0]) != 0 /* GIC_SPI */ ||
396 be32toh(interrupts[2]) != 4 /* IRQ_TYPE_LEVEL_HIGH */) {
400 sc->sc_intr_nmi = be32toh(interrupts[1])
    [all...]
  /src/sys/fs/efs/
efs_subr.c 93 if (be32toh(esb->sb_magic) != EFS_SB_MAGIC &&
94 be32toh(esb->sb_magic) != EFS_SB_NEWMAGIC) {
106 if (be32toh(esb->sb_size) > EFS_SIZE_MAX) {
111 if (be32toh(esb->sb_firstcg) <= EFS_BB_BITMAP) {
140 cgfsize = be32toh(sbp->sb_cgfsize);
141 firstcg = be32toh(sbp->sb_firstcg);
211 ei->ei_size = be32toh(ei->ei_di.di_size);
212 ei->ei_atime = be32toh(ei->ei_di.di_atime);
213 ei->ei_mtime = be32toh(ei->ei_di.di_mtime);
214 ei->ei_ctime = be32toh(ei->ei_di.di_ctime)
    [all...]
  /src/tools/arm-elf2aout/sys/
exec_aout.h 92 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag))
95 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : (((ex).a_midmag) | 0x10000))
98 ((be32toh((uint32_t)((ex).a_midmag))>>16)&0x03ff) : MID_ZERO)
101 ((be32toh((uint32_t)((ex).a_midmag))>>26)&0x3f) : 0)
  /src/tools/m68k-elf2aout/sys/
exec_aout.h 92 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag))
95 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : (((ex).a_midmag) | 0x10000))
98 ((be32toh((uint32_t)((ex).a_midmag))>>16)&0x03ff) : MID_ZERO)
101 ((be32toh((uint32_t)((ex).a_midmag))>>26)&0x3f) : 0)
  /src/lib/libc/locale/
rune.c 253 runetype_len = be32toh(frl->frl_runetype_ext.frr_nranges);
254 maplower_len = be32toh(frl->frl_maplower_ext.frr_nranges);
255 mapupper_len = be32toh(frl->frl_mapupper_ext.frr_nranges);
261 variable_len = be32toh((uint32_t)frl->frl_variable_len);
295 rl->rl_runetype[i] = be32toh(frl->frl_runetype[i]);
296 rl->rl_maplower[i] = be32toh((uint32_t)frl->frl_maplower[i]);
297 rl->rl_mapupper[i] = be32toh((uint32_t)frl->frl_mapupper[i]);
310 re->re_min = be32toh((uint32_t)fre->fre_min); \
311 re->re_max = be32toh((uint32_t)fre->fre_max); \
312 re->re_map = be32toh((uint32_t)fre->fre_map);
    [all...]
  /src/sys/arch/arm/amlogic/
meson_dwmac.c 90 delay(be32toh(reset_delay_us[0]));
92 delay(be32toh(reset_delay_us[1]));
94 delay(be32toh(reset_delay_us[2]));
122 reset_active_low = be32toh(reset_gpios[2]);
127 delay(be32toh(reset_assert_us[0]));
129 delay(be32toh(reset_deassert_us[0]));
  /src/sys/arch/hp300/stand/mkboot/
mkboot.c 183 lifv.vol_length = htobe32(be32toh(lifd[0].dir_addr) +
184 be32toh(lifd[0].dir_length));
198 lifv.vol_length = htobe32(be32toh(lifd[1].dir_addr) +
199 be32toh(lifd[1].dir_length));
215 lifv.vol_length = htobe32(be32toh(lifd[2].dir_addr) +
216 be32toh(lifd[2].dir_length));

Completed in 21 milliseconds

1 2 3 4 5 6 7 8