Home
last modified time | relevance | path

Searched refs:be16_to_cpu (Results 1 – 25 of 41) sorted by relevance

12

/arch/m68k/mvme16x/
Dconfig.c62 uint16_t tag = be16_to_cpu(bi->tag); in mvme16x_parse_bootinfo()
88 sprintf(model, "Motorola MVME%x%s", be16_to_cpu(p->brdno), suf); in mvme16x_get_model()
94 uint16_t brdno = be16_to_cpu(mvme_bdid.brdno); in mvme16x_get_hardware_list()
272 uint16_t brdno = be16_to_cpu(p->brdno); in config_mvme16x()
328 uint16_t brdno = be16_to_cpu(mvme_bdid.brdno); in mvme16x_abort_int()
366 uint16_t brdno = be16_to_cpu(mvme_bdid.brdno); in mvme16x_sched_init()
/arch/powerpc/boot/
Dof.h30 #define be16_to_cpu(x) swab16(x) macro
37 #define be16_to_cpu(x) (x) macro
Dlibfdt_env.h21 #define fdt16_to_cpu(x) be16_to_cpu(x)
/arch/m68k/kernel/
Dbootinfo_proc.c38 while (be16_to_cpu(bi->tag) != BI_LAST) { in save_bootinfo()
39 uint16_t n = be16_to_cpu(bi->size); in save_bootinfo()
Dsetup_mm.c151 while ((tag = be16_to_cpu(record->tag)) != BI_LAST) { in m68k_parse_bootinfo()
154 uint16_t size = be16_to_cpu(record->size); in m68k_parse_bootinfo()
/arch/powerpc/platforms/powernv/
Dopal-power.c45 for (i = 0; i < be16_to_cpu(epow_classes); i++) { in detect_epow()
46 epow = be16_to_cpu(opal_epow_status[i]); in detect_epow()
Deeh-powernv.c583 if (be16_to_cpu(pcierr) != OPAL_EEH_PHB_ERROR) { in pnv_eeh_get_phb_state()
1171 switch (be16_to_cpu(data->type)) { in pnv_eeh_get_and_dump_hub_diag()
1326 if (be16_to_cpu(err_type) == OPAL_EEH_NO_ERROR || in pnv_eeh_next_error()
1327 be16_to_cpu(severity) == OPAL_EEH_SEV_NO_ERROR) { in pnv_eeh_next_error()
1339 __func__, be16_to_cpu(err_type), in pnv_eeh_next_error()
1340 be16_to_cpu(severity), be64_to_cpu(frozen_pe_no), in pnv_eeh_next_error()
1342 switch (be16_to_cpu(err_type)) { in pnv_eeh_next_error()
1344 if (be16_to_cpu(severity) == OPAL_EEH_SEV_IOC_DEAD) { in pnv_eeh_next_error()
1347 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) { in pnv_eeh_next_error()
1356 if (be16_to_cpu(severity) == OPAL_EEH_SEV_PHB_DEAD) { in pnv_eeh_next_error()
[all …]
Dopal-prd.c200 size = be16_to_cpu(item->msg.size); in opal_prd_read()
242 size = be16_to_cpu(hdr.size); in opal_prd_write()
366 msg_size = be16_to_cpu(hdr->size); in opal_prd_msg_notifier()
/arch/powerpc/perf/
Dhv-24x7.c165 *len = be16_to_cpu(ev->event_name_len) - 2; in event_name()
171 unsigned nl = be16_to_cpu(ev->event_name_len); in event_desc()
174 *len = be16_to_cpu(*desc_len) - 2; in event_desc()
180 unsigned nl = be16_to_cpu(ev->event_name_len); in event_long_desc()
182 unsigned desc_len = be16_to_cpu(*desc_len_); in event_long_desc()
185 *len = be16_to_cpu(*long_desc_len) - 2; in event_long_desc()
210 unsigned nl = be16_to_cpu(ev->event_name_len); in event_end()
226 dl = be16_to_cpu(*dl_); in event_end()
241 ldl = be16_to_cpu(*ldl_); in event_end()
303 be16_to_cpu(event->event_counter_offs) + in event_fmt()
[all …]
/arch/arm/boot/compressed/
Dlibfdt_env.h16 #define fdt16_to_cpu(x) be16_to_cpu(x)
/arch/powerpc/sysdev/xics/
Dics-opal.c130 server = be16_to_cpu(oserver); in ics_opal_set_affinity()
224 return ics_opal_unmangle_server(be16_to_cpu(server)); in ics_opal_get_server()
/arch/powerpc/include/asm/
Drtas.h292 return be16_to_cpu(sect->id); in pseries_errorlog_id()
298 return be16_to_cpu(sect->length); in pseries_errorlog_length()
/arch/parisc/lib/
Dchecksum.c50 result = be16_to_cpu(*buff); in do_csum()
/arch/m68k/mvme147/
Dconfig.c53 uint16_t tag = be16_to_cpu(bi->tag); in mvme147_parse_bootinfo()
/arch/sh/include/asm/
Dunaligned-sh4a.h80 return be16_to_cpu(sh4a_get_unaligned_cpu16(p)); in get_unaligned_be16()
/arch/m68k/amiga/
Dconfig.c150 switch (be16_to_cpu(record->tag)) { in amiga_parse_bootinfo()
181 dev->slotaddr = be16_to_cpu(cd->cd_SlotAddr); in amiga_parse_bootinfo()
182 dev->slotsize = be16_to_cpu(cd->cd_SlotSize); in amiga_parse_bootinfo()
Dplatform.c72 if (be16_to_cpu(rom->er_Manufacturer) == ZORRO_MANUF(id) && in z_dev_present()
/arch/sh/kernel/
Diomap.c28 return be16_to_cpu(__raw_readw(addr)); in ioread16be()
/arch/mips/lib/
Diomap.c44 return be16_to_cpu(__raw_readw(addr)); in ioread16be()
/arch/powerpc/kernel/
Dnvram_64.c532 if (be16_to_cpu(oops_hdr->version) < OOPS_HDR_VERSION) { in nvram_pstore_read()
535 length = be16_to_cpu(oops_hdr->version); in nvram_pstore_read()
540 length = be16_to_cpu(oops_hdr->report_length); in nvram_pstore_read()
1190 phead.length = be16_to_cpu(phead.length); in nvram_scan_partitions()
/arch/tile/include/asm/
Dio.h487 #define ioread16be(addr) be16_to_cpu(ioread16(addr))
489 #define iowrite16be(v, addr) iowrite16(be16_to_cpu(v), (addr))
/arch/arm/include/asm/
Dkvm_emulate.h217 return be16_to_cpu(data & 0xffff); in vcpu_data_guest_to_host()
/arch/m32r/include/asm/
Dio.h186 #define ioread16be(addr) be16_to_cpu(readw(addr))
/arch/m68k/apollo/
Dconfig.c54 switch (be16_to_cpu(record->tag)) { in apollo_parse_bootinfo()
/arch/arm64/include/asm/
Dkvm_emulate.h255 return be16_to_cpu(data & 0xffff); in vcpu_data_guest_to_host()

12