Lines Matching refs:getstatus
71 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()
462 u8 getstatus; in handle_button_press_event() local
467 p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in handle_button_press_event()
468 if (getstatus) { in handle_button_press_event()
546 u8 getstatus = 0; in shpchp_enable_slot() local
552 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus); in shpchp_enable_slot()
553 if (rc || !getstatus) { in shpchp_enable_slot()
557 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
558 if (rc || getstatus) { in shpchp_enable_slot()
562 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_enable_slot()
563 if (rc || getstatus) { in shpchp_enable_slot()
575 p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
591 p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
603 u8 getstatus = 0; in shpchp_disable_slot() local
613 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus); in shpchp_disable_slot()
614 if (rc || !getstatus) { in shpchp_disable_slot()
618 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_disable_slot()
619 if (rc || getstatus) { in shpchp_disable_slot()
623 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_disable_slot()
624 if (rc || !getstatus) { in shpchp_disable_slot()