Home
last modified time | relevance | path

Searched refs:getstatus (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/pci/hotplug/
Dshpchp_ctrl.c71 u8 getstatus; in shpchp_handle_switch_change() local
79 p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_handle_switch_change()
83 if (getstatus) { in shpchp_handle_switch_change()
473 u8 getstatus; in handle_button_press_event() local
478 p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in handle_button_press_event()
479 if (getstatus) { in handle_button_press_event()
557 u8 getstatus = 0; in shpchp_enable_slot() local
563 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus); in shpchp_enable_slot()
564 if (rc || !getstatus) { in shpchp_enable_slot()
568 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
[all …]
Dpciehp_ctrl.c289 u8 getstatus = 0; in __pciehp_enable_slot() local
292 pciehp_get_adapter_status(p_slot, &getstatus); in __pciehp_enable_slot()
293 if (!getstatus) { in __pciehp_enable_slot()
298 pciehp_get_latch_status(p_slot, &getstatus); in __pciehp_enable_slot()
299 if (getstatus) { in __pciehp_enable_slot()
307 pciehp_get_power_status(p_slot, &getstatus); in __pciehp_enable_slot()
308 if (getstatus) { in __pciehp_enable_slot()
338 u8 getstatus = 0; in __pciehp_disable_slot() local
342 pciehp_get_power_status(p_slot, &getstatus); in __pciehp_disable_slot()
343 if (!getstatus) { in __pciehp_disable_slot()