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 …]
587 STATIC void agtiapi_ReleasePCIMem( ag_card_info_t *pCardInfo ) { in agtiapi_ReleasePCIMem() argument592 dev = pCardInfo->pPCIDev; in agtiapi_ReleasePCIMem()595 tmpRid = pCardInfo->pciMemBaseRIDSpc[bar]; in agtiapi_ReleasePCIMem()596 tmpRsc = pCardInfo->pciMemBaseRscSpc[bar]; in agtiapi_ReleasePCIMem()686 STATIC void agtiapi_MemFree( ag_card_info_t *pCardInfo ) in agtiapi_MemFree() argument691 for( idx = 0; idx < pCardInfo->cacheIndex; idx++ ) { in agtiapi_MemFree()692 if( pCardInfo->tiCachedMem[idx] ) { in agtiapi_MemFree()693 free( pCardInfo->tiCachedMem[idx], M_PMC_MMAL ); in agtiapi_MemFree()695 idx, pCardInfo->tiCachedMem[idx] ); in agtiapi_MemFree()700 struct agtiapi_softc *pmsc = pCardInfo->pCard; // get card reference in agtiapi_MemFree()
152 ag_card_info_t *pCardInfo = pCard->pCardInfo; in show_dek_table_entry() local153 ag_resource_info_t *pRscInfo = &pCardInfo->tiRscInfo; in show_dek_table_entry()372 ag_resource_info_t *pRscInfo = &pCard->pCardInfo->tiRscInfo; in agtiapi_AddDek()
596 #define TIROOT_TO_CARDINFO(ptiRoot) (TIROOT_TO_CARD(ptiRoot)->pCardInfo)601 #define TIROOT_TO_CARDINFO(ptiRoot) (TIROOT_TO_CARD(ptiRoot)->pCardInfo)
454 CardInfo_t *pCardInfo; in agtiapi_getCardInfo() local456 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()[all …]
343 ag_card_info_t *pCardInfo; member