Searched refs:reset_methods (Results 1 – 2 of 2) sorted by relevance
1437 m = pdev->reset_methods[i]; in reset_method_show() 1470 u8 reset_methods[PCI_NUM_RESET_METHODS] = {}; in reset_method_store() local 1473 pdev->reset_methods[0] = 0; in reset_method_store() 1515 reset_methods[n++] = m; in reset_method_store() 1518 reset_methods[n] = 0; in reset_method_store() 1522 reset_methods[0] != 1) in reset_method_store() 1524 memcpy(pdev->reset_methods, reset_methods, sizeof(pdev->reset_methods)); in reset_method_store()
95 return dev->reset_methods[0] != 0; in pci_reset_supported() 5210 /* dev->reset_methods[] is a 0-terminated list of indices into this array */5258 m = dev->reset_methods[i]; in __pci_reset_function_locked() 5286 * Stores reset mechanisms supported by device in reset_methods byte array5301 dev->reset_methods[i++] = m; in pci_init_reset_methods() 5306 dev->reset_methods[i] = 0; in pci_init_reset_methods()