pci_conf
struct pci_conf *p;
offsetof(struct pci_conf, pc_spare);
struct pci_conf *match_buf)
struct pci_conf *match_buf)
struct pci_conf *match_buf)
struct pci_conf *match_buf)
struct pci_conf pc;
struct pci_conf *match_buf)
return (sizeof(struct pci_conf));
pci_conf_for_copyout(const struct pci_conf *pcp, union pci_conf_union *pcup,
struct pci_conf conf;
struct pci_conf *matches; /* match buffer */
static struct pci_conf *
static struct pci_conf conf;
struct pci_conf *conf;
struct pci_conf devs[MAX_PCI_DEVS];
struct pci_conf *p;
pci_testrombar(int pci_fd, struct pci_conf *dev)
pci_enable_bars(int pci_fd, struct pci_conf *dev, uint16_t *oldcmd)
pci_disable_bars(int pci_fd, struct pci_conf *dev, uint16_t *oldcmd)
static uint32_t pci_testrombar(int pci_fd, struct pci_conf *dev);
static int pci_enable_bars(int pci_fd, struct pci_conf *dev,
static int pci_disable_bars(int pci_fd, struct pci_conf *dev,
pci_lpc_get_conf(struct pci_conf *conf)
struct pci_conf conf, *confp;
pci_config_read_reg(const struct pci_conf *host_conf, nvlist_t *nvl,
uint32_t pci_config_read_reg(const struct pci_conf *host_conf, nvlist_t *nvl,
struct pci_conf conf[1];
ecap_sernum(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver)
ecap_vendor(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver)
ecap_sec_pcie(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver)
ecap_sriov(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver)
ecap_acs(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver)
cap_vpd(int fd __unused, struct pci_conf *p __unused, uint8_t ptr __unused)
list_ecaps(int fd, struct pci_conf *p)
cap_msi(int fd, struct pci_conf *p, uint8_t ptr)
pci_find_cap(int fd, struct pci_conf *p, uint8_t id)
pcie_find_cap(int fd, struct pci_conf *p, uint16_t id)
cap_pcix(int fd, struct pci_conf *p, uint8_t ptr)
cap_ht(int fd, struct pci_conf *p, uint8_t ptr)
cap_vendor(int fd, struct pci_conf *p, uint8_t ptr)
cap_debug(int fd, struct pci_conf *p, uint8_t ptr)
cap_subvendor(int fd, struct pci_conf *p, uint8_t ptr)
cap_secdev(int fd, struct pci_conf *p, uint8_t ptr)
static void list_ecaps(int fd, struct pci_conf *p);
cap_power(int fd, struct pci_conf *p, uint8_t ptr)
cap_express(int fd, struct pci_conf *p, uint8_t ptr)
cap_agp(int fd, struct pci_conf *p, uint8_t ptr)
cap_msix(int fd, struct pci_conf *p, uint8_t ptr)
cap_sata(int fd __unused, struct pci_conf *p __unused, uint8_t ptr __unused)
cap_pciaf(int fd, struct pci_conf *p, uint8_t ptr)
cap_ea(int fd, struct pci_conf *p, uint8_t ptr)
list_caps(int fd, struct pci_conf *p, int level)
ecap_aer(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver)
ecap_vc(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver)
list_errors(int fd, struct pci_conf *p)
guess_class(struct pci_conf *p)
guess_subclass(struct pci_conf *p)
struct pci_conf conf[1];
fetch_devs(int fd, const char *name, struct pci_conf **confp, size_t *countp)
struct pci_conf conf[255], *p;
struct pci_conf *conf, *p;
const struct pci_conf *l, *r;
tree_add_device(struct pci_tree_list *head, struct pci_conf *p,
struct pci_conf *conf, size_t count, bitstr_t *added)
struct pci_conf *child;
build_tree(struct pci_tree_list *head, struct pci_conf *conf, size_t count)
struct pci_conf *p = e->p;
struct pci_conf *conf;
if (conf[0].pc_reported_len < offsetof(struct pci_conf, pc_subbus)) {
print_bus_range(struct pci_conf *p)
print_bridge_windows(int fd, struct pci_conf *p)
print_cardbus_mem_window(int fd, struct pci_conf *p, int basereg, int limitreg,
print_cardbus_io_window(int fd, struct pci_conf *p, int basereg, int limitreg)
struct pci_conf *p;
print_cardbus_windows(int fd, struct pci_conf *p)
list_bridge(int fd, struct pci_conf *p)
list_bars(int fd, struct pci_conf *p)
static void list_bridge(int fd, struct pci_conf *p);
print_bar(int fd, struct pci_conf *p, const char *label, uint16_t bar_offset)
static void list_bars(int fd, struct pci_conf *p);
list_verbose(struct pci_conf *p)
static void list_verbose(struct pci_conf *p);
static void list_vpd(int fd, struct pci_conf *p);
static const char *guess_class(struct pci_conf *p);
list_vpd(int fd, struct pci_conf *p)
static const char *guess_subclass(struct pci_conf *p);
void list_caps(int fd, struct pci_conf *p, int level);
void list_errors(int fd, struct pci_conf *p);
uint8_t pci_find_cap(int fd, struct pci_conf *p, uint8_t id);
uint16_t pcie_find_cap(int fd, struct pci_conf *p, uint16_t id);
void print_bar(int fd, struct pci_conf *p, const char *label, uint16_t bar);