Searched refs:scsi_cfg1 (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dadvansys.c4416 ushort scsi_cfg1; AdvInitAsc3550Driver() local
4639 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1); AdvInitAsc3550Driver()
4644 if ((scsi_cfg1 & CABLE_ILLEGAL_A) == 0 || AdvInitAsc3550Driver()
4645 (scsi_cfg1 & CABLE_ILLEGAL_B) == 0) { AdvInitAsc3550Driver()
4664 if ((scsi_cfg1 & DIFF_MODE) && (scsi_cfg1 & DIFF_SENSE) == 0) { AdvInitAsc3550Driver()
4684 switch (scsi_cfg1 & CABLE_DETECT) { AdvInitAsc3550Driver()
4714 scsi_cfg1 &= ~TERM_CTL; AdvInitAsc3550Driver()
4718 * set 'scsi_cfg1'. The TERM_POL bit does not need to be AdvInitAsc3550Driver()
4722 scsi_cfg1 |= (TERM_CTL_SEL | (~asc_dvc->cfg->termination & TERM_CTL)); AdvInitAsc3550Driver()
4734 FLTR_DISABLE | scsi_cfg1); AdvInitAsc3550Driver()
4859 ushort scsi_cfg1; AdvInitAsc38C0800Driver() local
5039 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1); AdvInitAsc38C0800Driver()
5041 scsi_cfg1 | DIS_TERM_DRV); AdvInitAsc38C0800Driver()
5120 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1); AdvInitAsc38C0800Driver()
5143 if (scsi_cfg1 & HVD) { AdvInitAsc38C0800Driver()
5158 switch (scsi_cfg1 & C_DET_SE) { AdvInitAsc38C0800Driver()
5175 switch (scsi_cfg1 & C_DET_LVD) { AdvInitAsc38C0800Driver()
5192 scsi_cfg1 &= (~TERM_SE & ~TERM_LVD); AdvInitAsc38C0800Driver()
5195 * Invert the TERM_SE and TERM_LVD bits and then set 'scsi_cfg1'. AdvInitAsc38C0800Driver()
5197 scsi_cfg1 |= (~asc_dvc->cfg->termination & 0xF0); AdvInitAsc38C0800Driver()
5204 scsi_cfg1 &= (~BIG_ENDIAN & ~DIS_TERM_DRV & ~TERM_POL & ~HVD_LVD_SE); AdvInitAsc38C0800Driver()
5215 AdvWriteWordLram(iop_base, ASC_MC_DEFAULT_SCSI_CFG1, scsi_cfg1); AdvInitAsc38C0800Driver()
5345 ushort scsi_cfg1; AdvInitAsc38C1600Driver() local
5527 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1); AdvInitAsc38C1600Driver()
5529 scsi_cfg1 | DIS_TERM_DRV); AdvInitAsc38C1600Driver()
5616 scsi_cfg1 = AdvReadWordRegister(iop_base, IOPW_SCSI_CFG1); AdvInitAsc38C1600Driver()
5636 if (scsi_cfg1 & HVD) { AdvInitAsc38C1600Driver()
5657 switch (scsi_cfg1 & C_DET_SE) { AdvInitAsc38C1600Driver()
5679 scsi_cfg1 &= ~TERM_SE; AdvInitAsc38C1600Driver()
5682 * Invert the TERM_SE bits and then set 'scsi_cfg1'. AdvInitAsc38C1600Driver()
5684 scsi_cfg1 |= (~asc_dvc->cfg->termination & TERM_SE); AdvInitAsc38C1600Driver()
5693 scsi_cfg1 &= (~BIG_ENDIAN & ~DIS_TERM_DRV & ~TERM_POL); AdvInitAsc38C1600Driver()
5704 AdvWriteWordLram(iop_base, ASC_MC_DEFAULT_SCSI_CFG1, scsi_cfg1); AdvInitAsc38C1600Driver()

Completed in 124 milliseconds