Lines Matching refs:termination

939 	uchar termination;	/* 11 0 - automatic */
1551 #define ASC_WARN_EEPROM_TERMINATION 0x0004 /* EEP termination bad field */
1674 * carrier for icq, irq, and the termination carrier.
1699 uchar termination; /* Term. Ctrl. bits 6-5 of SCSI_CFG1 register */
2386 printk(" disc_enable 0x%x, termination 0x%x\n",
2387 h->disc_enable, h->termination);
2970 word = ep_3550->termination;
2994 " termination: %u (%s), bios_ctrl: 0x%x\n",
2995 ep_3550->termination, termstr,
2999 " termination: %u (%s), bios_ctrl: 0x%x\n",
3004 " termination: %u (%s), bios_ctrl: 0x%x\n",
4181 * list termination.
4617 * If automatic termination control is enabled, then set the
4618 * termination value based on a table listed in a_condor.h.
4620 * If manual termination was specified with an EEPROM setting
4621 * then 'termination' was set-up in AdvInitFrom3550EEPROM() and
4624 if (asc_dvc->cfg->termination == 0) {
4626 * The software always controls termination by setting TERM_CTL_SEL.
4627 * If TERM_CTL_SEL were set to 0, the hardware would set termination.
4629 asc_dvc->cfg->termination |= TERM_CTL_SEL;
4639 asc_dvc->cfg->termination |= (TERM_CTL_H | TERM_CTL_L);
4648 asc_dvc->cfg->termination |= TERM_CTL_H;
4669 scsi_cfg1 |= (TERM_CTL_SEL | (~asc_dvc->cfg->termination & TERM_CTL));
4674 * Set filter value and possibly modified termination control
5096 * If either SE or LVD automatic termination control is enabled, then
5097 * set the termination value based on a table listed in a_condor.h.
5099 * If manual termination was specified with an EEPROM setting then
5100 * 'termination' was set-up in AdvInitFrom38C0800EEPROM() and is ready
5103 if ((asc_dvc->cfg->termination & TERM_SE) == 0) {
5104 /* SE automatic termination control is enabled. */
5110 asc_dvc->cfg->termination |= TERM_SE;
5115 asc_dvc->cfg->termination |= TERM_SE_HI;
5120 if ((asc_dvc->cfg->termination & TERM_LVD) == 0) {
5121 /* LVD automatic termination control is enabled. */
5127 asc_dvc->cfg->termination |= TERM_LVD;
5144 scsi_cfg1 |= (~asc_dvc->cfg->termination & 0xF0);
5148 * bits and set possibly modified termination control bits in the
5156 * Set possibly modified termination control and reset DIS_TERM_DRV
5590 * termination because there are two connectors for each function. Each
5592 * termination control EEPROM bits are used for each function. Each
5594 * the function, then set the termination value based on a table listed
5597 * If manual termination is specified in the EEPROM for the function,
5598 * then 'termination' was set-up in AscInitFrom38C1600EEPROM() and is
5601 if ((asc_dvc->cfg->termination & TERM_SE) == 0) {
5603 /* SE automatic termination control is enabled. */
5609 asc_dvc->cfg->termination |= TERM_SE;
5617 asc_dvc->cfg->termination |= TERM_SE_HI;
5631 scsi_cfg1 |= (~asc_dvc->cfg->termination & TERM_SE);
5635 * modified termination control bits in the Microcode SCSI_CFG1
5645 * Set possibly modified termination control bits in the Microcode
9262 0, /* termination */
9300 1, /* termination */
10059 * If the EEPROM 'termination' field is set to automatic (0), then set
10060 * the ADV_DVC_CFG 'termination' field to automatic also.
10062 * If the termination is specified with a non-zero 'termination'
10064 * 'termination' field appropriately.
10066 if (eep_config.termination == 0) {
10067 asc_dvc->cfg->termination = 0; /* auto termination */
10070 if (eep_config.termination == 1) {
10071 asc_dvc->cfg->termination = TERM_CTL_SEL;
10074 } else if (eep_config.termination == 2) {
10075 asc_dvc->cfg->termination = TERM_CTL_SEL | TERM_CTL_H;
10078 } else if (eep_config.termination == 3) {
10079 asc_dvc->cfg->termination =
10083 * The EEPROM 'termination' field contains a bad value. Use
10084 * automatic termination instead.
10086 asc_dvc->cfg->termination = 0;
10111 uchar tid, termination;
10235 * If the EEPROM 'termination' field is set to automatic (0), then set
10236 * the ADV_DVC_CFG 'termination' field to automatic also.
10238 * If the termination is specified with a non-zero 'termination'
10240 * 'termination' field appropriately.
10243 termination = 0; /* auto termination for SE */
10247 termination = 0;
10251 termination = TERM_SE_HI;
10255 termination = TERM_SE;
10259 * Use automatic termination instead.
10261 termination = 0;
10267 asc_dvc->cfg->termination = termination; /* auto termination for LVD */
10271 asc_dvc->cfg->termination = termination;
10275 asc_dvc->cfg->termination = termination | TERM_LVD_HI;
10279 asc_dvc->cfg->termination = termination | TERM_LVD;
10283 * Use automatic termination instead.
10285 asc_dvc->cfg->termination = termination;
10310 uchar tid, termination;
10459 * If the EEPROM 'termination' field is set to automatic (0), then set
10460 * the ASC_DVC_CFG 'termination' field to automatic also.
10462 * If the termination is specified with a non-zero 'termination'
10464 * 'termination' field appropriately.
10467 termination = 0; /* auto termination for SE */
10471 termination = 0;
10475 termination = TERM_SE_HI;
10479 termination = TERM_SE;
10483 * Use automatic termination instead.
10485 termination = 0;
10491 asc_dvc->cfg->termination = termination; /* auto termination for LVD */
10495 asc_dvc->cfg->termination = termination;
10499 asc_dvc->cfg->termination = termination | TERM_LVD_HI;
10503 asc_dvc->cfg->termination = termination | TERM_LVD;
10507 * Use automatic termination instead.
10509 asc_dvc->cfg->termination = termination;
10886 ep_3550->termination = adv_dvc_varp->cfg->termination;
10910 adv_dvc_varp->cfg->termination;
10938 adv_dvc_varp->cfg->termination;