Searched refs:vpd_reg (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/pci/ |
H A D | pci.c | 944 cfg->vpd.vpd_reg = ptr; in pci_read_cap() 1019 WREG(cfg->vpd.vpd_reg + PCIR_VPD_ADDR, reg, 2); in pci_read_vpd_reg() 1021 while ((REG(cfg->vpd.vpd_reg + PCIR_VPD_ADDR, 2) & 0x8000) != 0x8000) { in pci_read_vpd_reg() 1026 *data = (REG(cfg->vpd.vpd_reg + PCIR_VPD_DATA, 4)); in pci_read_vpd_reg() 1039 WREG(cfg->vpd.vpd_reg + PCIR_VPD_DATA, data, 4); 1040 WREG(cfg->vpd.vpd_reg + PCIR_VPD_ADDR, reg | 0x8000, 2); 1041 while ((REG(cfg->vpd.vpd_reg + PCIR_VPD_ADDR, 2) & 0x8000) == 0x8000) { 1376 if (!cfg->vpd.vpd_cached && cfg->vpd.vpd_reg != 0) in pci_get_vpd_ident_method() 1395 if (!cfg->vpd.vpd_cached && cfg->vpd.vpd_reg != 0) in pci_get_vpd_readonly_method() 1415 if (!cfg->vpd.vpd_cached && cfg->vpd.vpd_reg != 0) in pci_fetch_vpd_list() [all …]
|
H A D | pcivar.h | 80 uint8_t vpd_reg; /* base register, + 2 for addr, + 4 data */ member
|
H A D | pci_user.c | 567 if (vpd->vpd_reg == 0 || vpd->vpd_ident == NULL) in pci_list_vpd()
|