Lines Matching refs:termination

952 	uchar termination;	/* 11 0 - automatic */
1564 #define ASC_WARN_EEPROM_TERMINATION 0x0004 /* EEP termination bad field */
1687 * carrier for icq, irq, and the termination carrier.
1712 uchar termination; /* Term. Ctrl. bits 6-5 of SCSI_CFG1 register */
2397 printk(" disc_enable 0x%x, termination 0x%x\n",
2398 h->disc_enable, h->termination);
3008 word = ep_3550->termination;
3032 " termination: %u (%s), bios_ctrl: 0x%x\n",
3033 ep_3550->termination, termstr,
3037 " termination: %u (%s), bios_ctrl: 0x%x\n",
3042 " termination: %u (%s), bios_ctrl: 0x%x\n",
4230 * list termination.
4666 * If automatic termination control is enabled, then set the
4667 * termination value based on a table listed in a_condor.h.
4669 * If manual termination was specified with an EEPROM setting
4670 * then 'termination' was set-up in AdvInitFrom3550EEPROM() and
4673 if (asc_dvc->cfg->termination == 0) {
4675 * The software always controls termination by setting TERM_CTL_SEL.
4676 * If TERM_CTL_SEL were set to 0, the hardware would set termination.
4678 asc_dvc->cfg->termination |= TERM_CTL_SEL;
4688 asc_dvc->cfg->termination |= (TERM_CTL_H | TERM_CTL_L);
4697 asc_dvc->cfg->termination |= TERM_CTL_H;
4718 scsi_cfg1 |= (TERM_CTL_SEL | (~asc_dvc->cfg->termination & TERM_CTL));
4723 * Set filter value and possibly modified termination control
5145 * If either SE or LVD automatic termination control is enabled, then
5146 * set the termination value based on a table listed in a_condor.h.
5148 * If manual termination was specified with an EEPROM setting then
5149 * 'termination' was set-up in AdvInitFrom38C0800EEPROM() and is ready
5152 if ((asc_dvc->cfg->termination & TERM_SE) == 0) {
5153 /* SE automatic termination control is enabled. */
5159 asc_dvc->cfg->termination |= TERM_SE;
5164 asc_dvc->cfg->termination |= TERM_SE_HI;
5169 if ((asc_dvc->cfg->termination & TERM_LVD) == 0) {
5170 /* LVD automatic termination control is enabled. */
5176 asc_dvc->cfg->termination |= TERM_LVD;
5193 scsi_cfg1 |= (~asc_dvc->cfg->termination & 0xF0);
5197 * bits and set possibly modified termination control bits in the
5205 * Set possibly modified termination control and reset DIS_TERM_DRV
5639 * termination because there are two connectors for each function. Each
5641 * termination control EEPROM bits are used for each function. Each
5643 * the function, then set the termination value based on a table listed
5646 * If manual termination is specified in the EEPROM for the function,
5647 * then 'termination' was set-up in AscInitFrom38C1600EEPROM() and is
5650 if ((asc_dvc->cfg->termination & TERM_SE) == 0) {
5652 /* SE automatic termination control is enabled. */
5658 asc_dvc->cfg->termination |= TERM_SE;
5666 asc_dvc->cfg->termination |= TERM_SE_HI;
5680 scsi_cfg1 |= (~asc_dvc->cfg->termination & TERM_SE);
5684 * modified termination control bits in the Microcode SCSI_CFG1
5694 * Set possibly modified termination control bits in the Microcode
9447 0, /* termination */
9485 1, /* termination */
10244 * If the EEPROM 'termination' field is set to automatic (0), then set
10245 * the ADV_DVC_CFG 'termination' field to automatic also.
10247 * If the termination is specified with a non-zero 'termination'
10249 * 'termination' field appropriately.
10251 if (eep_config.termination == 0) {
10252 asc_dvc->cfg->termination = 0; /* auto termination */
10255 if (eep_config.termination == 1) {
10256 asc_dvc->cfg->termination = TERM_CTL_SEL;
10259 } else if (eep_config.termination == 2) {
10260 asc_dvc->cfg->termination = TERM_CTL_SEL | TERM_CTL_H;
10263 } else if (eep_config.termination == 3) {
10264 asc_dvc->cfg->termination =
10268 * The EEPROM 'termination' field contains a bad value. Use
10269 * automatic termination instead.
10271 asc_dvc->cfg->termination = 0;
10296 uchar tid, termination;
10420 * If the EEPROM 'termination' field is set to automatic (0), then set
10421 * the ADV_DVC_CFG 'termination' field to automatic also.
10423 * If the termination is specified with a non-zero 'termination'
10425 * 'termination' field appropriately.
10428 termination = 0; /* auto termination for SE */
10432 termination = 0;
10436 termination = TERM_SE_HI;
10440 termination = TERM_SE;
10444 * Use automatic termination instead.
10446 termination = 0;
10452 asc_dvc->cfg->termination = termination; /* auto termination for LVD */
10456 asc_dvc->cfg->termination = termination;
10460 asc_dvc->cfg->termination = termination | TERM_LVD_HI;
10464 asc_dvc->cfg->termination = termination | TERM_LVD;
10468 * Use automatic termination instead.
10470 asc_dvc->cfg->termination = termination;
10495 uchar tid, termination;
10644 * If the EEPROM 'termination' field is set to automatic (0), then set
10645 * the ASC_DVC_CFG 'termination' field to automatic also.
10647 * If the termination is specified with a non-zero 'termination'
10649 * 'termination' field appropriately.
10652 termination = 0; /* auto termination for SE */
10656 termination = 0;
10660 termination = TERM_SE_HI;
10664 termination = TERM_SE;
10668 * Use automatic termination instead.
10670 termination = 0;
10676 asc_dvc->cfg->termination = termination; /* auto termination for LVD */
10680 asc_dvc->cfg->termination = termination;
10684 asc_dvc->cfg->termination = termination | TERM_LVD_HI;
10688 asc_dvc->cfg->termination = termination | TERM_LVD;
10692 * Use automatic termination instead.
10694 asc_dvc->cfg->termination = termination;
11085 ep_3550->termination = adv_dvc_varp->cfg->termination;
11109 adv_dvc_varp->cfg->termination;
11137 adv_dvc_varp->cfg->termination;