Home
last modified time | relevance | path

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

/Linux-v4.19/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.c285 u8 getstatus = 0; in __pciehp_enable_slot() local
288 pciehp_get_adapter_status(p_slot, &getstatus); in __pciehp_enable_slot()
289 if (!getstatus) { in __pciehp_enable_slot()
294 pciehp_get_latch_status(p_slot, &getstatus); in __pciehp_enable_slot()
295 if (getstatus) { in __pciehp_enable_slot()
303 pciehp_get_power_status(p_slot, &getstatus); in __pciehp_enable_slot()
304 if (getstatus) { in __pciehp_enable_slot()
334 u8 getstatus = 0; in __pciehp_disable_slot() local
338 pciehp_get_power_status(p_slot, &getstatus); in __pciehp_disable_slot()
339 if (!getstatus) { in __pciehp_disable_slot()