Home
last modified time | relevance | path

Searched refs:bar_size (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/drivers/pcie/host/
Dcontroller.c74 size_t size, bar_size; in pcie_generic_ctrl_enumerate_bars() local
120 bar_size = (uint64_t)~PCIE_CONF_BAR_ADDR(size) + 1; in pcie_generic_ctrl_enumerate_bars()
122 bar_size = (uint32_t)~PCIE_CONF_BAR_ADDR(size) + 1; in pcie_generic_ctrl_enumerate_bars()
125 bar_size = (uint32_t)~PCIE_CONF_BAR_IO_ADDR(size) + 1; in pcie_generic_ctrl_enumerate_bars()
129 found_mem64, bar_size, &bar_bus_addr)) { in pcie_generic_ctrl_enumerate_bars()
138 bar, bar_size, in pcie_generic_ctrl_enumerate_bars()
140 bar_bus_addr, bar_bus_addr + bar_size - 1, in pcie_generic_ctrl_enumerate_bars()
141 bar_phys_addr, bar_phys_addr + bar_size - 1); in pcie_generic_ctrl_enumerate_bars()
150 bar, bar_size); in pcie_generic_ctrl_enumerate_bars()
Dpcie_ecam.c195 size_t bar_size, uintptr_t *bar_bus_addr, in pcie_ecam_region_allocate_type() argument
201 ((bar_size) - 1)) + 1; in pcie_ecam_region_allocate_type()
203 if (addr - data->regions[type].bus_start + bar_size > data->regions[type].size) { in pcie_ecam_region_allocate_type()
208 data->regions[type].allocation_offset = addr - data->regions[type].bus_start + bar_size; in pcie_ecam_region_allocate_type()
214 bool mem, bool mem64, size_t bar_size, 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()
/Zephyr-Core-3.5.0/include/zephyr/drivers/pcie/
Dcontroller.h79 bool mem, bool mem64, size_t bar_size,
243 bool mem, bool mem64, size_t bar_size, 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()