Lines Matching refs:fc
278 agsaFastCommand_t *fc,
299 agRoot = (agsaRoot_t*)fc->agRoot;
331 pDevice = (agsaDeviceDesc_t*)(((agsaDevHandle_t*)fc->devHandle)->sdkData);
333 ret = siFastSSPResAlloc(agRoot, fc->queueNum, fc->agRequestType,
343 inq = INQ(fc->queueNum);
344 outq = OUQ(fc->queueNum);
352 pRequest->requestType = fc->agRequestType;
357 pSgl = fc->agSgl;
359 switch (fc->agRequestType)
378 si_memcpy(piu->lun, fc->lun, sizeof(piu->lun));
379 si_memcpy(piu->cdb, fc->cdb, sizeof(piu->cdb));
380 piu->efb_tp_taskAttribute = fc->taskAttribute;
381 piu->additionalCdbLen = fc->additionalCdbLen;
384 Dir = fc->agRequestType & AGSA_DIR_MASK;
387 Dir |= fc->flag & TLR_MASK;
388 if (fc->agRequestType & AGSA_MSG)
395 if (fc->dataLength)
435 sspiul = sizeof(agsaSSPCmdInfoUnit_t) + (fc->additionalCdbLen & 0xFC);
440 si_memcpy(piu->lun, fc->lun, sizeof(piu->lun));
441 si_memcpy(piu->cdb, fc->cdb, MIN(sizeof(piu->cdb),
442 16 + fc->additionalCdbLen));
443 piu->efb_tp_taskAttribute = fc->taskAttribute;
444 piu->additionalCdbLen = fc->additionalCdbLen;
447 Dir |= fc->agRequestType & AGSA_DIR_MASK;
450 Dir |= fc->flag & TLR_MASK;
451 if (fc->agRequestType & AGSA_MSG)
458 if (fc->dataLength)
488 OSSA_WRITE_LE_32(agRoot, pMessage, offsetDataLen, fc->dataLength);