Lines Matching refs:getstatus
71 u8 getstatus; in shpchp_handle_switch_change() local
79 shpchp_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 shpchp_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 = shpchp_get_adapter_status(p_slot, &getstatus); in shpchp_enable_slot()
551 if (rc || !getstatus) { in shpchp_enable_slot()
555 rc = shpchp_get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
556 if (rc || getstatus) { in shpchp_enable_slot()
560 rc = shpchp_get_power_status(p_slot, &getstatus); in shpchp_enable_slot()
561 if (rc || getstatus) { in shpchp_enable_slot()
573 shpchp_get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
588 shpchp_get_latch_status(p_slot, &getstatus); in shpchp_enable_slot()
600 u8 getstatus = 0; in shpchp_disable_slot() local
610 rc = shpchp_get_adapter_status(p_slot, &getstatus); in shpchp_disable_slot()
611 if (rc || !getstatus) { in shpchp_disable_slot()
615 rc = shpchp_get_latch_status(p_slot, &getstatus); in shpchp_disable_slot()
616 if (rc || getstatus) { in shpchp_disable_slot()
620 rc = shpchp_get_power_status(p_slot, &getstatus); in shpchp_disable_slot()
621 if (rc || !getstatus) { in shpchp_disable_slot()