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()
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()
556 if (rc || getstatus) { in shpchp_enable_slot()
560 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_enable_slot()
561 if (rc || getstatus) { in shpchp_enable_slot()
573 p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
589 p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
601 u8 getstatus = 0; in shpchp_disable_slot() local
611 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus); in shpchp_disable_slot()
612 if (rc || !getstatus) { in shpchp_disable_slot()
616 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus); in shpchp_disable_slot()
617 if (rc || getstatus) { in shpchp_disable_slot()
621 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus); in shpchp_disable_slot()
622 if (rc || !getstatus) { in shpchp_disable_slot()