/linux-6.6.21/drivers/of/ |
D | address.c | 77 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 …]
|
D | fdt_address.c | 83 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()
|
D | platform.c | 122 if (reg && (addr = of_translate_address(node, reg)) != OF_BAD_ADDR) { in of_device_make_bus_id()
|
/linux-6.6.21/arch/powerpc/sysdev/ |
D | dcr.c | 149 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/ |
D | offb.c | 320 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/ |
D | of.c | 296 *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()
|
D | pci.c | 4229 return (phys_addr_t) OF_BAD_ADDR; in pci_pio_to_address()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | legacy_serial.c | 191 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()
|
D | isa-bridge.c | 72 if (range.cpu_addr == OF_BAD_ADDR) { in process_ISA_OF_ranges()
|
D | pci-common.c | 777 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in pci_process_bridge_OF_ranges()
|
/linux-6.6.21/drivers/clk/mvebu/ |
D | ap-cpu-clk.c | 258 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/ |
D | of_device_32.c | 281 u64 size, result = OF_BAD_ADDR; in build_device_resources() 331 if (result != OF_BAD_ADDR) { in build_device_resources()
|
D | of_device_64.c | 359 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/ |
D | qe_common.c | 74 if (muram_pbase == (phys_addr_t)OF_BAD_ADDR) { in cpm_muram_init()
|
/linux-6.6.21/include/linux/ |
D | of_address.h | 102 return OF_BAD_ADDR; in of_translate_address()
|
D | of.h | 155 #define OF_BAD_ADDR ((u64)-1) macro
|
/linux-6.6.21/arch/powerpc/platforms/cell/ |
D | iommu.c | 569 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/ |
D | uniphier-system-bus.c | 198 if (range.cpu_addr == OF_BAD_ADDR) in uniphier_system_bus_probe()
|
/linux-6.6.21/drivers/gpu/drm/tiny/ |
D | ofdrm.c | 225 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/ |
D | auxadc_thermal.c | 984 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/ |
D | earlycon.c | 269 if (addr == OF_BAD_ADDR) { in of_setup_earlycon()
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-gic-v3-mbi.c | 303 if (mbi_phys_base == (phys_addr_t)OF_BAD_ADDR) { in mbi_init()
|
/linux-6.6.21/arch/powerpc/platforms/4xx/ |
D | pci.c | 120 if (cpu_addr == OF_BAD_ADDR || size == 0) in ppc4xx_parse_dma_ranges()
|