Lines Matching defs:addr
91 * pci_read_config() - Performs a config space read at addr
92 * @addr: 32-bit, segment, BDF of requested function encoded per DEN0115
93 * @off: register offset of function described by @addr to read
97 * sz bits of PCI config space is read at addr:offset, and the value
111 uint32_t pci_read_config(uint32_t addr, uint32_t off, uint32_t sz, uint32_t *val)
117 base = pci_segment_lib_get_base(addr, off);
142 * pci_write_config() - Performs a config space write at addr
143 * @addr: 32-bit, segment, BDF of requested function encoded per DEN0115
144 * @off: register offset of function described by @addr to write
148 * sz bits of PCI config space is written at addr:offset. Invalid
160 uint32_t pci_write_config(uint32_t addr, uint32_t off, uint32_t sz, uint32_t val)
166 base = pci_segment_lib_get_base(addr, off);