Lines Matching defs:scsi_cfg1

4363 	ushort scsi_cfg1;
4586 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
4591 if ((scsi_cfg1 & CABLE_ILLEGAL_A) == 0 ||
4592 (scsi_cfg1 & CABLE_ILLEGAL_B) == 0) {
4611 if ((scsi_cfg1 & DIFF_MODE) && (scsi_cfg1 & DIFF_SENSE) == 0) {
4631 switch (scsi_cfg1 & CABLE_DETECT) {
4661 scsi_cfg1 &= ~TERM_CTL;
4665 * set 'scsi_cfg1'. The TERM_POL bit does not need to be
4669 scsi_cfg1 |= (TERM_CTL_SEL | (~asc_dvc->cfg->termination & TERM_CTL));
4681 FLTR_DISABLE | scsi_cfg1);
4806 ushort scsi_cfg1;
4986 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
4988 scsi_cfg1 | DIS_TERM_DRV);
5067 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
5090 if (scsi_cfg1 & HVD) {
5105 switch (scsi_cfg1 & C_DET_SE) {
5122 switch (scsi_cfg1 & C_DET_LVD) {
5139 scsi_cfg1 &= (~TERM_SE & ~TERM_LVD);
5142 * Invert the TERM_SE and TERM_LVD bits and then set 'scsi_cfg1'.
5144 scsi_cfg1 |= (~asc_dvc->cfg->termination & 0xF0);
5151 scsi_cfg1 &= (~BIG_ENDIAN & ~DIS_TERM_DRV & ~TERM_POL & ~HVD_LVD_SE);
5162 AdvWriteWordLram(iop_base, ASC_MC_DEFAULT_SCSI_CFG1, scsi_cfg1);
5292 ushort scsi_cfg1;
5474 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
5476 scsi_cfg1 | DIS_TERM_DRV);
5563 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1);
5583 if (scsi_cfg1 & HVD) {
5604 switch (scsi_cfg1 & C_DET_SE) {
5626 scsi_cfg1 &= ~TERM_SE;
5629 * Invert the TERM_SE bits and then set 'scsi_cfg1'.
5631 scsi_cfg1 |= (~asc_dvc->cfg->termination & TERM_SE);
5640 scsi_cfg1 &= (~BIG_ENDIAN & ~DIS_TERM_DRV & ~TERM_POL);
5651 AdvWriteWordLram(iop_base, ASC_MC_DEFAULT_SCSI_CFG1, scsi_cfg1);