Lines Matching refs:bdf

44 typedef uint32_t (*pcie_ctrl_conf_read_t)(const struct device *dev, pcie_bdf_t bdf,
58 typedef void (*pcie_ctrl_conf_write_t)(const struct device *dev, pcie_bdf_t bdf,
78 typedef bool (*pcie_ctrl_region_allocate_t)(const struct device *dev, pcie_bdf_t bdf,
97 typedef bool (*pcie_ctrl_region_get_allocate_base_t)(const struct device *dev, pcie_bdf_t bdf,
120 typedef bool (*pcie_ctrl_region_translate_t)(const struct device *dev, pcie_bdf_t bdf,
141 uint32_t pcie_generic_ctrl_conf_read(mm_reg_t cfg_addr, pcie_bdf_t bdf, unsigned int reg);
156 void pcie_generic_ctrl_conf_write(mm_reg_t cfg_addr, pcie_bdf_t bdf,
196 static inline uint32_t pcie_ctrl_conf_read(const struct device *dev, pcie_bdf_t bdf, in pcie_ctrl_conf_read() argument
202 return api->conf_read(dev, bdf, reg); in pcie_ctrl_conf_read()
216 static inline void pcie_ctrl_conf_write(const struct device *dev, pcie_bdf_t bdf, in pcie_ctrl_conf_write() argument
222 api->conf_write(dev, bdf, reg, data); in pcie_ctrl_conf_write()
242 static inline bool pcie_ctrl_region_allocate(const struct device *dev, pcie_bdf_t bdf, 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()
267 static inline bool pcie_ctrl_region_get_allocate_base(const struct device *dev, pcie_bdf_t bdf, in pcie_ctrl_region_get_allocate_base() argument
274 return api->region_get_allocate_base(dev, bdf, mem, mem64, align, bar_base_addr); in pcie_ctrl_region_get_allocate_base()
295 static inline bool pcie_ctrl_region_translate(const struct device *dev, pcie_bdf_t bdf, in pcie_ctrl_region_translate() argument
306 return api->region_translate(dev, bdf, mem, mem64, bar_bus_addr, bar_addr); in pcie_ctrl_region_translate()