Lines Matching full:sccb

3   FlashPoint.c -- FlashPoint SCCB Manager for Linux
5 This file contains the FlashPoint SCCB Manager from BusLogic's FlashPoint
28 struct sccb;
29 typedef void (*CALL_BK_FN) (struct sccb *);
69 /* SCCB struct used for both SCCB and UCB manager compiles!
70 * The UCB Manager treats the SCCB as it's 'native hardware structure'
74 struct sccb { struct
108 struct sccb *Sccb_forwardlink; argument
109 struct sccb *Sccb_backlink; argument
153 #define SCCB_COMPLETE 0x00 /* SCCB completed without error */
212 struct sccb *TarSelQ_Head;
213 struct sccb *TarSelQ_Tail;
249 struct sccb *currentSCCB;
262 struct sccb *discQ_Tbl[QUEUE_DEPTH];
767 struct sccb *pCurrSCCB);
786 static void FPT_sinits(struct sccb *p_sccb, unsigned char p_card);
795 static void FPT_queueDisconnect(struct sccb *p_SCCB, unsigned char p_card);
797 struct sccb *p_SCCB, unsigned char p_card);
801 static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char card);
802 static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB,
804 static void FPT_utilUpdateResidual(struct sccb *p_SCCB);
839 struct sccb *pCurrSCCB);
841 struct sccb *pCurrSCCB);
843 struct sccb *pCurrSCCB);
844 static void FPT_hostDataXferRestart(struct sccb *currSCCB);
1470 static void FlashPoint_StartCCB(void *curr_card, struct sccb *p_Sccb) in FlashPoint_StartCCB()
1474 struct sccb *pSaveSccb; in FlashPoint_StartCCB()
1584 static int FlashPoint_AbortCCB(void *pCurrCard, struct sccb *p_Sccb) in FlashPoint_AbortCCB()
1590 struct sccb *pSaveSCCB; in FlashPoint_AbortCCB()
1714 struct sccb *currSCCB; in FlashPoint_HandleInterrupt()
2106 * Description: Initialize all Sccb manager data structures.
2129 * Description: Initialize all Sccb manager data structures.
2161 * Description: Initialize all Sccb manager data structures.
2207 static unsigned char FPT_sfm(u32 port, struct sccb *pCurrSCCB) in FPT_sfm()
2282 struct sccb *currSCCB; in FPT_ssel()
2581 struct sccb *currSCCB; in FPT_sres()
2858 struct sccb *currSCCB; in FPT_sdecm()
3037 static void FPT_shandem(u32 port, unsigned char p_card, struct sccb *pCurrSCCB) in FPT_shandem()
3107 struct sccb *currSCCB; in FPT_sisyncn()
3188 struct sccb *currSCCB; in FPT_stsyncn()
3349 struct sccb *currSCCB; in FPT_siwidn()
3405 struct sccb *currSCCB; in FPT_stwidn()
3649 struct sccb *currSCCB; in FPT_ssenss()
3779 struct sccb *currSCCB; in FPT_schkdd()
3871 * Description: Setup SCCB manager fields in this SCCB.
3875 static void FPT_sinits(struct sccb *p_sccb, unsigned char p_card) in FPT_sinits()
3975 struct sccb *currSCCB; in FPT_phaseDataOut()
3979 return; /* Exit if No SCCB record */ in FPT_phaseDataOut()
4016 struct sccb *currSCCB; in FPT_phaseDataIn()
4021 return; /* Exit if No SCCB record */ in FPT_phaseDataIn()
4059 struct sccb *currSCCB; in FPT_phaseCommand()
4132 struct sccb *currSCCB; in FPT_phaseMsgOut()
4271 struct sccb *currSCCB; in FPT_phaseMsgIn()
4317 struct sccb *currSCCB; in FPT_phaseIllegal()
4344 struct sccb *currSCCB; in FPT_phaseChkFifo()
4414 struct sccb *currSCCB; in FPT_phaseBusFree()
4616 struct sccb *currSCCB; in FPT_autoCmdCmplt()
4889 struct sccb *currSCCB; in FPT_dataXferProcessor()
4920 static void FPT_busMstrSGDataXferStart(u32 p_port, struct sccb *pcurrSCCB) in FPT_busMstrSGDataXferStart()
5013 static void FPT_busMstrDataXferStart(u32 p_port, struct sccb *pcurrSCCB) in FPT_busMstrDataXferStart()
5106 struct sccb *pCurrSCCB) in FPT_hostDataXferAbort()
5374 static void FPT_hostDataXferRestart(struct sccb *currSCCB) in FPT_hostDataXferRestart()
6640 struct sccb *pOldSccb; in FPT_queueSearchSelect()
6670 (struct sccb in FPT_queueSearchSelect()
6681 (struct sccb in FPT_queueSearchSelect()
6687 (struct sccb in FPT_queueSearchSelect()
6696 (struct sccb in FPT_queueSearchSelect()
6717 (struct sccb in FPT_queueSearchSelect()
6746 (struct sccb *)(pCurrCard->currentSCCB)-> in FPT_queueSearchSelect()
6755 Sccb_backlink = (struct sccb *)NULL; in FPT_queueSearchSelect()
6783 * Description: Add the current SCCB to the head of the Queue.
6795 (unsigned char)(((struct sccb *)(pCurrCard->currentSCCB))-> in FPT_queueSelectFail()
6799 pCurrCard->currentSCCB->Sccb_backlink = (struct sccb *)NULL; in FPT_queueSelectFail()
6824 * Description: Call the callback function with the current SCCB.
6829 struct sccb *p_sccb, unsigned char p_card) in FPT_queueCmdComplete()
6923 * Description: Add SCCB to our disconnect array.
6926 static void FPT_queueDisconnect(struct sccb *p_sccb, unsigned char p_card) in FPT_queueDisconnect()
6954 * Function: Queue Flush SCCB
6956 * Description: Flush all SCCB's back to the host driver for this target.
6963 struct sccb *currSCCB; in FPT_queueFlushSccb()
6995 * Function: Queue Flush Target SCCB
6997 * Description: Flush all SCCB's back to the host driver for this target.
7029 static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char p_card) in FPT_queueAddSccb()
7054 * Function: Queue Find SCCB
7056 * Description: Search the target select Queue for this SCCB, and
7061 static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB, in FPT_queueFindSccb()
7064 struct sccb *q_ptr; in FPT_queueFindSccb()
7124 static void FPT_utilUpdateResidual(struct sccb *p_SCCB) in FPT_utilUpdateResidual()
7516 FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB); in FlashPoint__StartCCB()
7522 FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB); in FlashPoint__AbortCCB()
7548 Define prototypes for the FlashPoint SCCB Manager Functions.