Lines Matching full:ecap
1245 uint32_t ecap;
1250 ecap = read_config(fd, &p->pc_sel, ptr, 4);
1251 if (ecap == 0xffffffff || ecap == 0)
1254 printf(" ecap %04x[%03x] = ", PCI_EXTCAP_ID(ecap), ptr);
1255 switch (PCI_EXTCAP_ID(ecap)) {
1257 ecap_aer(fd, p, ptr, PCI_EXTCAP_VER(ecap));
1260 ecap_vc(fd, p, ptr, PCI_EXTCAP_VER(ecap));
1263 ecap_sernum(fd, p, ptr, PCI_EXTCAP_VER(ecap));
1266 ecap_vendor(fd, p, ptr, PCI_EXTCAP_VER(ecap));
1269 ecap_sec_pcie(fd, p, ptr, PCI_EXTCAP_VER(ecap));
1272 ecap_sriov(fd, p, ptr, PCI_EXTCAP_VER(ecap));
1275 ecap_acs(fd, p, ptr, PCI_EXTCAP_VER(ecap));
1280 if (ecap_names[i].id == PCI_EXTCAP_ID(ecap)) {
1284 printf("%s %d\n", name, PCI_EXTCAP_VER(ecap));
1287 ptr = PCI_EXTCAP_NEXTPTR(ecap);
1290 ecap = read_config(fd, &p->pc_sel, ptr, 4);
1332 uint32_t ecap;
1336 ecap = read_config(fd, &p->pc_sel, ptr, 4);
1337 if (ecap == 0xffffffff || ecap == 0)
1340 if (PCI_EXTCAP_ID(ecap) == id)
1342 ptr = PCI_EXTCAP_NEXTPTR(ecap);
1345 ecap = read_config(fd, &p->pc_sel, ptr, 4);