Lines Matching refs:getstatus
85 u8 getstatus; in shpchp_handle_switch_change() local
93 p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_handle_switch_change()
97 if (getstatus) { in shpchp_handle_switch_change()
487 u8 getstatus; in handle_button_press_event() local
492 p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in handle_button_press_event()
493 if (getstatus) { in handle_button_press_event()
571 u8 getstatus = 0; in shpchp_enable_slot() local
577 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus); in shpchp_enable_slot()
578 if (rc || !getstatus) { in shpchp_enable_slot()
582 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
583 if (rc || getstatus) { in shpchp_enable_slot()
587 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_enable_slot()
588 if (rc || getstatus) { in shpchp_enable_slot()
600 p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
616 p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
628 u8 getstatus = 0; in shpchp_disable_slot() local
638 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus); in shpchp_disable_slot()
639 if (rc || !getstatus) { in shpchp_disable_slot()
643 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_disable_slot()
644 if (rc || getstatus) { in shpchp_disable_slot()
648 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_disable_slot()
649 if (rc || !getstatus) { in shpchp_disable_slot()