Searched refs:bar_bus_addr (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/include/zephyr/drivers/pcie/ |
D | controller.h | 80 uintptr_t *bar_bus_addr); 121 bool mem, bool mem64, uintptr_t bar_bus_addr, 244 uintptr_t *bar_bus_addr) in pcie_ctrl_region_allocate() argument 249 return api->region_allocate(dev, bdf, mem, mem64, bar_size, bar_bus_addr); in pcie_ctrl_region_allocate() 296 bool mem, bool mem64, uintptr_t bar_bus_addr, in pcie_ctrl_region_translate() argument 303 *bar_addr = bar_bus_addr; in pcie_ctrl_region_translate() 306 return api->region_translate(dev, bdf, mem, mem64, bar_bus_addr, bar_addr); in pcie_ctrl_region_translate()
|
/Zephyr-Core-3.5.0/drivers/pcie/host/ |
D | controller.c | 73 uintptr_t scratch, bar_bus_addr; in pcie_generic_ctrl_enumerate_bars() local 129 found_mem64, bar_size, &bar_bus_addr)) { in pcie_generic_ctrl_enumerate_bars() 133 found_mem64, bar_bus_addr, &bar_phys_addr); in pcie_generic_ctrl_enumerate_bars() 140 bar_bus_addr, bar_bus_addr + bar_size - 1, in pcie_generic_ctrl_enumerate_bars() 143 pcie_conf_write(bdf, reg, bar_bus_addr & 0xFFFFFFFF); in pcie_generic_ctrl_enumerate_bars() 145 pcie_conf_write(bdf, reg + 1, bar_bus_addr >> 32); in pcie_generic_ctrl_enumerate_bars()
|
D | pcie_ecam.c | 195 size_t bar_size, uintptr_t *bar_bus_addr, in pcie_ecam_region_allocate_type() argument 207 *bar_bus_addr = addr; in pcie_ecam_region_allocate_type() 215 uintptr_t *bar_bus_addr) in pcie_ecam_region_allocate() argument 247 return pcie_ecam_region_allocate_type(data, bdf, bar_size, bar_bus_addr, type); in pcie_ecam_region_allocate() 291 bool mem, bool mem64, uintptr_t bar_bus_addr, in pcie_ecam_region_translate() argument 298 if (!bar_bus_addr) { in pcie_ecam_region_translate() 312 *bar_addr = data->regions[type].phys_start + (bar_bus_addr - data->regions[type].bus_start); in pcie_ecam_region_translate()
|