Searched refs:pCard (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/sys/dev/pms/freebsd/driver/ini/src/
H A Dosapi.c58 struct agtiapi_softc *pCard = TIROOT_TO_CARD( ptiRoot ); local
86 pCard->flags |= AGTIAPI_CB_DONE;
90 AGTIAPI_PRINTK("ostiInitiatorEvent: pcard %d eventStatus - tiDiscOK\n", pCard->cardNo );
93 if (!(pCard->flags & AGTIAPI_INIT_TIME))
99 agtiapi_GetDevHandle(pCard, &pPortalData->portalInfo,
105 callout_reset(&pCard->IO_timer, 20*hz, agtiapi_CheckIOTimeout, pCard);
110 agtiapi_GetDevHandle(pCard, &pPortalData->portalInfo,
124 if (!(pCard->flags & AGTIAPI_INIT_TIME))
129 agtiapi_GetDevHandle(pCard, pPortalInf
277 struct agtiapi_softc *pCard; local
356 struct agtiapi_softc *pCard; local
374 struct agtiapi_softc *pCard = TIROOT_TO_CARD(root); local
427 struct agtiapi_softc *pCard; local
465 ag_card_t *pCard; local
516 struct agtiapi_softc *pCard = TIROOT_TO_CARD(ptiRoot); local
536 struct agtiapi_softc *pCard = TIROOT_TO_CARD(ptiRoot); local
549 struct agtiapi_softc *pCard; local
584 ag_card_t *pCard = ((ag_card_info_t*)ptiRoot->osData)->pCard; local
612 ag_card_t *pCard = ((ag_card_info_t*)ptiRoot->osData)->pCard; local
767 struct agtiapi_softc *pCard = TIROOT_TO_CARD(tiRoot); local
821 struct agtiapi_softc *pCard = TIROOT_TO_CARD(root); local
[all...]
H A Dagtiapi.c290 int agtiapi_getdevlist( struct agtiapi_softc *pCard, argument
310 MaxDeviceCount = pCard->devDiscover;
320 AGTIAPI_PRINTK("agtiapi_getdevlist: portCount %d\n", pCard->portCount);
330 pPortalData = &pCard->pPortalData[0];
332 for (total = x = 0; x < pCard->portCount; x++, pPortalData++)
334 count = tiINIGetDeviceHandlesForWinIOCTL(&pCard->tiRoot,
358 for (x = 0; x < pCard->devDiscover; x++)
392 tiIniGetDirectSataSasAddr(&pCard->tiRoot, pDeviceData->phyID, &sasAddressHi, &sasAddressLo);
449 int agtiapi_getCardInfo ( struct agtiapi_softc *pCard, argument
457 pCardInfo->deviceId = pci_get_device(pCard
534 struct agtiapi_softc *pCard; local
1357 struct agtiapi_softc *pCard; local
2310 agtiapi_StartTM(struct agtiapi_softc *pCard, ccb_t *pccb) argument
4637 agtiapi_FlushCCBs( struct agtiapi_softc *pCard, U32 flag ) argument
4795 agtiapi_CheckAllVectors( struct agtiapi_softc *pCard, bit32 context ) argument
4833 agtiapi_CheckCB( struct agtiapi_softc *pCard, U32 milisec, U32 flag, volatile U32 *pStatus ) argument
4896 agtiapi_DiscoverTgt(struct agtiapi_softc *pCard) argument
5026 agtiapi_PrepCCBs( struct agtiapi_softc *pCard, ccb_hdr_t *hdr, U32 size, U32 max_ccb, int tid ) argument
5157 agtiapi_InitCCBs(struct agtiapi_softc *pCard, int tgtCount, int tid) argument
5215 agtiapi_GetWWNMappings( struct agtiapi_softc *pCard, ag_mapping_t *pMapList ) argument
5310 agtiapi_GetDevHandle( struct agtiapi_softc *pCard, ag_portal_info_t *pPortalInfo, U32 eType, U32 eStatus ) argument
5710 agtiapi_DeQueueCCB(struct agtiapi_softc *pCard, pccb_t *phead, pccb_t *ptail, struct mtx *lock, ccb_t *pccb) argument
5884 struct agtiapi_softc *pCard; local
5974 struct agtiapi_softc *pCard; local
6078 agtiapi_ResetCard( struct agtiapi_softc *pCard, unsigned long *flags ) argument
6341 struct agtiapi_softc *pCard; local
[all...]
H A Dagtiproto.h67 int agtiapi_StartTM(struct agtiapi_softc *pCard, ccb_t *pccb);
72 STATIC void agtiapi_DiscoverTgt(struct agtiapi_softc *pCard);
73 agBOOLEAN agtiapi_CheckCB( struct agtiapi_softc *pCard,
85 void agtiapi_CheckAllVectors( struct agtiapi_softc *pCard, bit32 context );
87 STATIC U32 agtiapi_InitCCBs( struct agtiapi_softc *pCard,
90 STATIC void agtiapi_PrepCCBs( struct agtiapi_softc *pCard,
100 STATIC void agtiapi_MapWWNList( struct agtiapi_softc *pCard );
104 STATIC void agtiapi_ReleaseCCBs( struct agtiapi_softc *pCard );
105 STATIC void agtiapi_clrRmScan( struct agtiapi_softc *pCard );
140 U32 agtiapi_ResetCard( struct agtiapi_softc *pCard, unsigne
[all...]
H A Dagtiapi.h52 #define CMND_DMA_UNMAP( pCard, cmnd )
141 void *pCard;
189 void *pCard; member in struct:_ag_device
253 void *pCard; member in struct:_ag_portal_data
303 // begin ag_card_t references (AKA pCard)
397 int agtiapi_getdevlist( struct agtiapi_softc *pCard,
399 int agtiapi_getCardInfo ( struct agtiapi_softc *pCard,
/freebsd-11-stable/sys/dev/pms/freebsd/driver/common/
H A Dlxencrypt.c88 struct agtiapi_softc *pCard = (struct agtiapi_softc *) shost->hostdata; local
94 if(!pCard->encrypt)
102 pCard->dek_index[table] = index;
151 ag_card_t *pCard = (ag_card_t *) sh->hostdata; local
152 ag_card_info_t *pCardInfo = pCard->pCardInfo;
156 if(!pCard->encrypt)
166 if(pCard->dek_index[table] >= 0 || pCard->dek_index[table] < DEK_MAX_TABLE_ITEMS) {
167 i += careful_write(buf, i, PAGE_SIZE, "%4d: ", pCard->dek_index[table]);
168 p = (unsigned char *) &pDekTable[pCard
227 ag_card_t *pCard = (ag_card_t *) sh->hostdata; local
263 ag_card_t *pCard = (ag_card_t *) sh->hostdata; local
331 ag_card_t *pCard = (ag_card_t *) sh->hostdata; local
370 agtiapi_AddDek(ag_card_t *pCard, bit32 dek_table, bit32 dek_index, bit32 blob_format, bit32 entry_sz, tiEncryptDekBlob_t *dek_blob, U32_64 *addr) argument
420 agtiapi_MapDekKek(ag_card_t *pCard, bit32 dek_table, bit32 dek_index, bit32 kek_index) argument
450 agtiapi_AddKek(ag_card_t *pCard, bit32 kek_index, bit32 wrapper_kek_index, tiEncryptKekBlob_t *kek_blob) argument
474 agtiapi_MapDek(ag_card_t *pCard, EncryptDeviceDekMap_t *dek_map) argument
604 agtiapi_SetupEncryption(struct agtiapi_softc *pCard) argument
635 agtiapi_SetupEncryptionPools(struct agtiapi_softc *pCard) argument
692 agtiapi_CleanupEncryption(struct agtiapi_softc *pCard) argument
726 agtiapi_CleanupEncryptionPools(struct agtiapi_softc *pCard) argument
780 agtiapi_EncryptionIoctl(struct agtiapi_softc *pCard, IoctlEncrypt_t *pIoctlPayload) argument
1028 agtiapi_SetupEncryptedIO(struct agtiapi_softc *pCard, ccb_t *pccb, unsigned long long block) argument
1072 agtiapi_CleanupEncryptedIO(struct agtiapi_softc *pCard, ccb_t *pccb) argument
1096 ag_card_t *pCard; local
[all...]
H A Dlxosapi.c62 struct agtiapi_softc *pCard; local
63 pCard = TIROOT_TO_CARD(ptiRoot);
97 mtx_lock(&pCard->memLock);
100 mtx_unlock(&pCard->memLock);
123 struct agtiapi_softc *pCard; local
124 pCard = TIROOT_TO_CARD(ptiRoot);
126 pCard->down_count++;
127 sema_wait (pCard->pIoctlSem);
137 struct agtiapi_softc *pCard; local
138 pCard
326 struct agtiapi_softc *pCard; local
546 struct agtiapi_softc *pCard; local
561 struct agtiapi_softc *pCard; local
596 struct agtiapi_softc *pCard; local
[all...]
H A Dlxencrypt.h80 struct agtiapi_softc *pCard; variable in typeref:struct:agtiapi_softc
94 int agtiapi_SetupEncryption(struct agtiapi_softc *pCard);
95 int agtiapi_SetupEncryptionPools(struct agtiapi_softc *pCard);
96 void agtiapi_CleanupEncryption(struct agtiapi_softc *pCard);
97 void agtiapi_CleanupEncryptionPools(struct agtiapi_softc *pCard);
98 int agtiapi_SetupEncryptedIO(struct agtiapi_softc *pCard, ccb_t *pccb, unsigned long long block);
99 void agtiapi_CleanupEncryptedIO(struct agtiapi_softc *pCard, ccb_t *pccb);
H A Dlxutil.c63 struct agtiapi_softc *pmsc = thisCardInst->pCard;
133 struct agtiapi_softc *pmsc = thisCardInst->pCard;
493 struct agtiapi_softc *pmsc = thisCardInst->pCard;
645 struct agtiapi_softc *pmsc = thisCardInst->pCard; // get card reference
700 struct agtiapi_softc *pmsc = pCardInfo->pCard; // get card reference
H A Dlxcommon.h399 void *pCard; // pointer to per card data structure member in struct:_ag_card_info

Completed in 69 milliseconds