Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/of/
Daddress.c80 return OF_BAD_ADDR; in of_bus_default_map()
156 return OF_BAD_ADDR; in of_bus_pci_map()
168 return OF_BAD_ADDR; in of_bus_pci_map()
361 res->start = (resource_size_t)OF_BAD_ADDR; in of_pci_range_to_resource()
362 res->end = (resource_size_t)OF_BAD_ADDR; in of_pci_range_to_resource()
393 return OF_BAD_ADDR; in of_bus_isa_map()
405 return OF_BAD_ADDR; in of_bus_isa_map()
503 u64 offset = OF_BAD_ADDR; in of_translate_one()
540 if (offset != OF_BAD_ADDR) in of_translate_one()
543 if (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.c93 if (reg && (addr = of_translate_address(node, reg)) != OF_BAD_ADDR) { in of_device_make_bus_id()
/Linux-v4.19/arch/powerpc/sysdev/
Ddcr.c162 u64 ret = OF_BAD_ADDR; in of_translate_dcr_address()
166 return OF_BAD_ADDR; in of_translate_dcr_address()
181 if (ret != OF_BAD_ADDR) in of_translate_dcr_address()
204 if (addr == OF_BAD_ADDR) in dcr_map_mmio()
/Linux-v4.19/drivers/video/fbdev/
Doffb.c315 if (taddr == OF_BAD_ADDR) in offb_map_reg()
375 if (io_addr != OF_BAD_ADDR) { in offb_init_palette_hacks()
538 u64 rstart, address = OF_BAD_ADDR; in offb_init_nodriver()
608 if (rstart == OF_BAD_ADDR) in offb_init_nodriver()
619 address = OF_BAD_ADDR; in offb_init_nodriver()
622 if (address == OF_BAD_ADDR) in offb_init_nodriver()
626 if (address == OF_BAD_ADDR && addr_prop) in offb_init_nodriver()
628 if (address != OF_BAD_ADDR) { in offb_init_nodriver()
/Linux-v4.19/drivers/pci/
Dof.c277 *io_base = (resource_size_t)OF_BAD_ADDR; in devm_of_pci_get_host_bridge_resources()
320 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in devm_of_pci_get_host_bridge_resources()
340 if (*io_base != (resource_size_t)OF_BAD_ADDR) in devm_of_pci_get_host_bridge_resources()
Dpci.c3791 phys_addr_t address = (phys_addr_t)OF_BAD_ADDR; in pci_pio_to_address()
/Linux-v4.19/arch/powerpc/kernel/
Dlegacy_serial.c189 if (addr == OF_BAD_ADDR) in add_legacy_soc_port()
240 if (taddr == OF_BAD_ADDR) in add_legacy_isa_port()
280 if (addr == OF_BAD_ADDR) in add_legacy_pci_port()
Disa-bridge.c235 if (pbase == OF_BAD_ADDR) { in isa_bridge_init_non_pci()
Dpci-common.c688 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in pci_process_bridge_OF_ranges()
/Linux-v4.19/drivers/thermal/
Dmtk_thermal.c590 return OF_BAD_ADDR; in of_get_phys_base()
720 if (auxadc_phys_base == OF_BAD_ADDR) { in mtk_thermal_probe()
735 if (apmixed_phys_base == OF_BAD_ADDR) { in mtk_thermal_probe()
/Linux-v4.19/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-v4.19/include/linux/
Dof_address.h71 return OF_BAD_ADDR; in of_translate_address()
Dof.h147 #define OF_BAD_ADDR ((u64)-1) macro
/Linux-v4.19/drivers/soc/fsl/qe/
Dqe_common.c79 if (muram_pbase == (phys_addr_t)OF_BAD_ADDR) { in cpm_muram_init()
/Linux-v4.19/drivers/bus/
Duniphier-system-bus.c240 if (paddr == OF_BAD_ADDR) in uniphier_system_bus_probe()
/Linux-v4.19/arch/powerpc/platforms/cell/
Diommu.c893 u64 cpu_addr, size, best_size, dev_addr = OF_BAD_ADDR; in cell_iommu_get_fixed_address()
952 cell_iommu_get_fixed_address(dev) != OF_BAD_ADDR) { in dma_suported_and_switch()
1162 cell_iommu_get_fixed_address(dev) != OF_BAD_ADDR) in cell_dma_get_required_mask()
Daxon_msi.c474 if (addr == OF_BAD_ADDR) { in axon_msi_debug_setup()
/Linux-v4.19/drivers/tty/serial/
Dearlycon.c244 if (addr == OF_BAD_ADDR) { in of_setup_earlycon()
/Linux-v4.19/drivers/irqchip/
Dirq-gic-v3-mbi.c300 if (mbi_phys_base == OF_BAD_ADDR) { in mbi_init()
/Linux-v4.19/drivers/macintosh/
Dvia-pmu.c307 if (taddr == OF_BAD_ADDR) { in find_via_pmu()
332 u64 gaddr = OF_BAD_ADDR; in find_via_pmu()
349 if (gaddr != OF_BAD_ADDR) in find_via_pmu()
/Linux-v4.19/arch/microblaze/pci/
Dpci-common.c450 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in pci_process_bridge_OF_ranges()
/Linux-v4.19/arch/powerpc/platforms/4xx/
Dpci.c119 if (cpu_addr == OF_BAD_ADDR || size == 0) in ppc4xx_parse_dma_ranges()