Searched refs:vpd_ros (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/pci/ |
H A D | pci_user.c | 577 len += sizeof(struct pci_vpd_element) + vpd->vpd_ros[i].len; in pci_list_vpd() 610 vpd_element.pve_keyword[0] = vpd->vpd_ros[i].keyword[0]; in pci_list_vpd() 611 vpd_element.pve_keyword[1] = vpd->vpd_ros[i].keyword[1]; in pci_list_vpd() 612 vpd_element.pve_datalen = vpd->vpd_ros[i].len; in pci_list_vpd() 616 error = copyout(vpd->vpd_ros[i].value, vpd_user->pve_data, in pci_list_vpd() 617 vpd->vpd_ros[i].len); in pci_list_vpd()
|
H A D | pci.c | 1211 struct vpd_readonly *vpd_ros; in next_vpd_ro_elem() local 1219 vpd->vpd_ros = alloc_buffer(vpd->vpd_ros, sizeof(*vpd->vpd_ros), vpd->vpd_rocnt); in next_vpd_ro_elem() 1220 vpd_ros = &vpd->vpd_ros[vpd->vpd_rocnt]; in next_vpd_ro_elem() 1222 len = vpd_read_elem_data(vrs, vpd_ros->keyword, &vpd_ros->value, maxsize); in next_vpd_ro_elem() 1223 if (vpd_ros->value == NULL) in next_vpd_ro_elem() 1225 vpd_ros->len = len; in next_vpd_ro_elem() 1226 if (vpd_ros->keyword[0] == 'R' && vpd_ros->keyword[1] == 'V') { in next_vpd_ro_elem() 1227 vpd_fixup_cksum(vrs, vpd_ros->value, len); in next_vpd_ro_elem() 1278 free(vpd->vpd_ros[i].value, M_DEVBUF); in vpd_free() 1279 free(vpd->vpd_ros, M_DEVBUF); in vpd_free() [all …]
|
H A D | pcivar.h | 84 struct vpd_readonly *vpd_ros; member
|