/freebsd/sys/dev/pms/freebsd/driver/ini/src/ |
H A D | osapi.c | 57 struct agtiapi_softc *pCard = TIROOT_TO_CARD( ptiRoot ); in ostiInitiatorEvent() local 85 pCard->flags |= AGTIAPI_CB_DONE; in ostiInitiatorEvent() 89 AGTIAPI_PRINTK("ostiInitiatorEvent: pcard %d eventStatus - tiDiscOK\n", pCard->cardNo ); in ostiInitiatorEvent() 92 if (!(pCard->flags & AGTIAPI_INIT_TIME)) in ostiInitiatorEvent() 98 agtiapi_GetDevHandle(pCard, &pPortalData->portalInfo, in ostiInitiatorEvent() 104 callout_reset(&pCard->IO_timer, 20*hz, agtiapi_CheckIOTimeout, pCard); in ostiInitiatorEvent() 109 agtiapi_GetDevHandle(pCard, &pPortalData->portalInfo, in ostiInitiatorEvent() 123 if (!(pCard->flags & AGTIAPI_INIT_TIME)) in ostiInitiatorEvent() 128 agtiapi_GetDevHandle(pCard, pPortalInfo, tiIntrEventTypeDeviceChange, in ostiInitiatorEvent() 142 agtiapi_FreeTMCCB(pCard, pccb); in ostiInitiatorEvent() [all …]
|
H A D | agtiapi.c | 289 int agtiapi_getdevlist( struct agtiapi_softc *pCard, in agtiapi_getdevlist() argument 309 MaxDeviceCount = pCard->devDiscover; in agtiapi_getdevlist() 319 AGTIAPI_PRINTK("agtiapi_getdevlist: portCount %d\n", pCard->portCount); in agtiapi_getdevlist() 322 pPortalData = &pCard->pPortalData[0]; in agtiapi_getdevlist() 324 for (total = x = 0; x < pCard->portCount; x++, pPortalData++) in agtiapi_getdevlist() 326 count = tiINIGetDeviceHandlesForWinIOCTL(&pCard->tiRoot, in agtiapi_getdevlist() 350 for (x = 0; x < pCard->devDiscover; x++) in agtiapi_getdevlist() 384 tiIniGetDirectSataSasAddr(&pCard->tiRoot, pDeviceData->phyID, &sasAddressHi, &sasAddressLo); in agtiapi_getdevlist() 441 int agtiapi_getCardInfo ( struct agtiapi_softc *pCard, in agtiapi_getCardInfo() argument 449 pCardInfo->deviceId = pci_get_device(pCard->my_dev); in agtiapi_getCardInfo() [all …]
|
H A D | agtiproto.h | 66 int agtiapi_StartTM(struct agtiapi_softc *pCard, ccb_t *pccb); 71 STATIC void agtiapi_DiscoverTgt(struct agtiapi_softc *pCard); 72 agBOOLEAN agtiapi_CheckCB( struct agtiapi_softc *pCard, 84 void agtiapi_CheckAllVectors( struct agtiapi_softc *pCard, bit32 context ); 86 STATIC U32 agtiapi_InitCCBs( struct agtiapi_softc *pCard, 89 STATIC void agtiapi_PrepCCBs( struct agtiapi_softc *pCard, 99 STATIC void agtiapi_MapWWNList( struct agtiapi_softc *pCard ); 103 STATIC void agtiapi_ReleaseCCBs( struct agtiapi_softc *pCard ); 104 STATIC void agtiapi_clrRmScan( struct agtiapi_softc *pCard ); 139 U32 agtiapi_ResetCard( struct agtiapi_softc *pCard, unsigned long *flags ); [all …]
|
H A D | agtiapi.h | 51 #define CMND_DMA_UNMAP( pCard, cmnd ) argument 188 void *pCard; member 252 void *pCard; member 396 int agtiapi_getdevlist( struct agtiapi_softc *pCard, 398 int agtiapi_getCardInfo ( struct agtiapi_softc *pCard,
|
/freebsd/sys/dev/pms/freebsd/driver/common/ |
H A D | lxencrypt.c | 87 struct agtiapi_softc *pCard = (struct agtiapi_softc *) shost->hostdata; in set_dek_table_entry() local 93 if(!pCard->encrypt) in set_dek_table_entry() 101 pCard->dek_index[table] = index; in set_dek_table_entry() 150 ag_card_t *pCard = (ag_card_t *) sh->hostdata; in show_dek_table_entry() local 151 ag_card_info_t *pCardInfo = pCard->pCardInfo; in show_dek_table_entry() 155 if(!pCard->encrypt) in show_dek_table_entry() 165 if(pCard->dek_index[table] >= 0 || pCard->dek_index[table] < DEK_MAX_TABLE_ITEMS) { in show_dek_table_entry() 166 i += careful_write(buf, i, PAGE_SIZE, "%4d: ", pCard->dek_index[table]); in show_dek_table_entry() 167 p = (unsigned char *) &pDekTable[pCard->dek_index[table]]; in show_dek_table_entry() 173 …i += careful_write(buf, i, PAGE_SIZE, "Bad DEK index %d; range: 0 - %d\n", pCard->dek_index[table]… in show_dek_table_entry() [all …]
|
H A D | lxosapi.c | 62 struct agtiapi_softc *pCard; in ostiAllocMemory() local 63 pCard = TIROOT_TO_CARD(ptiRoot); in ostiAllocMemory() 97 mtx_lock(&pCard->memLock); in ostiAllocMemory() 100 mtx_unlock(&pCard->memLock); in ostiAllocMemory() 123 struct agtiapi_softc *pCard; in ostiIOCTLWaitForSignal() local 124 pCard = TIROOT_TO_CARD(ptiRoot); in ostiIOCTLWaitForSignal() 126 pCard->down_count++; in ostiIOCTLWaitForSignal() 127 sema_wait (pCard->pIoctlSem); in ostiIOCTLWaitForSignal() 137 struct agtiapi_softc *pCard; in ostiIOCTLWaitForComplete() local 138 pCard = TIROOT_TO_CARD(ptiRoot); in ostiIOCTLWaitForComplete() [all …]
|
H A D | lxencrypt.h | 79 struct agtiapi_softc *pCard; variable 93 int agtiapi_SetupEncryption(struct agtiapi_softc *pCard); 94 int agtiapi_SetupEncryptionPools(struct agtiapi_softc *pCard); 95 void agtiapi_CleanupEncryption(struct agtiapi_softc *pCard); 96 void agtiapi_CleanupEncryptionPools(struct agtiapi_softc *pCard); 97 int agtiapi_SetupEncryptedIO(struct agtiapi_softc *pCard, ccb_t *pccb, unsigned long long block); 98 void agtiapi_CleanupEncryptedIO(struct agtiapi_softc *pCard, ccb_t *pccb);
|
H A D | lxutil.c | 62 struct agtiapi_softc *pmsc = thisCardInst->pCard; in agtiapi_typhAlloc() 132 struct agtiapi_softc *pmsc = thisCardInst->pCard; in agtiapi_InitResource() 492 struct agtiapi_softc *pmsc = thisCardInst->pCard; in agtiapi_ScopeDMARes() 644 struct agtiapi_softc *pmsc = thisCardInst->pCard; // get card reference in agtiapi_MemAlloc() 699 struct agtiapi_softc *pmsc = pCardInfo->pCard; // get card reference in agtiapi_MemFree()
|
H A D | lxcommon.h | 398 void *pCard; // pointer to per card data structure member
|