Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/of/
Daddress.c84 return OF_BAD_ADDR; in of_bus_default_map()
177 return OF_BAD_ADDR; in of_bus_pci_map()
189 return OF_BAD_ADDR; in of_bus_pci_map()
304 res->start = (resource_size_t)OF_BAD_ADDR; in of_pci_range_to_resource()
305 res->end = (resource_size_t)OF_BAD_ADDR; in of_pci_range_to_resource()
336 return OF_BAD_ADDR; in of_bus_isa_map()
348 return OF_BAD_ADDR; in of_bus_isa_map()
448 u64 offset = OF_BAD_ADDR; in of_translate_one()
489 if (offset != OF_BAD_ADDR) in of_translate_one()
492 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.c88 if (reg && (addr = of_translate_address(node, reg)) != OF_BAD_ADDR) { in of_device_make_bus_id()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Doffb.c317 if (taddr == OF_BAD_ADDR) in offb_map_reg()
377 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()
/kernel/linux/linux-5.10/drivers/pci/
Dof.c274 *io_base = (resource_size_t)OF_BAD_ADDR; in devm_of_pci_get_host_bridge_resources()
317 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in devm_of_pci_get_host_bridge_resources()
337 if (*io_base != (resource_size_t)OF_BAD_ADDR) in devm_of_pci_get_host_bridge_resources()
361 range.cpu_addr == OF_BAD_ADDR || range.size == 0) in devm_of_pci_get_host_bridge_resources()
Dpci.c4031 phys_addr_t address = (phys_addr_t)OF_BAD_ADDR; in pci_pio_to_address()
/kernel/linux/linux-5.10/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.c246 if (pbase == OF_BAD_ADDR) { in isa_bridge_init_non_pci()
Dpci-common.c684 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in pci_process_bridge_OF_ranges()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dof_address.h75 return OF_BAD_ADDR; in of_translate_address()
Dof.h150 #define OF_BAD_ADDR ((u64)-1) macro
/kernel/linux/linux-5.10/drivers/soc/fsl/qe/
Dqe_common.c76 if (muram_pbase == (phys_addr_t)OF_BAD_ADDR) { in cpm_muram_init()
/kernel/linux/linux-5.10/drivers/thermal/
Dmtk_thermal.c821 return OF_BAD_ADDR; in of_get_phys_base()
1034 if (auxadc_phys_base == OF_BAD_ADDR) { in mtk_thermal_probe()
1050 if (apmixed_phys_base == OF_BAD_ADDR) { in mtk_thermal_probe()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Diommu.c566 if (addr != OF_BAD_ADDR) in cell_dma_dev_setup()
794 u64 cpu_addr, size, best_size, dev_addr = OF_BAD_ADDR; in cell_iommu_get_fixed_address()
857 cell_iommu_get_fixed_address(&pdev->dev) != OF_BAD_ADDR; in cell_pci_iommu_bypass_supported()
Daxon_msi.c470 if (addr == OF_BAD_ADDR) { in axon_msi_debug_setup()
/kernel/linux/linux-5.10/drivers/bus/
Duniphier-system-bus.c229 if (paddr == OF_BAD_ADDR) in uniphier_system_bus_probe()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dearlycon.c261 if (addr == OF_BAD_ADDR) { in of_setup_earlycon()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v3-mbi.c306 if (mbi_phys_base == (phys_addr_t)OF_BAD_ADDR) { in mbi_init()
/kernel/linux/linux-5.10/drivers/macintosh/
Dvia-pmu.c304 if (taddr == OF_BAD_ADDR) { in find_via_pmu()
329 u64 gaddr = OF_BAD_ADDR; in find_via_pmu()
346 if (gaddr != OF_BAD_ADDR) in find_via_pmu()
/kernel/linux/linux-5.10/arch/microblaze/pci/
Dpci-common.c442 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in pci_process_bridge_OF_ranges()
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
Dpci.c119 if (cpu_addr == OF_BAD_ADDR || size == 0) in ppc4xx_parse_dma_ranges()