Lines Matching refs:SyncMode

902 		pDCB->SyncMode  &= ~(SYNC_NEGO_DONE+ WIDE_NEGO_DONE);  in trm_ResetDevParam()
917 pDCB->SyncMode |= WIDE_NEGO_ENABLE; in trm_ResetDevParam()
1014 if (((pDCB->SyncMode & WIDE_NEGO_ENABLE) && in trm_StartSCSI()
1015 !(pDCB->SyncMode & WIDE_NEGO_DONE)) in trm_StartSCSI()
1016 || ((pDCB->SyncMode & SYNC_NEGO_ENABLE) && in trm_StartSCSI()
1017 !(pDCB->SyncMode & SYNC_NEGO_DONE))) { in trm_StartSCSI()
1039 if (pDCB->SyncMode & EN_TAG_QUEUING) { in trm_StartSCSI()
1186 if (pDCB->SyncMode & SYNC_NEGO_ENABLE) { in trm_MsgOutPhase1()
1195 && (pDCB->SyncMode & WIDE_NEGO_ENABLE)) { in trm_MsgOutPhase1()
1199 pDCB->SyncMode &= ~(SYNC_NEGO_DONE | EN_ATN_STOP); in trm_MsgOutPhase1()
1212 && (pDCB->SyncMode & SYNC_NEGO_ENABLE)) { in trm_MsgOutPhase1()
1216 if (!(pDCB->SyncMode & WIDE_NEGO_DONE)) in trm_MsgOutPhase1()
1675 if (pDCB->SyncMode & WIDE_NEGO_ENABLE) { in trm_MsgInPhase0()
1678 pDCB->SyncMode |= WIDE_NEGO_DONE; in trm_MsgInPhase0()
1679 pDCB->SyncMode &= ~(SYNC_NEGO_DONE | in trm_MsgInPhase0()
1682 if ((pDCB->SyncMode & SYNC_NEGO_ENABLE) in trm_MsgInPhase0()
1683 && !(pDCB->SyncMode & SYNC_NEGO_DONE)) { in trm_MsgInPhase0()
1695 } else if (pDCB->SyncMode & SYNC_NEGO_ENABLE) { in trm_MsgInPhase0()
1700 pDCB->SyncMode &= in trm_MsgInPhase0()
1836 pDCB->SyncMode &= in trm_MsgInPhase0()
1850 if (pDCB->SyncMode & WIDE_NEGO_ENABLE) { in trm_MsgInPhase0()
1855 pDCB->SyncMode &= in trm_MsgInPhase0()
1874 if (!(pDCB->SyncMode in trm_MsgInPhase0()
1878 pDCB->SyncMode |= in trm_MsgInPhase0()
1880 pDCB->SyncMode &= in trm_MsgInPhase0()
1940 pDCB->SyncMode &= in trm_MsgInPhase0()
1970 pDCB->SyncMode |= in trm_MsgInPhase0()
2099 pDCBTemp->SyncMode = pDCB->SyncMode; in trm_SetXferRate()
2225 if (pDCB->SyncMode & EN_TAG_QUEUING) { in trm_Reselect()
2491 pDCB->SyncMode |= in trm_SRBdone()
2496 pDCB->SyncMode |= in trm_SRBdone()
2758 pDCB->tinfo.user.offset=(pDCB->SyncMode & SYNC_NEGO_ENABLE) ? 31 : 0; in trm_initDCB()
2762 pDCB->tinfo.user.offset=(pDCB->SyncMode & SYNC_NEGO_ENABLE) ? 15 : 0; in trm_initDCB()
2764 pDCB->SyncMode = 0; in trm_initDCB()
2767 pDCB->SyncMode |= WIDE_NEGO_ENABLE; in trm_initDCB()
2770 pDCB->SyncMode |= SYNC_NEGO_ENABLE; in trm_initDCB()
2776 pDCB->tinfo.user.width = (pDCB->SyncMode & WIDE_NEGO_ENABLE) ? in trm_initDCB()