Lines Matching full:vc

40  * pci_vc_load_arb_table - load and wait for VC arbitration table
42 * @pos: starting position of VC capability (VC/VC9/MFVC)
44 * Set Load VC Arbitration Table bit requesting hardware to apply the VC
45 * Arbitration Table (previously loaded). When the VC Arbitration Table
46 * Status clears, hardware has latched the table into VC arbitration logic.
59 pci_err(dev, "VC arbitration table failed to load\n"); in pci_vc_load_arb_table()
63 * pci_vc_load_port_arb_table - Load and wait for VC port arbitration table
65 * @pos: starting position of VC capability (VC/VC9/MFVC)
66 * @res: VC resource number, ie. VCn (0-7)
87 pci_err(dev, "VC%d port arbitration table failed to load\n", res); in pci_vc_load_port_arb_table()
93 * @pos: starting position of VC capability (VC/VC9/MFVC)
94 * @res: VC res number, ie. VCn (0-7)
96 * A VC is enabled by setting the enable bit in matching resource control
100 * (spec is unclear). Once we find the upstream device, match the VC ID to
163 pci_err(dev, "VC%d negotiation stuck pending\n", id); in pci_vc_enable()
167 pci_err(link, "VC%d negotiation stuck pending\n", id); in pci_vc_enable()
171 * pci_vc_do_save_buffer - Size, save, or restore VC state
173 * @pos: starting position of VC capability (VC/VC9/MFVC)
196 pci_err(dev, "VC save buffer size does not match @0x%x\n", pos); in pci_vc_do_save_buffer()
201 /* Extended VC Count (not counting VC0) */ in pci_vc_do_save_buffer()
203 /* Low Priority Extended VC Count (not counting VC0) */ in pci_vc_do_save_buffer()
209 * Port VC Control Register contains VC Arbitration Select, which in pci_vc_do_save_buffer()
226 * If we have any Low Priority VCs and a VC Arbitration Table Offset in pci_vc_do_save_buffer()
227 * in Port VC Capability Register 2 then save/restore it next. in pci_vc_do_save_buffer()
256 * re-load the VC Arbitration Table. in pci_vc_do_save_buffer()
268 * In addition to each VC Resource Control Register, we may have a in pci_vc_do_save_buffer()
269 * Port Arbitration Table attached to each VC. The Port Arbitration in pci_vc_do_save_buffer()
270 * Table Offset in each VC Resource Capability Register tells us if in pci_vc_do_save_buffer()
271 * it exists. The entry size is global from the Port VC Capability in pci_vc_do_save_buffer()
272 * Register1 above. The number of phases is determined per VC. in pci_vc_do_save_buffer()
306 /* VC Resource Control Register */ in pci_vc_do_save_buffer()
316 * For an FLR case, the VC config may remain. in pci_vc_do_save_buffer()
342 { PCI_EXT_CAP_ID_VC, "VC" },
346 * pci_save_vc_state - Save VC state to pre-allocate save buffer
349 * For each type of VC capability, VC/VC9/MFVC, find the capability and
383 * pci_restore_vc_state - Restore VC state from save buffer
386 * For each type of VC capability, VC/VC9/MFVC, find the capability and
407 * pci_allocate_vc_save_buffers - Allocate save buffers for VC caps
410 * For each type of VC capability, VC/VC9/MFVC, find the capability, size