Searched refs:be16_to_cpu (Results 1 – 25 of 41) sorted by relevance
12
62 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()
30 #define be16_to_cpu(x) swab16(x) macro37 #define be16_to_cpu(x) (x) macro
21 #define fdt16_to_cpu(x) be16_to_cpu(x)
38 while (be16_to_cpu(bi->tag) != BI_LAST) { in save_bootinfo()39 uint16_t n = be16_to_cpu(bi->size); in save_bootinfo()
151 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()
45 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()
583 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 …]
200 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()
165 *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 …]
16 #define fdt16_to_cpu(x) be16_to_cpu(x)
130 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()
292 return be16_to_cpu(sect->id); in pseries_errorlog_id()298 return be16_to_cpu(sect->length); in pseries_errorlog_length()
50 result = be16_to_cpu(*buff); in do_csum()
53 uint16_t tag = be16_to_cpu(bi->tag); in mvme147_parse_bootinfo()
80 return be16_to_cpu(sh4a_get_unaligned_cpu16(p)); in get_unaligned_be16()
150 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()
72 if (be16_to_cpu(rom->er_Manufacturer) == ZORRO_MANUF(id) && in z_dev_present()
28 return be16_to_cpu(__raw_readw(addr)); in ioread16be()
44 return be16_to_cpu(__raw_readw(addr)); in ioread16be()
532 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()
487 #define ioread16be(addr) be16_to_cpu(ioread16(addr))489 #define iowrite16be(v, addr) iowrite16(be16_to_cpu(v), (addr))
217 return be16_to_cpu(data & 0xffff); in vcpu_data_guest_to_host()
186 #define ioread16be(addr) be16_to_cpu(readw(addr))
54 switch (be16_to_cpu(record->tag)) { in apollo_parse_bootinfo()
255 return be16_to_cpu(data & 0xffff); in vcpu_data_guest_to_host()