Lines Matching full:tcs
47 #define DECLARE_TCS(tcs) \ argument
48 struct tasklet_completion_status tcs = { \
59 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_clear_nexus_tasklet_complete() local
66 tcs->dl_opcode = dl->opcode; in asd_clear_nexus_tasklet_complete()
74 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_clear_nexus_timedout() local
77 tcs->dl_opcode = TMF_RESP_FUNC_FAILED; in asd_clear_nexus_timedout()
86 DECLARE_TCS(tcs); \
95 ascb->uldd_task = &tcs; \
107 res = tcs.dl_opcode; \
248 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_tmf_timedout() local
251 tcs->tmf_state = TMF_RESP_FUNC_FAILED; in asd_tmf_timedout()
304 struct tasklet_completion_status *tcs; in asd_tmf_tasklet_complete() local
309 tcs = ascb->uldd_task; in asd_tmf_tasklet_complete()
312 tcs->dl_opcode = dl->opcode; in asd_tmf_tasklet_complete()
315 tcs->tmf_state = asd_get_tmf_resp_tasklet(ascb, dl); in asd_tmf_tasklet_complete()
316 tcs->tag_valid = ascb->tag_valid; in asd_tmf_tasklet_complete()
317 tcs->tag = ascb->tag; in asd_tmf_tasklet_complete()
395 DECLARE_TCS(tcs); in asd_abort_task()
414 ascb->uldd_task = &tcs; in asd_abort_task()
462 tascb->tag = tcs.tag; in asd_abort_task()
463 tascb->tag_valid = tcs.tag_valid; in asd_abort_task()
474 if (tcs.dl_opcode == TC_SSP_RESP) { in asd_abort_task()
477 if (tcs.tmf_state == TMF_RESP_FUNC_COMPLETE) in asd_abort_task()
480 res = tcs.tmf_state; in asd_abort_task()
481 } else if (tcs.dl_opcode == TC_NO_ERROR && in asd_abort_task()
482 tcs.tmf_state == TMF_RESP_FUNC_FAILED) { in asd_abort_task()
490 switch (tcs.dl_opcode) { in asd_abort_task()
564 DECLARE_TCS(tcs); in asd_initiate_ssp_tmf()
574 ascb->uldd_task = &tcs; in asd_initiate_ssp_tmf()
609 switch (tcs.dl_opcode) { in asd_initiate_ssp_tmf()
629 res = tcs.dl_opcode; in asd_initiate_ssp_tmf()