Searched refs:escb (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Da100u2w.c446 struct orc_extended_scb *escb; setup_SCBs() local
458 escb = host->escb_virt; setup_SCBs()
464 scb->escb = escb; setup_SCBs()
467 escb++; setup_SCBs()
598 struct orc_extended_scb *escb; orc_device_reset() local
605 escb = (struct orc_extended_scb *) NULL; orc_device_reset()
616 escb = host_scb->escb; orc_device_reset()
617 if (host_scb->status && escb->srb == cmd) orc_device_reset()
648 escb->srb = NULL; orc_device_reset()
649 escb->srb = cmd; orc_device_reset()
764 struct orc_extended_scb *escb; inia100_abort_cmd() local
778 escb = scb->escb; inia100_abort_cmd()
779 if (scb->status && escb->srb == cmd) { inia100_abort_cmd()
785 escb->srb = NULL; inia100_abort_cmd()
847 struct orc_extended_scb *escb; inia100_build_scb() local
849 /* Links between the escb, scb and Linux scsi midlayer cmd */ inia100_build_scb()
850 escb = scb->escb; inia100_build_scb()
851 escb->srb = cmd; inia100_build_scb()
864 sgent = (struct orc_sgent *) & escb->sglist[0]; inia100_build_scb()
994 struct orc_extended_scb *escb; inia100_scb_handler() local
996 escb = scb->escb; inia100_scb_handler()
997 if ((cmd = (struct scsi_cmnd *) escb->srb) == NULL) { inia100_scb_handler()
1002 escb->srb = NULL; inia100_scb_handler()
1041 (unsigned char *) &escb->sglist[0], SENSE_SIZE); inia100_scb_handler()
H A Da100u2w.h169 struct orc_extended_scb *escb; /*38 Extended SCB Pointer */ member in struct:orc_scb
/linux-4.4.14/drivers/scsi/aic94xx/
H A Daic94xx_task.c173 struct asd_ascb *escb; asd_get_response_tasklet() local
178 escb = asd_tc_index_find(&asd_ha->seq, asd_get_response_tasklet()
182 if (!escb) { asd_get_response_tasklet()
183 ASD_DPRINTK("Uh-oh! No escb for this dl?!\n"); asd_get_response_tasklet()
188 edb = asd_ha->seq.edb_arr[edb_id + escb->edb_index]; asd_get_response_tasklet()
209 asd_invalidate_edb(escb, edb_id); asd_get_response_tasklet()
H A Daic94xx_hwi.c320 struct asd_ascb *escb; asd_alloc_escbs() local
329 escb = asd_ascb_alloc_list(asd_ha, &escbs, gfp_flags); asd_alloc_escbs()
330 if (!escb) { asd_alloc_escbs()
337 for (i = 0; i < seq->num_escbs; i++, escb = list_entry(escb->list.next, asd_alloc_escbs()
340 seq->escb_arr[i] = escb; asd_alloc_escbs()
341 escb->scb->header.opcode = EMPTY_SCB; asd_alloc_escbs()
359 struct empty_scb *escb = &ascb->scb->escb; asd_assign_edbs2escbs() local
363 escb->num_valid = ASD_EDBS_PER_SCB; asd_assign_edbs2escbs()
366 struct sg_el *eb = &escb->eb[k]; asd_assign_edbs2escbs()
H A Daic94xx_scb.c385 struct empty_scb *escb = &ascb->scb->escb; asd_invalidate_edb() local
386 struct sg_el *eb = &escb->eb[edb_id]; asd_invalidate_edb()
391 escb->num_valid--; asd_invalidate_edb()
393 if (escb->num_valid == 0) { asd_invalidate_edb()
395 /* ASD_DPRINTK("reposting escb: vaddr: 0x%p, " asd_invalidate_edb()
404 escb->num_valid = ASD_EDBS_PER_SCB; asd_invalidate_edb()
406 escb->eb[i].flags = 0; asd_invalidate_edb()
411 asd_printk("couldn't post escb, err:%d\n", i); asd_invalidate_edb()
431 ASD_DPRINTK("escb: vaddr: 0x%p, " escb_tasklet_complete()
597 ASD_DPRINTK("escb: vaddr: 0x%p, " escb_tasklet_complete()
H A Daic94xx_tmf.c286 struct asd_ascb *escb; asd_get_tmf_resp_tasklet() local
295 escb = asd_tc_index_find(&asd_ha->seq, asd_get_tmf_resp_tasklet()
299 if (!escb) { asd_get_tmf_resp_tasklet()
300 ASD_DPRINTK("Uh-oh! No escb for this dl?!\n"); asd_get_tmf_resp_tasklet()
304 edb = asd_ha->seq.edb_arr[edb_id + escb->edb_index]; asd_get_tmf_resp_tasklet()
316 asd_invalidate_edb(escb, edb_id); asd_get_tmf_resp_tasklet()
H A Daic94xx_sas.h635 struct empty_scb escb; member in union:scb::__anon9148

Completed in 244 milliseconds