Lines Matching refs:enabled_luns
2143 memset(tstate->enabled_luns, 0, sizeof(tstate->enabled_luns)); in ahc_alloc_tstate()
3939 lstate = tstate->enabled_luns[devinfo->lun]; in ahc_parse_msg()
4320 lstate = tstate->enabled_luns[lun]; in ahc_handle_devreset()
4499 lstate = tstate->enabled_luns[j]; in ahc_free()
6539 lstate = tstate->enabled_luns[lun]; in ahc_reset_channel()
7315 (*tstate)->enabled_luns[ccb->ccb_h.target_lun]; in ahc_find_tmode_devs()
7385 || ahc->enabled_luns > 0) { in ahc_handle_en_lun()
7396 && ahc->enabled_luns > 0) { in ahc_handle_en_lun()
7514 tstate->enabled_luns[lun] = lstate; in ahc_handle_en_lun()
7515 ahc->enabled_luns++; in ahc_handle_en_lun()
7567 if (ahc->black_hole != NULL && ahc->enabled_luns > 0) { in ahc_handle_en_lun()
7628 tstate->enabled_luns[lun] = NULL; in ahc_handle_en_lun()
7629 ahc->enabled_luns--; in ahc_handle_en_lun()
7631 if (tstate->enabled_luns[i] != NULL) { in ahc_handle_en_lun()
7663 if (ahc->enabled_luns == 0) { in ahc_handle_en_lun()
7807 lstate = tstate->enabled_luns[lun]; in ahc_handle_target_cmd()