Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/pci/hotplug/
H A 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()
460 u8 getstatus; in handle_button_press_event() local
465 p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in handle_button_press_event()
466 if (getstatus) { in handle_button_press_event()
544 u8 getstatus = 0; in shpchp_enable_slot() local
550 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus); in shpchp_enable_slot()
551 if (rc || !getstatus) { in shpchp_enable_slot()
555 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
[all …]
H A Dpciehp_ctrl.c286 u8 getstatus = 0; in __pciehp_enable_slot() local
289 pciehp_get_latch_status(ctrl, &getstatus); in __pciehp_enable_slot()
290 if (getstatus) { in __pciehp_enable_slot()
298 pciehp_get_power_status(ctrl, &getstatus); in __pciehp_enable_slot()
299 if (getstatus) { in __pciehp_enable_slot()
330 u8 getstatus = 0; in __pciehp_disable_slot() local
333 pciehp_get_power_status(ctrl, &getstatus); in __pciehp_disable_slot()
334 if (!getstatus) { in __pciehp_disable_slot()