Lines Matching full:vc

41  * pci_vc_load_arb_table - load and wait for VC arbitration table
43 * @pos: starting position of VC capability (VC/VC9/MFVC)
45 * Set Load VC Arbitration Table bit requesting hardware to apply the VC
46 * Arbitration Table (previously loaded). When the VC Arbitration Table
47 * Status clears, hardware has latched the table into VC arbitration logic.
60 pci_err(dev, "VC arbitration table failed to load\n"); in pci_vc_load_arb_table()
64 * pci_vc_load_port_arb_table - Load and wait for VC port arbitration table
66 * @pos: starting position of VC capability (VC/VC9/MFVC)
67 * @res: VC resource number, ie. VCn (0-7)
88 pci_err(dev, "VC%d port arbitration table failed to load\n", res); in pci_vc_load_port_arb_table()
94 * @pos: starting position of VC capability (VC/VC9/MFVC)
95 * @res: VC res number, ie. VCn (0-7)
97 * A VC is enabled by setting the enable bit in matching resource control
101 * (spec is unclear). Once we find the upstream device, match the VC ID to
164 pci_err(dev, "VC%d negotiation stuck pending\n", id); in pci_vc_enable()
168 pci_err(link, "VC%d negotiation stuck pending\n", id); in pci_vc_enable()
172 * pci_vc_do_save_buffer - Size, save, or restore VC state
174 * @pos: starting position of VC capability (VC/VC9/MFVC)
197 pci_err(dev, "VC save buffer size does not match @0x%x\n", pos); in pci_vc_do_save_buffer()
202 /* Extended VC Count (not counting VC0) */ in pci_vc_do_save_buffer()
204 /* Low Priority Extended VC Count (not counting VC0) */ in pci_vc_do_save_buffer()
210 * Port VC Control Register contains VC Arbitration Select, which in pci_vc_do_save_buffer()
227 * If we have any Low Priority VCs and a VC Arbitration Table Offset in pci_vc_do_save_buffer()
228 * in Port VC Capability Register 2 then save/restore it next. in pci_vc_do_save_buffer()
257 * re-load the VC Arbitration Table. in pci_vc_do_save_buffer()
269 * In addition to each VC Resource Control Register, we may have a in pci_vc_do_save_buffer()
270 * Port Arbitration Table attached to each VC. The Port Arbitration in pci_vc_do_save_buffer()
271 * Table Offset in each VC Resource Capability Register tells us if in pci_vc_do_save_buffer()
272 * it exists. The entry size is global from the Port VC Capability in pci_vc_do_save_buffer()
273 * Register1 above. The number of phases is determined per VC. in pci_vc_do_save_buffer()
307 /* VC Resource Control Register */ in pci_vc_do_save_buffer()
317 * For an FLR case, the VC config may remain. in pci_vc_do_save_buffer()
343 { PCI_EXT_CAP_ID_VC, "VC" },
347 * pci_save_vc_state - Save VC state to pre-allocate save buffer
350 * For each type of VC capability, VC/VC9/MFVC, find the capability and
384 * pci_restore_vc_state - Restore VC state from save buffer
387 * For each type of VC capability, VC/VC9/MFVC, find the capability and
408 * pci_allocate_vc_save_buffers - Allocate save buffers for VC caps
411 * For each type of VC capability, VC/VC9/MFVC, find the capability, size