/arch/powerpc/kvm/ |
D | book3s_rtas.c | 26 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive() 31 irq = be32_to_cpu(args->args[0]); in kvm_rtas_set_xive() 32 server = be32_to_cpu(args->args[1]); in kvm_rtas_set_xive() 33 priority = be32_to_cpu(args->args[2]); in kvm_rtas_set_xive() 47 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive() 52 irq = be32_to_cpu(args->args[0]); in kvm_rtas_get_xive() 72 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off() 77 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_off() 91 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on() 96 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_on() [all …]
|
/arch/powerpc/boot/ |
D | devtree.c | 32 naddr = be32_to_cpu(naddr); in dt_fixup_memory() 39 nsize = be32_to_cpu(nsize); in dt_fixup_memory() 57 printf("Memory <- <0x%x", be32_to_cpu(memreg[0])); in dt_fixup_memory() 59 printf(" 0x%x", be32_to_cpu(memreg[i])); in dt_fixup_memory() 146 *naddr = be32_to_cpu(*naddr); in dt_get_reg_format() 150 *nsize = be32_to_cpu(*nsize); in dt_get_reg_format() 179 u64 tmp = (u64)be32_to_cpu(reg[i]) + be32_to_cpu(add[i]) + carry; in add_reg() 196 if (be32_to_cpu(reg[i]) < be32_to_cpu(range[i])) in compare_reg() 198 if (be32_to_cpu(reg[i]) > be32_to_cpu(range[i])) in compare_reg() 203 end = be32_to_cpu(range[i]) + be32_to_cpu(rangesize[i]); in compare_reg() [all …]
|
D | of.h | 32 #define be32_to_cpu(x) swab32(x) macro 39 #define be32_to_cpu(x) (x) macro
|
D | ns16550.c | 68 reg_base += be32_to_cpu(reg_offset); in ns16550_console_init() 74 reg_shift = be32_to_cpu(reg_shift); in ns16550_console_init()
|
D | oflib.c | 66 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom() 93 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in of_call_prom_ret() 95 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom_ret()
|
D | ofconsole.c | 31 of_stdout_handle = be32_to_cpu(of_stdout_handle); in of_console_open()
|
D | libfdt_env.h | 23 #define fdt32_to_cpu(x) be32_to_cpu(x)
|
/arch/powerpc/platforms/powernv/ |
D | pci.c | 126 hose->global_number, be32_to_cpu(common->version)); in pnv_pci_dump_p7ioc_diag_data() 130 be32_to_cpu(data->brdgCtl)); in pnv_pci_dump_p7ioc_diag_data() 134 be32_to_cpu(data->portStatusReg), in pnv_pci_dump_p7ioc_diag_data() 135 be32_to_cpu(data->rootCmplxStatus), in pnv_pci_dump_p7ioc_diag_data() 136 be32_to_cpu(data->busAgentStatus)); in pnv_pci_dump_p7ioc_diag_data() 141 be32_to_cpu(data->deviceStatus), in pnv_pci_dump_p7ioc_diag_data() 142 be32_to_cpu(data->slotStatus), in pnv_pci_dump_p7ioc_diag_data() 143 be32_to_cpu(data->linkStatus), in pnv_pci_dump_p7ioc_diag_data() 144 be32_to_cpu(data->devCmdStatus), in pnv_pci_dump_p7ioc_diag_data() 145 be32_to_cpu(data->devSecStatus)); in pnv_pci_dump_p7ioc_diag_data() [all …]
|
D | opal-msglog.c | 47 out_pos = be32_to_cpu(ACCESS_ONCE(mc->out_pos)); in opal_msglog_read() 61 avail = be32_to_cpu(mc->obuf_size) - out_pos; in opal_msglog_read() 79 if (out_pos > be32_to_cpu(mc->obuf_size)) { in opal_msglog_read()
|
D | opal-hmi.c | 90 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason() 92 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_core_checkstop_reason() 141 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_nx_checkstop_reason() 143 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_nx_checkstop_reason() 273 type = be32_to_cpu(msg.msg_type); in hmi_event_handler()
|
D | opal-sensor.c | 59 *sensor_data = be32_to_cpu(data); in opal_get_sensor_data() 64 *sensor_data = be32_to_cpu(data); in opal_get_sensor_data()
|
/arch/arm/mach-exynos/ |
D | s5p-dev-mfc.c | 80 mfc_mem.loff = be32_to_cpu(prop[0]); in s5p_fdt_alloc_mfc_mem() 81 mfc_mem.lsize = be32_to_cpu(prop[1]); in s5p_fdt_alloc_mfc_mem() 87 mfc_mem.roff = be32_to_cpu(prop[0]); in s5p_fdt_alloc_mfc_mem() 88 mfc_mem.rsize = be32_to_cpu(prop[1]); in s5p_fdt_alloc_mfc_mem()
|
/arch/powerpc/platforms/pseries/ |
D | mobility.c | 62 dn = of_find_node_by_phandle(be32_to_cpu(phandle)); in delete_dt_node() 151 dn = of_find_node_by_phandle(be32_to_cpu(phandle)); in update_dt_node() 167 nprops = be32_to_cpu(upwa->nprops); in update_dt_node() 176 vd = be32_to_cpu(*(__be32 *)prop_data); in update_dt_node() 186 vd = be32_to_cpu(*(__be32 *)prop_data); in update_dt_node() 228 parent_dn = of_find_node_by_phandle(be32_to_cpu(parent_phandle)); in add_dt_node() 267 while (be32_to_cpu(*data) & NODE_ACTION_MASK) { in pseries_devicetree_update() 269 u32 action = be32_to_cpu(*data) & NODE_ACTION_MASK; in pseries_devicetree_update() 270 u32 node_count = be32_to_cpu(*data) & NODE_COUNT_MASK; in pseries_devicetree_update()
|
D | hotplug-memory.c | 105 *p = be32_to_cpu(*p); in dlpar_clone_drconf_property() 112 lmbs[i].drc_index = be32_to_cpu(lmbs[i].drc_index); in dlpar_clone_drconf_property() 113 lmbs[i].aa_index = be32_to_cpu(lmbs[i].aa_index); in dlpar_clone_drconf_property() 114 lmbs[i].flags = be32_to_cpu(lmbs[i].flags); in dlpar_clone_drconf_property() 186 lmb_size = be32_to_cpu(regs[3]); in pseries_remove_mem_node() 491 be32_to_cpu(lmbs[i].drc_index)); in dlpar_memory_add_by_count() 649 lmb_size = be32_to_cpu(regs[3]); in pseries_add_mem_node() 682 entries = be32_to_cpu(*p++); in pseries_update_drconf_memory() 690 if ((be32_to_cpu(old_drmem[i].flags) & DRCONF_MEM_ASSIGNED) && in pseries_update_drconf_memory() 691 (!(be32_to_cpu(new_drmem[i].flags) & DRCONF_MEM_ASSIGNED))) { in pseries_update_drconf_memory() [all …]
|
D | dlpar.c | 56 name = (char *)ccwa + be32_to_cpu(ccwa->name_offset); in dlpar_parse_cc_property() 63 prop->length = be32_to_cpu(ccwa->prop_length); in dlpar_parse_cc_property() 64 value = (char *)ccwa + be32_to_cpu(ccwa->prop_offset); in dlpar_parse_cc_property() 90 name = (char *)ccwa + be32_to_cpu(ccwa->name_offset); in dlpar_parse_cc_node() 363 thread = be32_to_cpu(intserv[i]); in dlpar_online_cpu() 443 thread = be32_to_cpu(intserv[i]); in dlpar_offline_cpu() 532 be32_to_cpu(hp_elog->_drc_u.drc_count); in handle_dlpar_errorlog() 536 be32_to_cpu(hp_elog->_drc_u.drc_index); in handle_dlpar_errorlog()
|
/arch/powerpc/sysdev/qe_lib/ |
D | qe.c | 380 const __be32 *code = base + be32_to_cpu(ucode->code_offset); in qe_upload_microcode() 392 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) | in qe_upload_microcode() 395 for (i = 0; i < be32_to_cpu(ucode->count); i++) in qe_upload_microcode() 396 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode() 399 out_be32(&qe_immr->iram.iready, be32_to_cpu(QE_IRAM_READY)); in qe_upload_microcode() 434 length = be32_to_cpu(hdr->length); in qe_upload_firmware() 465 be32_to_cpu(firmware->microcode[i].count); in qe_upload_firmware() 474 crc = be32_to_cpu(*(__be32 *)((void *)firmware + calc_size)); in qe_upload_firmware() 515 u32 trap = be32_to_cpu(ucode->traps[j]); in qe_upload_firmware() 522 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); in qe_upload_firmware()
|
/arch/arm/mach-s5pv210/ |
D | s5pv210.c | 39 iodesc.pfn = __phys_to_pfn(be32_to_cpu(reg[0])); in s5pv210_fdt_map_sys() 40 iodesc.length = be32_to_cpu(reg[1]) - 1; in s5pv210_fdt_map_sys()
|
/arch/x86/kernel/ |
D | pci-calgary_64.c | 594 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 612 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 628 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 631 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 642 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 651 val = be32_to_cpu(readl(target)); in calioc2_tce_cache_blast() 678 low = be32_to_cpu(readl(target)); in calgary_reserve_peripheral_mem_1() 680 high = be32_to_cpu(readl(target)); in calgary_reserve_peripheral_mem_1() 682 sizelow = be32_to_cpu(readl(target)); in calgary_reserve_peripheral_mem_1() 702 val32 = be32_to_cpu(readl(target)); in calgary_reserve_peripheral_mem_2() [all …]
|
/arch/powerpc/lib/ |
D | locks.c | 35 yield_count = be32_to_cpu(lppaca_of(holder_cpu).yield_count); in __spin_yield() 61 yield_count = be32_to_cpu(lppaca_of(holder_cpu).yield_count); in __rw_yield()
|
/arch/powerpc/kernel/ |
D | rtas.c | 224 display_width = be32_to_cpu(*p); in rtas_progress() 227 form_feed = be32_to_cpu(*p); in rtas_progress() 230 display_lines = be32_to_cpu(*p); in rtas_progress() 329 return tokp ? be32_to_cpu(*tokp) : RTAS_UNKNOWN_SERVICE; in rtas_token() 452 if (be32_to_cpu(rtas_args->rets[0]) == -1) in rtas_call() 457 outputs[i] = be32_to_cpu(rtas_args->rets[i+1]); in rtas_call() 458 ret = (nret > 0)? be32_to_cpu(rtas_args->rets[0]): 0; in rtas_call() 1059 nargs = be32_to_cpu(args.nargs); in ppc_rtas() 1060 nret = be32_to_cpu(args.nret); in ppc_rtas() 1061 token = be32_to_cpu(args.token); in ppc_rtas() [all …]
|
D | epapr_paravirt.c | 51 u32 inst = be32_to_cpu(insts[i]); in early_init_dt_scan_epapr()
|
/arch/arm/boot/compressed/ |
D | libfdt_env.h | 18 #define fdt32_to_cpu(x) be32_to_cpu(x)
|
/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/powerpc/sysdev/xics/ |
D | xics-common.c | 78 if (be32_to_cpu(ireg[j]) == hcpuid) { in xics_update_irq_servers() 79 xics_default_distrib_server = be32_to_cpu(ireg[j+1]); in xics_update_irq_servers() 396 xics_interrupt_server_size = be32_to_cpu(*isize); in xics_get_server_size()
|
/arch/m68k/kernel/ |
D | setup_mm.c | 168 be32_to_cpu(m->addr); in m68k_parse_bootinfo() 170 be32_to_cpu(m->size); in m68k_parse_bootinfo() 180 m68k_ramdisk.addr = be32_to_cpu(m->addr); in m68k_parse_bootinfo() 181 m68k_ramdisk.size = be32_to_cpu(m->size); in m68k_parse_bootinfo()
|