/arch/powerpc/platforms/powernv/ |
D | pci.c | 199 hose->global_number, be32_to_cpu(common->version)); in pnv_pci_dump_p7ioc_diag_data() 203 be32_to_cpu(data->brdgCtl)); in pnv_pci_dump_p7ioc_diag_data() 207 be32_to_cpu(data->portStatusReg), in pnv_pci_dump_p7ioc_diag_data() 208 be32_to_cpu(data->rootCmplxStatus), in pnv_pci_dump_p7ioc_diag_data() 209 be32_to_cpu(data->busAgentStatus)); in pnv_pci_dump_p7ioc_diag_data() 214 be32_to_cpu(data->deviceStatus), in pnv_pci_dump_p7ioc_diag_data() 215 be32_to_cpu(data->slotStatus), in pnv_pci_dump_p7ioc_diag_data() 216 be32_to_cpu(data->linkStatus), in pnv_pci_dump_p7ioc_diag_data() 217 be32_to_cpu(data->devCmdStatus), in pnv_pci_dump_p7ioc_diag_data() 218 be32_to_cpu(data->devSecStatus)); in pnv_pci_dump_p7ioc_diag_data() [all …]
|
D | opal-msglog.c | 44 out_pos = be32_to_cpu(READ_ONCE(mc->out_pos)); in memcons_copy() 58 avail = be32_to_cpu(mc->obuf_size) - out_pos; in memcons_copy() 76 if (out_pos > be32_to_cpu(mc->obuf_size)) { in memcons_copy() 138 return be32_to_cpu(mc->ibuf_size) + be32_to_cpu(mc->obuf_size); in memcons_get_size()
|
D | opal-hmi.c | 80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason() 82 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_core_checkstop_reason() 131 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_nx_checkstop_reason() 133 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_nx_checkstop_reason() 151 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_npu_checkstop_reason() 172 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id), in print_npu_checkstop_reason() 309 type = be32_to_cpu(msg.msg_type); in hmi_event_handler()
|
D | opal-sensor.c | 39 *sensor_data = be32_to_cpu(data); in opal_get_sensor_data() 44 *sensor_data = be32_to_cpu(data); in opal_get_sensor_data()
|
D | opal-fadump.h | 140 be32_to_cpu(reg_entry->reg_type), in opal_fadump_read_regs() 141 be32_to_cpu(reg_entry->reg_num), in opal_fadump_read_regs()
|
D | opal-core.c | 241 be32_to_cpu(thdr->offset)); in opalcore_append_cpu_notes() 242 reg_esize = be32_to_cpu(thdr->esize); in opalcore_append_cpu_notes() 243 regs_cnt = be32_to_cpu(thdr->ecnt); in opalcore_append_cpu_notes() 260 thread_pir = be32_to_cpu(thdr->pir); in opalcore_append_cpu_notes() 510 idx = be32_to_cpu(opalc_metadata->region_cnt); in opalcore_config_init() 523 oc_conf->crashing_cpu = be32_to_cpu(opalc_metadata->crashing_pir); in opalcore_config_init() 531 cpu_data_version = be32_to_cpu(opalc_cpu_metadata->cpu_data_version); in opalcore_config_init() 548 be32_to_cpu(opalc_cpu_metadata->cpu_data_size); in opalcore_config_init()
|
D | opal-fadump.c | 378 be32_to_cpu(opal_cpu_metadata->cpu_data_version); in is_opal_fadump_cpu_data_valid() 380 be32_to_cpu(opal_cpu_metadata->cpu_data_size); in is_opal_fadump_cpu_data_valid() 450 be32_to_cpu(thdr->offset)); in opal_fadump_build_cpu_notes() 451 reg_esize = be32_to_cpu(thdr->esize); in opal_fadump_build_cpu_notes() 452 regs_cnt = be32_to_cpu(thdr->ecnt); in opal_fadump_build_cpu_notes() 462 thread_pir = be32_to_cpu(thdr->pir); in opal_fadump_build_cpu_notes()
|
D | opal-psr.c | 54 ret = sprintf(buf, "%u\n", be32_to_cpu(psr)); in psr_show() 60 ret = sprintf(buf, "%u\n", be32_to_cpu(psr)); in psr_show()
|
/arch/powerpc/kvm/ |
D | book3s_rtas.c | 24 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive() 29 irq = be32_to_cpu(args->args[0]); in kvm_rtas_set_xive() 30 server = be32_to_cpu(args->args[1]); in kvm_rtas_set_xive() 31 priority = be32_to_cpu(args->args[2]); in kvm_rtas_set_xive() 48 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive() 53 irq = be32_to_cpu(args->args[0]); in kvm_rtas_get_xive() 76 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off() 81 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_off() 98 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on() 103 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_on() [all …]
|
/arch/powerpc/boot/ |
D | devtree.c | 28 naddr = be32_to_cpu(naddr); in dt_fixup_memory() 35 nsize = be32_to_cpu(nsize); in dt_fixup_memory() 53 printf("Memory <- <0x%x", be32_to_cpu(memreg[0])); in dt_fixup_memory() 55 printf(" 0x%x", be32_to_cpu(memreg[i])); in dt_fixup_memory() 142 *naddr = be32_to_cpu(*naddr); in dt_get_reg_format() 146 *nsize = be32_to_cpu(*nsize); in dt_get_reg_format() 175 u64 tmp = (u64)be32_to_cpu(reg[i]) + be32_to_cpu(add[i]) + carry; in add_reg() 192 if (be32_to_cpu(reg[i]) < be32_to_cpu(range[i])) in compare_reg() 194 if (be32_to_cpu(reg[i]) > be32_to_cpu(range[i])) in compare_reg() 199 end = be32_to_cpu(range[i]) + be32_to_cpu(rangesize[i]); in compare_reg() [all …]
|
D | of.h | 33 #define be32_to_cpu(x) swab32(x) macro 40 #define be32_to_cpu(x) (x) macro
|
D | ns16550.c | 69 reg_base += be32_to_cpu(reg_offset); in ns16550_console_init() 75 reg_shift = be32_to_cpu(reg_shift); in ns16550_console_init()
|
D | oflib.c | 62 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom() 89 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in of_call_prom_ret() 91 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom_ret()
|
D | ofconsole.c | 27 of_stdout_handle = be32_to_cpu(of_stdout_handle); in of_console_open()
|
D | libfdt_env.h | 22 #define fdt32_to_cpu(x) be32_to_cpu(x)
|
/arch/powerpc/kernel/ |
D | rtas.c | 234 display_width = be32_to_cpu(*p); in rtas_progress() 237 form_feed = be32_to_cpu(*p); in rtas_progress() 240 display_lines = be32_to_cpu(*p); in rtas_progress() 339 return tokp ? be32_to_cpu(*tokp) : RTAS_UNKNOWN_SERVICE; in rtas_token() 484 if (be32_to_cpu(rtas_args->rets[0]) == -1) in rtas_call() 489 outputs[i] = be32_to_cpu(rtas_args->rets[i+1]); in rtas_call() 490 ret = (nret > 0)? be32_to_cpu(rtas_args->rets[0]): 0; in rtas_call() 977 base = be32_to_cpu(args->args[f->buf_idx1]); in block_rtas_call() 979 size = be32_to_cpu(args->args[f->size_idx1]); in block_rtas_call() 1000 base = be32_to_cpu(args->args[f->buf_idx2]); in block_rtas_call() [all …]
|
/arch/arm/mach-s5pv210/ |
D | s5pv210.c | 33 iodesc.pfn = __phys_to_pfn(be32_to_cpu(reg[0])); in s5pv210_fdt_map_sys() 34 iodesc.length = be32_to_cpu(reg[1]) - 1; in s5pv210_fdt_map_sys()
|
/arch/powerpc/platforms/pseries/ |
D | mobility.c | 182 nprops = be32_to_cpu(upwa->nprops); in update_dt_node() 191 vd = be32_to_cpu(*(__be32 *)prop_data); in update_dt_node() 201 vd = be32_to_cpu(*(__be32 *)prop_data); in update_dt_node() 289 while (be32_to_cpu(*data) & NODE_ACTION_MASK) { in pseries_devicetree_update() 291 u32 action = be32_to_cpu(*data) & NODE_ACTION_MASK; in pseries_devicetree_update() 292 u32 node_count = be32_to_cpu(*data) & NODE_COUNT_MASK; in pseries_devicetree_update() 301 np = of_find_node_by_phandle(be32_to_cpu(phandle)); in pseries_devicetree_update() 304 be32_to_cpu(phandle), action); in pseries_devicetree_update()
|
D | dlpar.c | 59 name = (char *)ccwa + be32_to_cpu(ccwa->name_offset); in dlpar_parse_cc_property() 66 prop->length = be32_to_cpu(ccwa->prop_length); in dlpar_parse_cc_property() 67 value = (char *)ccwa + be32_to_cpu(ccwa->prop_offset); in dlpar_parse_cc_property() 86 name = (const char *)ccwa + be32_to_cpu(ccwa->name_offset); in dlpar_parse_cc_node() 351 be32_to_cpu(hp_elog->_drc_u.drc_count); in handle_dlpar_errorlog() 355 be32_to_cpu(hp_elog->_drc_u.drc_index); in handle_dlpar_errorlog() 359 be32_to_cpu(hp_elog->_drc_u.ic.count); in handle_dlpar_errorlog() 361 be32_to_cpu(hp_elog->_drc_u.ic.index); in handle_dlpar_errorlog()
|
/arch/powerpc/sysdev/xive/ |
D | native.c | 70 data->esb_shift = be32_to_cpu(esb_shift); in xive_native_populate_irq_data() 71 data->src_chip = be32_to_cpu(src_chip); in xive_native_populate_irq_data() 121 *sw_irq = be32_to_cpu(lirq); in xive_native_get_irq_config() 166 q->esc_irq = be32_to_cpu(esc_irq_be); in xive_native_configure_queue() 747 *out_chip_id = be32_to_cpu(vp_chip_id_be); in xive_native_get_vp_info() 793 *out_escalate_irq = be32_to_cpu(escalate_irq); in xive_native_get_queue_info() 815 *qtoggle = be32_to_cpu(opal_qtoggle); in xive_native_get_queue_state() 817 *qindex = be32_to_cpu(opal_qindex); in xive_native_get_queue_state()
|
/arch/nios2/kernel/ |
D | prom.c | 33 if (be32_to_cpu((__be32) *dtb) == OF_DT_HEADER) in early_init_devtree()
|
/arch/powerpc/include/asm/ |
D | epapr_hcalls.h | 297 r5 = be32_to_cpu(p[0]); in ev_byte_channel_send() 298 r6 = be32_to_cpu(p[1]); in ev_byte_channel_send() 299 r7 = be32_to_cpu(p[2]); in ev_byte_channel_send() 300 r8 = be32_to_cpu(p[3]); in ev_byte_channel_send()
|
/arch/arm/mach-exynos/ |
D | exynos.c | 85 iodesc.pfn = __phys_to_pfn(be32_to_cpu(reg[0])); in exynos_fdt_map_chipid() 86 iodesc.length = be32_to_cpu(reg[1]) - 1; in exynos_fdt_map_chipid()
|
/arch/nds32/include/asm/ |
D | ftrace.h | 26 #define ENDIAN_CONVERT(insn) be32_to_cpu(insn)
|
/arch/m68k/kernel/ |
D | setup_mm.c | 159 be32_to_cpu(m->addr); in m68k_parse_bootinfo() 161 be32_to_cpu(m->size); in m68k_parse_bootinfo() 171 m68k_ramdisk.addr = be32_to_cpu(m->addr); in m68k_parse_bootinfo() 172 m68k_ramdisk.size = be32_to_cpu(m->size); in m68k_parse_bootinfo()
|