Lines Matching refs:saRoot

68   agsaLLRoot_t        *saRoot = (agsaLLRoot_t *)(agRoot->sdkData);  in saPhyStart()  local
85 if ( phyId >= saRoot->phyCount ) in saPhyStart()
94 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeIORequests)); /* */ in saPhyStart()
98 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeReservedRequests)); in saPhyStart()
118 saLlistIORemove(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saPhyStart()
123 saLlistIORemove(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saPhyStart()
127 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saPhyStart()
128 saRoot->IOMap[pRequest->HTag].IORequest = (void *)pRequest; in saPhyStart()
129 saRoot->IOMap[pRequest->HTag].agContext = agContext; in saPhyStart()
141 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saPhyStart()
142 saRoot->IOMap[pRequest->HTag].IORequest = agNULL; in saPhyStart()
143 saRoot->IOMap[pRequest->HTag].agContext = agNULL; in saPhyStart()
148 if(saLlistIOGetCount(&(saRoot->freeReservedRequests)) < SA_RESERVED_REQUEST_COUNT) in saPhyStart()
151 saLlistIOAdd(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saPhyStart()
156 saLlistIOAdd(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saPhyStart()
189 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saPhyStop() local
206 for ( i = 0; i < saRoot->QueueConfig.numOutboundQueues; i++ ) in saPhyStop()
208 circularQ = &saRoot->outboundQueue[i]; in saPhyStop()
222 if ( (phyId & 0xF) >= saRoot->phyCount ) in saPhyStop()
232 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeIORequests)); /**/ in saPhyStop()
236 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeReservedRequests)); in saPhyStop()
254 saLlistIORemove(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saPhyStop()
258 saLlistIORemove(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saPhyStop()
262 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saPhyStop()
263 saRoot->IOMap[pRequest->HTag].IORequest = (void *)pRequest; in saPhyStop()
264 saRoot->IOMap[pRequest->HTag].agContext = agContext; in saPhyStop()
272 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saPhyStop()
273 saRoot->IOMap[pRequest->HTag].IORequest = agNULL; in saPhyStop()
274 saRoot->IOMap[pRequest->HTag].agContext = agNULL; in saPhyStop()
278 if(saLlistIOGetCount(&(saRoot->freeReservedRequests)) < SA_RESERVED_REQUEST_COUNT) in saPhyStop()
281 saLlistIOAdd(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saPhyStop()
286 saLlistIOAdd(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saPhyStop()
322 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in siPhyStopCB() local
334 if ( phyId >= saRoot->phyCount ) in siPhyStopCB()
346 pPhy = &(saRoot->phys[phyId]); in siPhyStopCB()
362 saRoot->PortMap[portId].PortStatus |= PORT_INVALIDATING; in siPhyStopCB()
366 saRoot->PortMap[pPort->portId].PortContext = agNULL; in siPhyStopCB()
367 saRoot->PortMap[pPort->portId].PortID = PORT_MARK_OFF; in siPhyStopCB()
368 saRoot->PortMap[pPort->portId].PortStatus |= PORT_INVALIDATING; in siPhyStopCB()
389 saRoot->phys[phyId].pPort = agNULL; in siPhyStopCB()
428 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saLocalPhyControl() local
438 SA_ASSERT((agNULL != saRoot), ""); in saLocalPhyControl()
439 if(saRoot == agNULL) in saLocalPhyControl()
459 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeIORequests)); /**/ in saLocalPhyControl()
464 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeReservedRequests)); in saLocalPhyControl()
481 saLlistIORemove(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saLocalPhyControl()
485 saLlistIORemove(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saLocalPhyControl()
491 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saLocalPhyControl()
492 saRoot->IOMap[pRequest->HTag].IORequest = (void *)pRequest; in saLocalPhyControl()
493 saRoot->IOMap[pRequest->HTag].agContext = agContext; in saLocalPhyControl()
502 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saLocalPhyControl()
503 saRoot->IOMap[pRequest->HTag].IORequest = agNULL; in saLocalPhyControl()
504 saRoot->IOMap[pRequest->HTag].agContext = agNULL; in saLocalPhyControl()
509 if(saLlistIOGetCount(&(saRoot->freeReservedRequests)) < SA_RESERVED_REQUEST_COUNT) in saLocalPhyControl()
512 saLlistIOAdd(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saLocalPhyControl()
517 saLlistIOAdd(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saLocalPhyControl()
536 if ( phyId >= saRoot->phyCount ) in saLocalPhyControl()
686 if ( phyId >= saRoot->phyCount ) in saLocalPhyControl()
832 agsaLLRoot_t *saRoot = agNULL; in saGetPhyProfile() local
839 saRoot = (agsaLLRoot_t *) (agRoot->sdkData); in saGetPhyProfile()
840 SA_ASSERT((agNULL != saRoot), ""); in saGetPhyProfile()
842 if(saRoot == agNULL) in saGetPhyProfile()
867 if ( phyId >= saRoot->phyCount ) in saGetPhyProfile()
1012 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saHwEventAck() local
1024 SA_ASSERT((agNULL != saRoot), ""); in saHwEventAck()
1025 if(saRoot == agNULL) in saHwEventAck()
1038 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeIORequests)); /**/ in saHwEventAck()
1043 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeReservedRequests)); /**/ in saHwEventAck()
1060 saLlistIORemove(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saHwEventAck()
1065 saLlistIORemove(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saHwEventAck()
1072 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saHwEventAck()
1073 saRoot->IOMap[pRequest->HTag].IORequest = (void *)pRequest; in saHwEventAck()
1074 saRoot->IOMap[pRequest->HTag].agContext = agContext; in saHwEventAck()
1178 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saHwEventAck()
1179 saRoot->IOMap[pRequest->HTag].IORequest = agNULL; in saHwEventAck()
1180 saRoot->IOMap[pRequest->HTag].agContext = agNULL; in saHwEventAck()
1185 if(saLlistIOGetCount(&(saRoot->freeReservedRequests)) < SA_RESERVED_REQUEST_COUNT) in saHwEventAck()
1188 saLlistIOAdd(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saHwEventAck()
1193 saLlistIOAdd(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saHwEventAck()
1216 agsaLLRoot_t *saRoot = (agsaLLRoot_t *)(agRoot->sdkData); in saVhistCapture() local
1231 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeIORequests)); /* */ in saVhistCapture()
1235 pRequest = (agsaIORequestDesc_t *)saLlistIOGetHead(&(saRoot->freeReservedRequests)); in saVhistCapture()
1255 saLlistIORemove(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saVhistCapture()
1260 saLlistIORemove(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saVhistCapture()
1264 saRoot->IOMap[pRequest->HTag].Tag = pRequest->HTag; in saVhistCapture()
1265 saRoot->IOMap[pRequest->HTag].IORequest = (void *)pRequest; in saVhistCapture()
1266 saRoot->IOMap[pRequest->HTag].agContext = agContext; in saVhistCapture()
1275 saRoot->IOMap[pRequest->HTag].Tag = MARK_OFF; in saVhistCapture()
1276 saRoot->IOMap[pRequest->HTag].IORequest = agNULL; in saVhistCapture()
1277 saRoot->IOMap[pRequest->HTag].agContext = agNULL; in saVhistCapture()
1282 if(saLlistIOGetCount(&(saRoot->freeReservedRequests)) < SA_RESERVED_REQUEST_COUNT) in saVhistCapture()
1285 saLlistIOAdd(&(saRoot->freeReservedRequests), &(pRequest->linkNode)); in saVhistCapture()
1290 saLlistIOAdd(&(saRoot->freeIORequests), &(pRequest->linkNode)); in saVhistCapture()