Lines Matching +full:pre +full:- +full:determined

1 // SPDX-License-Identifier: GPL-2.0
19 * pci_vc_save_restore_dwords - Save or restore a series of dwords
40 * pci_vc_load_arb_table - load and wait for VC arbitration table
63 * pci_vc_load_port_arb_table - Load and wait for VC port arbitration table
66 * @res: VC resource number, ie. VCn (0-7)
91 * pci_vc_enable - Enable virtual channel
94 * @res: VC res number, ie. VCn (0-7)
123 pci_is_root_bus(dev->bus)) in pci_vc_enable()
126 pos2 = pci_find_ext_capability(dev->bus->self, PCI_EXT_CAP_ID_VC); in pci_vc_enable()
130 pci_read_config_dword(dev->bus->self, pos2 + PCI_VC_PORT_CAP1, &cap1); in pci_vc_enable()
139 pci_read_config_dword(dev->bus->self, ctrl_pos2, &ctrl2); in pci_vc_enable()
141 link = dev->bus->self; in pci_vc_enable()
171 * pci_vc_do_save_buffer - Size, save, or restore VC state
181 * with a non-NULL @save_state, @save determines whether we save to the
191 u8 *buf = save_state ? (u8 *)save_state->cap.data : NULL; in pci_vc_do_save_buffer()
194 if (buf && save_state->cap.size != in pci_vc_do_save_buffer()
197 return -ENOMEM; in pci_vc_do_save_buffer()
256 * re-load the VC Arbitration Table. in pci_vc_do_save_buffer()
272 * Register1 above. The number of phases is determined per VC. in pci_vc_do_save_buffer()
326 /* Re-enable if needed */ in pci_vc_do_save_buffer()
346 * pci_save_vc_state - Save VC state to pre-allocate save buffer
350 * save it to the pre-allocated save buffer.
368 return -ENOMEM; in pci_save_vc_state()
383 * pci_restore_vc_state - Restore VC state from save buffer
407 * pci_allocate_vc_save_buffers - Allocate save buffers for VC caps