Home
last modified time | relevance | path

Searched refs:OF_BAD_ADDR (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/drivers/of/
Daddress.c77 return OF_BAD_ADDR; in of_bus_default_map()
110 return OF_BAD_ADDR; in of_bus_default_flags_map()
120 return OF_BAD_ADDR; in of_bus_default_flags_map()
205 return OF_BAD_ADDR; in of_bus_pci_map()
215 return OF_BAD_ADDR; in of_bus_pci_map()
273 res->start = (resource_size_t)OF_BAD_ADDR; in of_pci_range_to_resource()
274 res->end = (resource_size_t)OF_BAD_ADDR; in of_pci_range_to_resource()
332 return OF_BAD_ADDR; in of_bus_isa_map()
342 return OF_BAD_ADDR; in of_bus_isa_map()
458 u64 offset = OF_BAD_ADDR; in of_translate_one()
[all …]
Dfdt_address.c83 return OF_BAD_ADDR; in fdt_bus_default_map()
117 u64 offset = OF_BAD_ADDR; in fdt_translate_one()
136 if (offset != OF_BAD_ADDR) in fdt_translate_one()
139 if (offset == OF_BAD_ADDR) { in fdt_translate_one()
170 u64 result = OF_BAD_ADDR; in fdt_translate_address()
Dplatform.c122 if (reg && (addr = of_translate_address(node, reg)) != OF_BAD_ADDR) { in of_device_make_bus_id()
/linux-6.6.21/arch/powerpc/sysdev/
Ddcr.c149 u64 ret = OF_BAD_ADDR; in of_translate_dcr_address()
153 return OF_BAD_ADDR; in of_translate_dcr_address()
168 if (ret != OF_BAD_ADDR) in of_translate_dcr_address()
191 if (addr == OF_BAD_ADDR) in dcr_map_mmio()
/linux-6.6.21/drivers/video/fbdev/
Doffb.c320 if (taddr == OF_BAD_ADDR) in offb_map_reg()
380 if (io_addr != OF_BAD_ADDR) { in offb_init_palette_hacks()
544 u64 rstart, address = OF_BAD_ADDR; in offb_init_nodriver()
614 if (rstart == OF_BAD_ADDR) in offb_init_nodriver()
625 address = OF_BAD_ADDR; in offb_init_nodriver()
628 if (address == OF_BAD_ADDR) in offb_init_nodriver()
632 if (address == OF_BAD_ADDR && addr_prop) in offb_init_nodriver()
634 if (address != OF_BAD_ADDR) { in offb_init_nodriver()
/linux-6.6.21/drivers/pci/
Dof.c296 *io_base = (resource_size_t)OF_BAD_ADDR; in devm_of_pci_get_host_bridge_resources()
339 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in devm_of_pci_get_host_bridge_resources()
359 if (*io_base != (resource_size_t)OF_BAD_ADDR) in devm_of_pci_get_host_bridge_resources()
384 range.cpu_addr == OF_BAD_ADDR || range.size == 0) in devm_of_pci_get_host_bridge_resources()
Dpci.c4229 return (phys_addr_t) OF_BAD_ADDR; in pci_pio_to_address()
/linux-6.6.21/arch/powerpc/kernel/
Dlegacy_serial.c191 if (addr == OF_BAD_ADDR) in add_legacy_soc_port()
242 if (taddr == OF_BAD_ADDR) in add_legacy_isa_port()
282 if (addr == OF_BAD_ADDR) in add_legacy_pci_port()
Disa-bridge.c72 if (range.cpu_addr == OF_BAD_ADDR) { in process_ISA_OF_ranges()
Dpci-common.c777 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in pci_process_bridge_OF_ranges()
/linux-6.6.21/drivers/clk/mvebu/
Dap-cpu-clk.c258 if (WARN_ON(cpu == OF_BAD_ADDR)) { in ap_cpu_clock_probe()
293 if (WARN_ON(cpu == OF_BAD_ADDR)) { in ap_cpu_clock_probe()
/linux-6.6.21/arch/sparc/kernel/
Dof_device_32.c281 u64 size, result = OF_BAD_ADDR; in build_device_resources()
331 if (result != OF_BAD_ADDR) { in build_device_resources()
Dof_device_64.c359 u64 size, result = OF_BAD_ADDR; in build_device_resources()
408 if (result != OF_BAD_ADDR) { in build_device_resources()
/linux-6.6.21/drivers/soc/fsl/qe/
Dqe_common.c74 if (muram_pbase == (phys_addr_t)OF_BAD_ADDR) { in cpm_muram_init()
/linux-6.6.21/include/linux/
Dof_address.h102 return OF_BAD_ADDR; in of_translate_address()
Dof.h155 #define OF_BAD_ADDR ((u64)-1) macro
/linux-6.6.21/arch/powerpc/platforms/cell/
Diommu.c569 if (addr != OF_BAD_ADDR) in cell_dma_dev_setup()
799 u64 cpu_addr, size, best_size, dev_addr = OF_BAD_ADDR; in cell_iommu_get_fixed_address()
862 cell_iommu_get_fixed_address(&pdev->dev) != OF_BAD_ADDR; in cell_pci_iommu_bypass_supported()
/linux-6.6.21/drivers/bus/
Duniphier-system-bus.c198 if (range.cpu_addr == OF_BAD_ADDR) in uniphier_system_bus_probe()
/linux-6.6.21/drivers/gpu/drm/tiny/
Dofdrm.c225 return OF_BAD_ADDR; in display_get_address_of()
446 if (address == OF_BAD_ADDR) in get_cmap_address_of()
627 if (address == OF_BAD_ADDR) in ofdrm_qemu_cmap_ioremap()
1183 if (address != OF_BAD_ADDR) { in ofdrm_device_create()
/linux-6.6.21/drivers/thermal/mediatek/
Dauxadc_thermal.c984 return OF_BAD_ADDR; in of_get_phys_base()
1229 if (auxadc_phys_base == OF_BAD_ADDR) { in mtk_thermal_probe()
1245 if (apmixed_phys_base == OF_BAD_ADDR) { in mtk_thermal_probe()
/linux-6.6.21/drivers/tty/serial/
Dearlycon.c269 if (addr == OF_BAD_ADDR) { in of_setup_earlycon()
/linux-6.6.21/drivers/irqchip/
Dirq-gic-v3-mbi.c303 if (mbi_phys_base == (phys_addr_t)OF_BAD_ADDR) { in mbi_init()
/linux-6.6.21/arch/powerpc/platforms/4xx/
Dpci.c120 if (cpu_addr == OF_BAD_ADDR || size == 0) in ppc4xx_parse_dma_ranges()