/openbmc/linux/drivers/of/ |
H A D | address.c | 78 return OF_BAD_ADDR; in of_bus_default_map() 111 return OF_BAD_ADDR; in of_bus_default_flags_map() 121 return OF_BAD_ADDR; in of_bus_default_flags_map() 206 return OF_BAD_ADDR; in of_bus_pci_map() 216 return OF_BAD_ADDR; in of_bus_pci_map() 270 res->start = (resource_size_t)OF_BAD_ADDR; in of_pci_range_to_resource() 271 res->end = (resource_size_t)OF_BAD_ADDR; in of_pci_range_to_resource() 329 return OF_BAD_ADDR; in of_bus_isa_map() 339 return OF_BAD_ADDR; in of_bus_isa_map() 450 u64 offset = OF_BAD_ADDR; in of_translate_one() [all …]
|
H A 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()
|
H A D | platform.c | 122 if (reg && (addr = of_translate_address(node, reg)) != OF_BAD_ADDR) { in of_device_make_bus_id()
|
/openbmc/u-boot/drivers/core/ |
H A D | of_addr.c | 71 return OF_BAD_ADDR; in of_bus_default_map() 176 u64 offset = OF_BAD_ADDR; in of_translate_one() 213 if (offset != OF_BAD_ADDR) in of_translate_one() 216 if (offset == OF_BAD_ADDR) { in of_translate_one() 247 u64 result = OF_BAD_ADDR; in __of_translate_address() 331 if (taddr == OF_BAD_ADDR) in __of_address_to_resource()
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A 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()
|
/openbmc/linux/drivers/video/fbdev/ |
H A 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()
|
/openbmc/linux/drivers/pci/ |
H A 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()
|
/openbmc/u-boot/common/ |
H A D | fdt_support.c | 943 #define OF_BAD_ADDR FDT_ADDR_T_NONE macro 1031 return OF_BAD_ADDR; in of_bus_default_map() 1077 return OF_BAD_ADDR; in of_bus_isa_map() 1086 return OF_BAD_ADDR; in of_bus_isa_map() 1149 u64 offset = OF_BAD_ADDR; in of_translate_one() 1178 if (offset != OF_BAD_ADDR) in of_translate_one() 1181 if (offset == OF_BAD_ADDR) { in of_translate_one() 1212 u64 result = OF_BAD_ADDR; in __of_translate_address()
|
/openbmc/u-boot/include/dm/ |
H A D | of.h | 105 #define OF_BAD_ADDR ((u64)-1) macro
|
/openbmc/linux/arch/powerpc/kernel/ |
H A 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()
|
H A D | isa-bridge.c | 72 if (range.cpu_addr == OF_BAD_ADDR) { in process_ISA_OF_ranges()
|
H A D | pci-common.c | 777 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in pci_process_bridge_OF_ranges()
|
/openbmc/linux/drivers/clk/mvebu/ |
H A 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()
|
/openbmc/linux/arch/sparc/kernel/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | qe_common.c | 74 if (muram_pbase == (phys_addr_t)OF_BAD_ADDR) { in cpm_muram_init()
|
/openbmc/linux/include/linux/ |
H A D | of_address.h | 102 return OF_BAD_ADDR; in of_translate_address()
|
H A D | of.h | 157 #define OF_BAD_ADDR ((u64)-1) macro
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A 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()
|
/openbmc/linux/drivers/bus/ |
H A D | uniphier-system-bus.c | 198 if (range.cpu_addr == OF_BAD_ADDR) in uniphier_system_bus_probe()
|
/openbmc/linux/drivers/thermal/mediatek/ |
H A D | auxadc_thermal.c | 987 return OF_BAD_ADDR; in of_get_phys_base() 1232 if (auxadc_phys_base == OF_BAD_ADDR) { in mtk_thermal_probe() 1248 if (apmixed_phys_base == OF_BAD_ADDR) { in mtk_thermal_probe()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | earlycon.c | 269 if (addr == OF_BAD_ADDR) { in of_setup_earlycon()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-gic-v3-mbi.c | 303 if (mbi_phys_base == (phys_addr_t)OF_BAD_ADDR) { in mbi_init()
|
/openbmc/linux/arch/powerpc/platforms/4xx/ |
H A D | pci.c | 120 if (cpu_addr == OF_BAD_ADDR || size == 0) in ppc4xx_parse_dma_ranges()
|