/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | sadisc.c | 91 agsaPort_t *pPort; in saDeregisterDeviceHandle() local 119 pPort = pDevice->pPort; in saDeregisterDeviceHandle() 121 portid = pPort->portId; in saDeregisterDeviceHandle() 163 agsaPort_t *pPort; in siRemoveDevHandle() local 196 pPort = pDevice->pPort; in siRemoveDevHandle() 206 siPortDeviceRemove(agRoot, pPort, pDevice, agTRUE); in siRemoveDevHandle() 254 agsaPort_t *pPort = (agsaPort_t *) (agPortContext->sdkData); in saGetDeviceHandles() local 258 OS_ASSERT(pPort != agNULL, "saGetDeviceHandles is NULL"); in saGetDeviceHandles() 261 if (pPort == agNULL) in saGetDeviceHandles() 268 SA_DBG1(("saGetDeviceHandles: start portId %d\n", pPort->portId)); in saGetDeviceHandles() [all …]
|
H A D | saport.c | 61 agsaPort_t *pPort, in siPortSASDeviceAdd() argument 80 SA_ASSERT((agNULL != pPort), ""); in siPortSASDeviceAdd() 113 … SA_DBG3(("siPortSASDeviceAdd: Device Type 0x%x, Port Context %p\n", pDevice->deviceType, pPort)); in siPortSASDeviceAdd() 114 pDevice->pPort = pPort; in siPortSASDeviceAdd() 133 saLlistAdd(&(pPort->listSASATADevices), &(pDevice->linkNode)); in siPortSASDeviceAdd() 170 agsaPort_t *pPort, in siPortDeviceRemove() argument 182 SA_ASSERT((agNULL != pPort), ""); in siPortDeviceRemove() 190 saLlistRemove(&(pPort->listSASATADevices), &(pDevice->linkNode)); in siPortDeviceRemove() 193 pDevice->pPort = agNULL; in siPortDeviceRemove() 239 agsaPort_t *pPort, in siPortSATADeviceAdd() argument [all …]
|
H A D | saphy.c | 324 agsaPort_t *pPort; in siPhyStopCB() local 349 pPort = pPhy->pPort; in siPhyStopCB() 355 if ( agNULL != pPort ) in siPhyStopCB() 361 pPort->status |= PORT_INVALIDATING; in siPhyStopCB() 364 siPortInvalid(agRoot, pPort); 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() 370 … ossaHwCB(agRoot, &(pPort->portContext), OSSA_HW_EVENT_PHY_STOP_STATUS, status, agContext, agNULL); in siPhyStopCB() 382 if ( agNULL != pPort ) in siPhyStopCB() [all …]
|
H A D | saint.c | 1971 agsaPort_t *pPort; in siSMPRespRcvd() local 1980 pPort = pRequest->pPort; in siSMPRespRcvd() 1981 SA_ASSERT(pPort, "pPort"); in siSMPRespRcvd() 2079 agsaPort_t *pPort; in siEventPhyUpRcvd() local 2102 pPort = (agsaPort_t *) (agPortContext->sdkData); in siEventPhyUpRcvd() 2103 pPort->portId = portId; in siEventPhyUpRcvd() 2106 pPort->phyMap[phyId] = agTRUE; in siEventPhyUpRcvd() 2108 saRoot->phys[phyId].pPort = pPort; in siEventPhyUpRcvd() 2113 pPort->status &= ~PORT_INVALIDATING; in siEventPhyUpRcvd() 2123 pPort = (agsaPort_t *) saLlistGetHead(&(saRoot->freePorts)); in siEventPhyUpRcvd() [all …]
|
H A D | sasata.c | 73 agsaPort_t *pPort = agNULL; in saSATAStart() local 105 pPort = pDevice->pPort; in saSATAStart() 106 SA_ASSERT((agNULL != pPort), "(saSATAStart) pPort is NULL"); in saSATAStart() 151 pRequest->pPort = pPort; in saSATAStart() 607 agsaPort_t *pPort = agNULL; in saSATAAbort() local 667 pPort = pDevice->pPort; in saSATAAbort() 681 pPort = pDevice->pPort; in saSATAAbort() 718 pRequest->pPort = pPort; in saSATAAbort()
|
H A D | sampirsp.c | 1012 agsaPort_t *pPort; in mpiPhyStopEvent() local 1079 pPort = pPhy->pPort; in mpiPhyStopEvent() 1080 if ( agNULL != pPort ) in mpiPhyStopEvent() 1084 pPort->status |= PORT_INVALIDATING; in mpiPhyStopEvent() 1085 saRoot->PortMap[pPort->portId].PortStatus |= PORT_INVALIDATING; in mpiPhyStopEvent() 1087 siPortInvalid(agRoot, pPort); in mpiPhyStopEvent() 1089 saRoot->PortMap[pPort->portId].PortContext = agNULL; in mpiPhyStopEvent() 1090 saRoot->PortMap[pPort->portId].PortID = PORT_MARK_OFF; in mpiPhyStopEvent() 1091 saRoot->PortMap[pPort->portId].PortStatus |= PORT_INVALIDATING; in mpiPhyStopEvent() 1092 …ossaHwCB(agRoot,&(pPort->portContext) , OSSA_HW_EVENT_PHY_STOP_STATUS, ((HwCBStatus << SHIFT8) | p… in mpiPhyStopEvent() [all …]
|
H A D | satypes.h | 82 agsaPort_t *pPort; /**< pointer to the port includes the phy */ member 116 agsaPort_t *pPort; /**< the port discovered the device */ member 135 …agsaPort_t *pPort; /**< the pointer to the port - using by HW_EVENT_ACK with PHY… member
|
H A D | sasmp.c | 75 agsaPort_t *pPort; in saSMPStart() local 119 pPort = pDevice->pPort; in saSMPStart() 165 pRequest->pPort = pPort; in saSMPStart() 224 …viceMapIndex 0x%x portId 0x%x portId 0x%x\n",pDevice->DeviceMapIndex,pPort->portId,pPort->portId)); in saSMPStart()
|
H A D | sainit.c | 314 agsaPort_t *pPort; in saInitialize() local 768 pDeviceDesc->pPort = agNULL; in saInitialize() 805 pRequestDesc->pPort = agNULL; in saInitialize() 860 saRoot->phys[i].pPort = agNULL; in saInitialize() 875 pPort = &(saRoot->ports[i]); in saInitialize() 877 saLlinkInitialize(&(pPort->linkNode)); in saInitialize() 879 pPort->portContext.osData = agNULL; in saInitialize() 880 pPort->portContext.sdkData = pPort; in saInitialize() 881 pPort->portId = 0; in saInitialize() 882 pPort->portIdx = (bit8) i; in saInitialize() [all …]
|
H A D | sassp.c | 595 agsaPort_t *pPort = agNULL; in saSSPStart() local 629 pPort = pDevice->pPort; in saSSPStart() 752 pRequest->pPort = pPort; in saSSPStart() 1693 agsaPort_t *pPort = NULL; in saSSPAbort() local 1757 pPort = pDevice->pPort; in saSSPAbort() 1790 pPort = pDevice->pPort; in saSSPAbort() 1842 pRequest->pPort = pPort; in saSSPAbort()
|
H A D | saproto.h | 137 agsaPort_t *pPort 142 agsaPort_t *pPort, 154 agsaPort_t *pPort, 161 agsaPort_t *pPort, 175 agsaPort_t *pPort,
|
H A D | saioctlcmd.c | 3362 agsaPort_t *pPort; in saSendSMPIoctl() local 3417 pPort = pDevice->pPort; in saSendSMPIoctl() 3441 pRequest->pPort = pPort; in saSendSMPIoctl()
|