Lines Matching refs:pCardInfo

454   CardInfo_t       *pCardInfo;  in agtiapi_getCardInfo()  local
456 pCardInfo = (CardInfo_t *)buffer; in agtiapi_getCardInfo()
458 pCardInfo->deviceId = pci_get_device(pCard->my_dev); in agtiapi_getCardInfo()
459 pCardInfo->vendorId =pci_get_vendor(pCard->my_dev) ; in agtiapi_getCardInfo()
460 memcpy( pCardInfo->pciMemBaseSpc, in agtiapi_getCardInfo()
461 pCard->pCardInfo->pciMemBaseSpc, in agtiapi_getCardInfo()
463 pCardInfo->deviceNum = pci_get_slot(pCard->my_dev); in agtiapi_getCardInfo()
464 pCardInfo->pciMemBase = pCard->pCardInfo->pciMemBase; in agtiapi_getCardInfo()
465 pCardInfo->pciIOAddrLow = pCard->pCardInfo->pciIOAddrLow; in agtiapi_getCardInfo()
466 pCardInfo->pciIOAddrUp = pCard->pCardInfo->pciIOAddrUp; in agtiapi_getCardInfo()
467 pCardInfo->busNum =pci_get_bus(pCard->my_dev); in agtiapi_getCardInfo()
797 pmsc->pCardInfo = thisCardInst; in agtiapi_attach()
799 pmsc->pCardInfo->pCard = (void *)pmsc; in agtiapi_attach()
855 if(ag_encryption_enable && pci_get_device(pmsc->pCardInfo->pPCIDev) == in agtiapi_attach()
1056 pmsc->pCardInfo->maxInterruptVectors = MAX_MSIX_NUM_VECTOR; in agtiapi_attach()
1124 ag_card_info_t *thisCardInst = pmsc->pCardInfo; in agtiapi_InitCardSW()
1143 if (pci_get_device(pmsc->pCardInfo->pPCIDev) == in agtiapi_InitCardSW()
1155 maxInterruptVectors = pmsc->pCardInfo->maxInterruptVectors; in agtiapi_InitCardSW()
1157 pmsc->pCardInfo->maxInterruptVectors ); in agtiapi_InitCardSW()
1367 AG_LOCAL_LOCK(&(pCard->pCardInfo->pmIOLock)); in agtiapi_IntrHandlerx_()
1377 AG_LOCAL_UNLOCK(&(pCard->pCardInfo->pmIOLock)); in agtiapi_IntrHandlerx_()
1393 AG_LOCAL_UNLOCK(&(pCard->pCardInfo->pmIOLock)); in agtiapi_IntrHandlerx_()
1647 &pmcsc->pCardInfo->pmIOLock, // lockarg in agtiapi_alloc_requests()
1701 next_tick = pmcsc->pCardInfo->tiRscInfo.tiLoLevelResource. in agtiapi_alloc_requests()
1769 ag_card_info_t *pCardInfo = pmcsc->pCardInfo; in agtiapi_alloc_ostimem() local
1773 pMem = &pCardInfo->dynamicMem[idx]; in agtiapi_alloc_ostimem()
1776 pCardInfo->freeDynamicMem[idx] = &pCardInfo->dynamicMem[idx]; in agtiapi_alloc_ostimem()
1779 pCardInfo->topOfFreeDynamicMem = AGTIAPI_DYNAMIC_MAX; in agtiapi_alloc_ostimem()
1814 mtx_assert( &(pmcsc->pCardInfo->pmIOLock), MA_OWNED ); in agtiapi_cam_action()
4591 pci_free_consistent( pmcsc->pCardInfo->pPCIDev, in agtiapi_FreeCCB()
4803 for (i = 0; i < pCard->pCardInfo->maxInterruptVectors; i++) in agtiapi_CheckAllVectors()
4839 U32 msecsPerTick = pCard->pCardInfo->tiRscInfo.tiInitiatorResource. in agtiapi_CheckCB()
5676 mtx_lock(&(pmcsc->pCardInfo->pmIOLock)); in agtiapi_scan()
5680 mtx_unlock(&(pmcsc->pCardInfo->pmIOLock)); in agtiapi_scan()
5686 mtx_unlock(&(pmcsc->pCardInfo->pmIOLock)); in agtiapi_scan()
5691 mtx_unlock(&(pmcsc->pCardInfo->pmIOLock)); in agtiapi_scan()
5893 next_tick = pCard->pCardInfo->tiRscInfo.tiLoLevelResource. in agtiapi_TITimer()
6345 ag_card_info_t *pCardInfo = pCard->pCardInfo; in agtiapi_ReleaseHBA() local
6352 if (thisCardInst != pCardInfo) in agtiapi_ReleaseHBA()
6357 pCardInfo ); in agtiapi_ReleaseHBA()
6361 pCardInfo ); in agtiapi_ReleaseHBA()
6500 agtiapi_MemFree(pCardInfo); in agtiapi_ReleaseHBA()
6606 memset((void *)pCardInfo, 0, sizeof(ag_card_info_t)); in agtiapi_ReleaseHBA()