Lines Matching refs:sunit
397 scsb_uinfo_t sunit; in hsc_led_state() local
403 sunit.unit_type = SLOT; in hsc_led_state()
404 sunit.unit_number = hsp->hs_slot_number; in hsc_led_state()
410 sunit.led_type = NOK; in hsc_led_state()
414 sunit.led_type = OK; in hsc_led_state()
423 sunit.unit_state = BLINK; in hsc_led_state()
428 sunit.unit_state = ON; in hsc_led_state()
431 sunit.unit_state = OFF; in hsc_led_state()
439 res = scsb_led_set(hsp->hs_hpchandle, &sunit, sunit.led_type); in hsc_led_state()
442 *hlsp = (hpc_led_state_t)sunit.unit_state; in hsc_led_state()
446 res = scsb_led_get(hsp->hs_hpchandle, &sunit, sunit.led_type); in hsc_led_state()
711 scsb_uinfo_t sunit; in hsc_slot_enable() local
716 sunit.unit_type = SLOT; in hsc_slot_enable()
717 sunit.unit_number = hsp->hs_slot_number; in hsc_slot_enable()
719 sunit.unit_state = ON; in hsc_slot_enable()
721 sunit.unit_state = OFF; in hsc_slot_enable()
723 res = scsb_reset_unit(hsp->hs_hpchandle, &sunit); in hsc_slot_enable()