Lines Matching refs:res
66 * @res: VC resource number, ie. VCn (0-7)
72 static void pci_vc_load_port_arb_table(struct pci_dev *dev, int pos, int res)
77 ctrl_pos = pos + PCI_VC_RES_CTRL + (res * PCI_CAP_VC_PER_VC_SIZEOF);
78 status_pos = pos + PCI_VC_RES_STATUS + (res * PCI_CAP_VC_PER_VC_SIZEOF);
87 pci_err(dev, "VC%d port arbitration table failed to load\n", res);
94 * @res: VC res number, ie. VCn (0-7)
103 static void pci_vc_enable(struct pci_dev *dev, int pos, int res)
113 ctrl_pos = pos + PCI_VC_RES_CTRL + (res * PCI_CAP_VC_PER_VC_SIZEOF);
114 status_pos = pos + PCI_VC_RES_STATUS + (res * PCI_CAP_VC_PER_VC_SIZEOF);