Lines Matching defs:ccb
190 struct pm8001_ccb_info *ccb);
192 struct pm8001_ccb_info *ccb);
194 struct pm8001_ccb_info *ccb);
203 struct pm8001_ccb_info *ccb);
205 struct pm8001_ccb_info *ccb, struct sas_tmf_task *tmf);
636 struct pm8001_ccb_info *ccb);
679 struct pm8001_ccb_info *ccb,
682 struct pm8001_ccb_info *ccb);
729 * Allocate a new tag and return the corresponding ccb after initializing it.
735 struct pm8001_ccb_info *ccb;
749 ccb = &pm8001_ha->ccb_info[tag];
750 ccb->task = task;
751 ccb->n_elem = 0;
752 ccb->ccb_tag = tag;
753 ccb->device = dev;
754 ccb->fw_control_context = NULL;
755 ccb->open_retry = 0;
757 return ccb;
761 * Free the tag of an initialized ccb.
764 struct pm8001_ccb_info *ccb)
766 u32 tag = ccb->ccb_tag;
769 * Cleanup the ccb to make sure that a manual scan of the adapter
770 * ccb_info array can detect ccb's that are in use.
773 ccb->task = NULL;
774 ccb->ccb_tag = PM8001_INVALID_TAG;
775 ccb->device = NULL;
776 ccb->fw_control_context = NULL;
782 struct pm8001_ccb_info *ccb)
784 struct sas_task *task = ccb->task;
786 pm8001_ccb_task_free(pm8001_ha, ccb);