Lines Matching defs:scsi_cfg1
4412 ushort scsi_cfg1;
4635 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
4640 if ((scsi_cfg1 & CABLE_ILLEGAL_A) == 0 ||
4641 (scsi_cfg1 & CABLE_ILLEGAL_B) == 0) {
4660 if ((scsi_cfg1 & DIFF_MODE) && (scsi_cfg1 & DIFF_SENSE) == 0) {
4680 switch (scsi_cfg1 & CABLE_DETECT) {
4710 scsi_cfg1 &= ~TERM_CTL;
4714 * set 'scsi_cfg1'. The TERM_POL bit does not need to be
4718 scsi_cfg1 |= (TERM_CTL_SEL | (~asc_dvc->cfg->termination & TERM_CTL));
4730 FLTR_DISABLE | scsi_cfg1);
4855 ushort scsi_cfg1;
5035 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
5037 scsi_cfg1 | DIS_TERM_DRV);
5116 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
5139 if (scsi_cfg1 & HVD) {
5154 switch (scsi_cfg1 & C_DET_SE) {
5171 switch (scsi_cfg1 & C_DET_LVD) {
5188 scsi_cfg1 &= (~TERM_SE & ~TERM_LVD);
5191 * Invert the TERM_SE and TERM_LVD bits and then set 'scsi_cfg1'.
5193 scsi_cfg1 |= (~asc_dvc->cfg->termination & 0xF0);
5200 scsi_cfg1 &= (~BIG_ENDIAN & ~DIS_TERM_DRV & ~TERM_POL & ~HVD_LVD_SE);
5211 AdvWriteWordLram(iop_base, ASC_MC_DEFAULT_SCSI_CFG1, scsi_cfg1);
5341 ushort scsi_cfg1;
5523 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
5525 scsi_cfg1 | DIS_TERM_DRV);
5612 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
5632 if (scsi_cfg1 & HVD) {
5653 switch (scsi_cfg1 & C_DET_SE) {
5675 scsi_cfg1 &= ~TERM_SE;
5678 * Invert the TERM_SE bits and then set 'scsi_cfg1'.
5680 scsi_cfg1 |= (~asc_dvc->cfg->termination & TERM_SE);
5689 scsi_cfg1 &= (~BIG_ENDIAN & ~DIS_TERM_DRV & ~TERM_POL);
5700 AdvWriteWordLram(iop_base, ASC_MC_DEFAULT_SCSI_CFG1, scsi_cfg1);