Lines Matching refs:save_state
184 struct pci_cap_saved_state *save_state, in pci_vc_do_save_buffer() argument
190 u8 *buf = save_state ? (u8 *)save_state->cap.data : NULL; in pci_vc_do_save_buffer()
193 if (buf && save_state->cap.size != in pci_vc_do_save_buffer()
357 struct pci_cap_saved_state *save_state; in pci_save_vc_state() local
363 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_save_vc_state()
364 if (!save_state) { in pci_save_vc_state()
370 ret = pci_vc_do_save_buffer(dev, pos, save_state, true); in pci_save_vc_state()
394 struct pci_cap_saved_state *save_state; in pci_restore_vc_state() local
397 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_restore_vc_state()
398 if (!save_state || !pos) in pci_restore_vc_state()
401 pci_vc_do_save_buffer(dev, pos, save_state, false); in pci_restore_vc_state()