vc.c (b746a1a2860f4a918f32d10dc569115d282aaf2f) | vc.c (9b41d19aff40907bdd64ae230aaadbb3de3db710) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * PCI Virtual Channel support 4 * 5 * Copyright (C) 2013 Red Hat, Inc. All rights reserved. 6 * Author: Alex Williamson <alex.williamson@redhat.com> 7 */ 8 --- 158 unchanged lines hidden (view full) --- 167 pci_err(link, "VC%d negotiation stuck pending\n", id); 168} 169 170/** 171 * pci_vc_do_save_buffer - Size, save, or restore VC state 172 * @dev: device 173 * @pos: starting position of VC capability (VC/VC9/MFVC) 174 * @save_state: buffer for save/restore | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * PCI Virtual Channel support 4 * 5 * Copyright (C) 2013 Red Hat, Inc. All rights reserved. 6 * Author: Alex Williamson <alex.williamson@redhat.com> 7 */ 8 --- 158 unchanged lines hidden (view full) --- 167 pci_err(link, "VC%d negotiation stuck pending\n", id); 168} 169 170/** 171 * pci_vc_do_save_buffer - Size, save, or restore VC state 172 * @dev: device 173 * @pos: starting position of VC capability (VC/VC9/MFVC) 174 * @save_state: buffer for save/restore |
175 * @name: for error message | |
176 * @save: if provided a buffer, this indicates what to do with it 177 * 178 * Walking Virtual Channel config space to size, save, or restore it 179 * is complicated, so we do it all from one function to reduce code and 180 * guarantee ordering matches in the buffer. When called with NULL 181 * @save_state, return the size of the necessary save buffer. When called 182 * with a non-NULL @save_state, @save determines whether we save to the 183 * buffer or restore from it. --- 246 unchanged lines hidden --- | 175 * @save: if provided a buffer, this indicates what to do with it 176 * 177 * Walking Virtual Channel config space to size, save, or restore it 178 * is complicated, so we do it all from one function to reduce code and 179 * guarantee ordering matches in the buffer. When called with NULL 180 * @save_state, return the size of the necessary save buffer. When called 181 * with a non-NULL @save_state, @save determines whether we save to the 182 * buffer or restore from it. --- 246 unchanged lines hidden --- |