Lines Matching defs:ccb

52 		struct pm8001_ccb_info *ccb;
53 ccb = task->lldd_task;
54 *tag = ccb->ccb_tag;
296 * @ccb: the ccb which attached to smp task
299 struct pm8001_ccb_info *ccb)
301 return PM8001_CHIP_DISP->smp_req(pm8001_ha, ccb);
323 * @ccb: the ccb which attached to sata task
326 struct pm8001_ccb_info *ccb)
328 return PM8001_CHIP_DISP->sata_req(pm8001_ha, ccb);
334 * @ccb: the ccb which attached to TM
338 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf)
340 return PM8001_CHIP_DISP->ssp_tm_req(pm8001_ha, ccb, tmf);
346 * @ccb: the ccb which attached to ssp task
349 struct pm8001_ccb_info *ccb)
351 return PM8001_CHIP_DISP->ssp_io_req(pm8001_ha, ccb);
388 struct pm8001_ccb_info *ccb;
436 ccb = &pm8001_ha->ccb_info[tag];
453 t->lldd_task = ccb;
454 ccb->n_elem = n_elem;
455 ccb->ccb_tag = tag;
456 ccb->task = t;
457 ccb->device = pm8001_dev;
461 rc = pm8001_task_prep_smp(pm8001_ha, ccb);
467 ccb, tmf);
469 rc = pm8001_task_prep_ssp(pm8001_ha, ccb);
474 rc = pm8001_task_prep_ata(pm8001_ha, ccb);
521 * pm8001_ccb_task_free - free the sg for ssp and smp command, free the ccb.
523 * @ccb: the ccb which attached to ssp task
525 * @ccb_idx: ccb index.
528 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx)
530 if (!ccb->task)
533 if (ccb->n_elem)
553 ccb->task = NULL;
554 ccb->ccb_tag = 0xFFFFFFFF;
555 ccb->open_retry = 0;
756 struct pm8001_ccb_info *ccb = task->lldd_task;
761 if (ccb)
762 ccb->task = NULL;
808 struct pm8001_ccb_info *ccb;
826 ccb = &pm8001_ha->ccb_info[ccb_tag];
827 ccb->device = pm8001_dev;
828 ccb->ccb_tag = ccb_tag;
829 ccb->task = task;
830 ccb->n_elem = 0;
940 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[i];
942 pm8001_dev = ccb->device;
953 tag = ccb->ccb_tag;
956 task = ccb->task;
976 pm8001_ccb_task_free(pm8001_ha, task, ccb, tag);
980 pm8001_ccb_task_free(pm8001_ha, task, ccb, tag);
1178 /* mandatory SAM-3, still need free task/ccb info, abort the specified task */
1285 * is removed from the ccb. on success the caller is