Home
last modified time | relevance | path

Searched refs:pDevice (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsadisc.c90 agsaDeviceDesc_t *pDevice; in saDeregisterDeviceHandle() local
106 pDevice = (agsaDeviceDesc_t *) (agDevHandle->sdkData); in saDeregisterDeviceHandle()
108 OS_ASSERT(pDevice != agNULL, "saDeregisterDeviceHandle pDevice is NULL"); in saDeregisterDeviceHandle()
109 if(pDevice == agNULL) in saDeregisterDeviceHandle()
116 deviceid = pDevice->DeviceMapIndex; in saDeregisterDeviceHandle()
119 pPort = pDevice->pPort; in saDeregisterDeviceHandle()
124 SA_DBG1(("saDeregisterDeviceHandle: deviceId 0x%x Device Context %p\n", deviceid, pDevice)); in saDeregisterDeviceHandle()
127 (pDevice != saRoot->DeviceMap[deviceIdx].DeviceHandle)) in saDeregisterDeviceHandle()
136 ret = mpiDeregDevHandleCmd(agRoot, agContext, pDevice, deviceid, portid, queueNum); in saDeregisterDeviceHandle()
162 agsaDeviceDesc_t *pDevice = (agsaDeviceDesc_t *) (agDevHandle->sdkData); in siRemoveDevHandle() local
[all …]
H A Dsaport.c72 agsaDeviceDesc_t *pDevice; in siPortSASDeviceAdd() local
86 pDevice = (agsaDeviceDesc_t *) saLlistGetHead(&(saRoot->freeDevicesList)); in siPortSASDeviceAdd()
89 if ( agNULL != pDevice) in siPortSASDeviceAdd()
94 saLlistRemove(&(saRoot->freeDevicesList), &(pDevice->linkNode)); in siPortSASDeviceAdd()
99 pDevice->initiatorDevHandle.sdkData = pDevice; in siPortSASDeviceAdd()
100 pDevice->targetDevHandle.sdkData = agNULL; in siPortSASDeviceAdd()
104 pDevice->initiatorDevHandle.sdkData = agNULL; in siPortSASDeviceAdd()
105 pDevice->targetDevHandle.sdkData = pDevice; in siPortSASDeviceAdd()
108 pDevice->initiatorDevHandle.osData = agNULL; in siPortSASDeviceAdd()
109 pDevice->targetDevHandle.osData = agNULL; in siPortSASDeviceAdd()
[all …]
H A Dsasata.c72 agsaDeviceDesc_t *pDevice = agNULL; in saSATAStart() local
102 pDevice = (agsaDeviceDesc_t *) (agDevHandle->sdkData); in saSATAStart()
103 SA_ASSERT((agNULL != pDevice), "(saSATAStart) pDevice is NULL"); in saSATAStart()
105 pPort = pDevice->pPort; in saSATAStart()
115 deviceIndex = pDevice->DeviceMapIndex; in saSATAStart()
128 saLlistIOAdd(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSATAStart()
150 pRequest->pDevice = pDevice; in saSATAStart()
177 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSATAStart()
196 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSATAStart()
605 agsaDeviceDesc_t *pDevice = agNULL; in saSATAAbort() local
[all …]
H A Dsasmp.c74 agsaDeviceDesc_t *pDevice; in saSMPStart() local
117 pDevice = (agsaDeviceDesc_t *) (agDevHandle->sdkData); in saSMPStart()
119 pPort = pDevice->pPort; in saSMPStart()
157 saLlistIOAdd(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSMPStart()
164 pRequest->pDevice = pDevice; in saSMPStart()
193 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSMPStart()
211 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSMPStart()
224 …SA_DBG2(("saSMPStart:DeviceMapIndex 0x%x portId 0x%x portId 0x%x\n",pDevice->DeviceMapIndex,pPort-… in saSMPStart()
267 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, deviceId), pDevice->DeviceMapIndex… in saSMPStart()
290 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSMPStart()
[all …]
H A Dsampirsp.c2021 agsaDeviceDesc_t *pDevice; in mpiGetDevHandleRsp() local
2059 pDevice = (agsaDeviceDesc_t *)saRoot->DeviceMap[deviceid & DEVICE_ID_BITS].DeviceHandle; in mpiGetDevHandleRsp()
2060 if (pDevice->targetDevHandle.sdkData) in mpiGetDevHandleRsp()
2061 saRoot->DeviceHandle[i] = &(pDevice->targetDevHandle); in mpiGetDevHandleRsp()
2063 saRoot->DeviceHandle[i] = &(pDevice->initiatorDevHandle); in mpiGetDevHandleRsp()
2194 agsaDeviceDesc_t *pDevice = agNULL; in mpiDeviceRegRsp() local
2223 pDevice = pRequest->pDevice; in mpiDeviceRegRsp()
2234 SA_DBG3(("mpiDeviceRegRsp: deviceID 0x%x Device Context %p\n", deviceId, pDevice)); in mpiDeviceRegRsp()
2236 if (agNULL == pDevice) in mpiDeviceRegRsp()
2337 saRoot->DeviceMap[deviceIdx].DeviceHandle = (void *)pDevice; in mpiDeviceRegRsp()
[all …]
H A Dsassp.c137 agsaDeviceDesc_t *pDevice, in siFastSSPResAlloc() argument
205 saLlistIOAdd(&pDevice->pendingIORequests, &(*pRequest)->linkNode); in siFastSSPResAlloc()
250 agsaDeviceDesc_t *pDevice; in saFastSSPCancel() local
253 pDevice = ior->pDevice; in saFastSSPCancel()
254 saLlistIORemove(&pDevice->pendingIORequests, &ior->linkNode); in saFastSSPCancel()
285 agsaDeviceDesc_t *pDevice; in saFastSSPPrepare() local
330 pDevice = (agsaDeviceDesc_t*)(((agsaDevHandle_t*)fc->devHandle)->sdkData); in saFastSSPPrepare()
333 pDevice, &pRequest, &pMessage); in saFastSSPPrepare()
346 SA_DBG3(("saFastSSPPrepare: deviceId %d\n", pDevice->DeviceMapIndex)); in saFastSSPPrepare()
350 pRequest->pDevice = pDevice; in saFastSSPPrepare()
[all …]
H A Dsaint.c1475 agsaDeviceDesc_t *pDevice; in siEventSSPResponseWtDataRcvd() local
1487 pDevice = pRequest->pDevice; in siEventSSPResponseWtDataRcvd()
1491 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in siEventSSPResponseWtDataRcvd()
1556 agsaDeviceDesc_t *pDevice = agNULL; in siIODone() local
1566 pDevice = pRequest->pDevice; in siIODone()
1583 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in siIODone()
1609 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in siIODone()
1631 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in siIODone()
1686 agsaDeviceDesc_t *pDevice; in siAbnormal() local
1704 pDevice = pRequest->pDevice; in siAbnormal()
[all …]
H A Dsautil.c190 pRequestDesc->pDevice ? pRequestDesc->pDevice->DeviceMapIndex : 0, in siDumpActiveIORequests()
284 if (pRequestDesc->pDevice) in siClearActiveIORequestsOnDevice()
286 if (pRequestDesc->pDevice->DeviceMapIndex == device) in siClearActiveIORequestsOnDevice()
335 if (pRequestDesc->pDevice) in siCountActiveIORequestsOnDevice()
337 if (pRequestDesc->pDevice->DeviceMapIndex == device) in siCountActiveIORequestsOnDevice()
H A Dsaproto.h155 agsaDeviceDesc_t *pDevice,
176 agsaDeviceDesc_t *pDevice
650 agsaDeviceDesc_t *pDevice,
H A Dsatypes.h134 …agsaDeviceDesc_t *pDevice; /**< the pointer to the device, to which the request is sent … member
H A Dsaioctlcmd.c3360 agsaDeviceDesc_t *pDevice; in saSendSMPIoctl() local
3415 pDevice = (agsaDeviceDesc_t *) (agDevHandle->sdkData); in saSendSMPIoctl()
3417 pPort = pDevice->pPort; in saSendSMPIoctl()
3433 saLlistIOAdd(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSendSMPIoctl()
3440 pRequest->pDevice = pDevice; in saSendSMPIoctl()
3469 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSendSMPIoctl()
3487 saLlistIORemove(&(pDevice->pendingIORequests), &(pRequest->linkNode)); in saSendSMPIoctl()
3510 …OSSA_WRITE_LE_32(agRoot, &payload, OSSA_OFFSET_OF(agsaSMPCmd_t, deviceId), pDevice->DeviceMapIndex… in saSendSMPIoctl()
3568 …OSSA_WRITE_LE_32(agRoot, &vpayload, OSSA_OFFSET_OF(agsaSMPCmd_V_t, deviceId), pDevice->DeviceMapIn… in saSendSMPIoctl()
H A Dsampicmd.c967 agsaDeviceDesc_t *pDevice, in mpiDeregDevHandleCmd() argument
995 pRequest->pDevice = pDevice; in mpiDeregDevHandleCmd()
H A Dsainit.c804 pRequestDesc->pDevice = agNULL; in saInitialize()
3890 pRequestDesc->pDevice = agNULL; in siInitResources()
/freebsd/sys/dev/qat/qat_api/device/
H A Ddev_info.c36 icp_accel_dev_t *pDevice = NULL; in cpaGetDeviceInfo() local
62 pDevice = icp_adf_getAccelDevByAccelId(device); in cpaGetDeviceInfo()
63 if (NULL == pDevice) { in cpaGetDeviceInfo()
69 deviceInfo->sku = pDevice->sku; in cpaGetDeviceInfo()
70 deviceInfo->deviceId = pDevice->pciDevId; in cpaGetDeviceInfo()
71 deviceInfo->bdf = icp_adf_get_busAddress(pDevice->accelId); in cpaGetDeviceInfo()
72 deviceInfo->numaNode = pDevice->pkg_id; in cpaGetDeviceInfo()
74 if (DEVICE_DH895XCCVF == pDevice->deviceType || in cpaGetDeviceInfo()
75 DEVICE_C62XVF == pDevice->deviceType || in cpaGetDeviceInfo()
76 DEVICE_C3XXXVF == pDevice->deviceType || in cpaGetDeviceInfo()
[all …]
/freebsd/sys/dev/qat/qat_api/common/utils/
H A Dsal_versions.c126 icp_accel_dev_t *pDevice = NULL; in icp_sal_getDevVersionInfo() local
152 pDevice = (icp_accel_dev_t *)pAccel_dev[index]; in icp_sal_getDevVersionInfo()
154 if (pDevice->accelId == devId) { in icp_sal_getDevVersionInfo()
155 status = SalVersions_FillVersionInfo(pDevice, in icp_sal_getDevVersionInfo()
/freebsd/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.c2280 ag_device_t *pDevice = NULL; in agtiapi_StartTM() local
2346 pDevice = &pCard->pDevList[INDEX(pCard, pTMccb->targetId)]; in agtiapi_StartTM()
2347 if ((pDevice == NULL) || !(pDevice->flags & ACTIVE)) in agtiapi_StartTM()
3907 ag_device_t *pDevice; in agtiapi_CheckError() local
3926 pDevice = NULL; in agtiapi_CheckError()
3934 pDevice = &pmcsc->pDevList[TID]; in agtiapi_CheckError()
3935 if (pDevice != NULL) in agtiapi_CheckError()
3952 if(pDevice->CCBCount > 0){ in agtiapi_CheckError()
3953 atomic_subtract_int(&pDevice->CCBCount,1); in agtiapi_CheckError()
4097 agtiapi_HandleEncryptedIOFailure(pDevice, pccb); in agtiapi_CheckError()
[all …]
H A Dagtiproto.h69 STATIC int wwncpy(ag_device_t *pDevice);
H A Dosapi.c768 ag_device_t *pDevice = (ag_device_t *)tiDeviceHandle->osData; in ostiSetDeviceQueueDepth() local
771 pDevice->qdepth = QueueDepth; in ostiSetDeviceQueueDepth()
/freebsd/sys/dev/hptmv/
H A Dentry.c202 PDevice pDevice = &pCmd->pVDevice->u.disk; in handleEdmaError() local
203 MV_SATA_ADAPTER * pSataAdapter = pDevice->mv->mvSataAdapter; in handleEdmaError()
205 if (!pDevice->df_on_line) { in handleEdmaError()
213 hpt_printk(("too many retries on channel(%d)\n", pDevice->mv->channelNumber)); in handleEdmaError()
222 if (MvSataResetChannel(pSataAdapter, pDevice->mv->channelNumber)) in handleEdmaError()
225 fNotifyGUI(ET_DEVICE_ERROR, Map2pVDevice(pDevice)); in handleEdmaError()
227 hpt_printk(("Retry on channel(%d)\n", pDevice->mv->channelNumber)); in handleEdmaError()
1708 PDevice pDevice = &pVDevice->u.disk; in fDeviceSendCommand() local
1723 if (!pDevice->df_on_line) { in fDeviceSendCommand()
1730 pDevice in fDeviceSendCommand()
[all...]
H A Dvdevice.h206 void HPTLIBAPI OsSetDeviceTable(PDevice pDevice, PIDENTIFY_DATA pIdentify);
215 void OsReturnTable(PDevice pDevice);
H A Darray.h215 void HPTLIBAPI fCheckArray(PDevice pDevice);