Lines Matching refs:bdf

179 static uint32_t pcie_ecam_ctrl_conf_read(const struct device *dev, pcie_bdf_t bdf, unsigned int reg)  in pcie_ecam_ctrl_conf_read()  argument
183 return pcie_generic_ctrl_conf_read(data->cfg_addr, bdf, reg); in pcie_ecam_ctrl_conf_read()
186 static void pcie_ecam_ctrl_conf_write(const struct device *dev, pcie_bdf_t bdf, unsigned int reg, in pcie_ecam_ctrl_conf_write() argument
191 pcie_generic_ctrl_conf_write(data->cfg_addr, bdf, reg, reg_data); in pcie_ecam_ctrl_conf_write()
194 static bool pcie_ecam_region_allocate_type(struct pcie_ecam_data *data, pcie_bdf_t bdf, in pcie_ecam_region_allocate_type() argument
213 static bool pcie_ecam_region_allocate(const struct device *dev, pcie_bdf_t bdf, in pcie_ecam_region_allocate() argument
222 LOG_DBG("bdf %x no mem region defined for allocation", bdf); in pcie_ecam_region_allocate()
227 LOG_DBG("bdf %x no io region defined for allocation", bdf); in pcie_ecam_region_allocate()
247 return pcie_ecam_region_allocate_type(data, bdf, bar_size, bar_bus_addr, type); in pcie_ecam_region_allocate()
250 static bool pcie_ecam_region_get_allocate_base(const struct device *dev, pcie_bdf_t bdf, in pcie_ecam_region_get_allocate_base() argument
259 LOG_DBG("bdf %x no mem region defined for allocation", bdf); in pcie_ecam_region_get_allocate_base()
264 LOG_DBG("bdf %x no io region defined for allocation", bdf); in pcie_ecam_region_get_allocate_base()
290 static bool pcie_ecam_region_translate(const struct device *dev, pcie_bdf_t bdf, in pcie_ecam_region_translate() argument
324 pcie_bdf_t bdf; in pcie_ecam_msi_device_setup() local
331 bdf = vectors[0].bdf; in pcie_ecam_msi_device_setup()
340 if (vectors[i].bdf != bdf) { in pcie_ecam_msi_device_setup()
346 device_id = PCI_BDF_TO_DEVID(bdf); in pcie_ecam_msi_device_setup()