Searched refs:pCardInfo (Results 1 – 6 of 6) sorted by relevance
60 ag_card_info_t *pCardInfo = TIROOT_TO_CARDINFO( ptiRoot ); in ostiAllocMemory() local68 if( pCardInfo->topOfFreeDynamicMem == 0 ) { in ostiAllocMemory()74 pMem = pCardInfo->freeDynamicMem[pCardInfo->topOfFreeDynamicMem - 1]; in ostiAllocMemory()98 pCardInfo->topOfFreeDynamicMem--; in ostiAllocMemory()197 ag_card_info_t *pCardInfo; in ostiChipReadBit32() local199 pCardInfo = TIROOT_TO_CARDINFO(ptiRoot); in ostiChipReadBit32()200 data = *(U32 *)(pCardInfo->pciMemVirtAddr + chipOffset); in ostiChipReadBit32()216 ag_card_info_t *pCardInfo; in ostiChipWriteBit32() local217 pCardInfo = TIROOT_TO_CARDINFO(ptiRoot); in ostiChipWriteBit32()218 *(U32 *)(pCardInfo->pciMemVirtAddr + chipOffset) = chipValue; in ostiChipWriteBit32()[all …]
586 STATIC void agtiapi_ReleasePCIMem( ag_card_info_t *pCardInfo ) { in agtiapi_ReleasePCIMem() argument591 dev = pCardInfo->pPCIDev; in agtiapi_ReleasePCIMem()594 tmpRid = pCardInfo->pciMemBaseRIDSpc[bar]; in agtiapi_ReleasePCIMem()595 tmpRsc = pCardInfo->pciMemBaseRscSpc[bar]; in agtiapi_ReleasePCIMem()685 STATIC void agtiapi_MemFree( ag_card_info_t *pCardInfo ) in agtiapi_MemFree() argument690 for( idx = 0; idx < pCardInfo->cacheIndex; idx++ ) { in agtiapi_MemFree()691 if( pCardInfo->tiCachedMem[idx] ) { in agtiapi_MemFree()692 free( pCardInfo->tiCachedMem[idx], M_PMC_MMAL ); in agtiapi_MemFree()694 idx, pCardInfo->tiCachedMem[idx] ); in agtiapi_MemFree()699 struct agtiapi_softc *pmsc = pCardInfo->pCard; // get card reference in agtiapi_MemFree()
151 ag_card_info_t *pCardInfo = pCard->pCardInfo; in show_dek_table_entry() local152 ag_resource_info_t *pRscInfo = &pCardInfo->tiRscInfo; in show_dek_table_entry()371 ag_resource_info_t *pRscInfo = &pCard->pCardInfo->tiRscInfo; in agtiapi_AddDek()
595 #define TIROOT_TO_CARDINFO(ptiRoot) (TIROOT_TO_CARD(ptiRoot)->pCardInfo)600 #define TIROOT_TO_CARDINFO(ptiRoot) (TIROOT_TO_CARD(ptiRoot)->pCardInfo)
445 CardInfo_t *pCardInfo; in agtiapi_getCardInfo() local447 pCardInfo = (CardInfo_t *)buffer; in agtiapi_getCardInfo()449 pCardInfo->deviceId = pci_get_device(pCard->my_dev); in agtiapi_getCardInfo()450 pCardInfo->vendorId =pci_get_vendor(pCard->my_dev) ; in agtiapi_getCardInfo()451 memcpy( pCardInfo->pciMemBaseSpc, in agtiapi_getCardInfo()452 pCard->pCardInfo->pciMemBaseSpc, in agtiapi_getCardInfo()454 pCardInfo->deviceNum = pci_get_slot(pCard->my_dev); in agtiapi_getCardInfo()455 pCardInfo->pciMemBase = pCard->pCardInfo->pciMemBase; in agtiapi_getCardInfo()456 pCardInfo->pciIOAddrLow = pCard->pCardInfo->pciIOAddrLow; in agtiapi_getCardInfo()457 pCardInfo->pciIOAddrUp = pCard->pCardInfo->pciIOAddrUp; in agtiapi_getCardInfo()[all …]
342 ag_card_info_t *pCardInfo; member