• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching defs:termination

1022 	uchar termination;	/* 11 0 - automatic */
1627 #define ASC_WARN_EEPROM_TERMINATION 0x0004 /* EEP termination bad field */
1782 uchar termination; /* Term. Ctrl. bits 6-5 of SCSI_CFG1 register */
2488 printk(" disc_enable 0x%x, termination 0x%x\n",
2489 h->disc_enable, h->termination);
3301 word = ep_3550->termination;
3325 " termination: %u (%s), bios_ctrl: 0x%x\n",
3326 ep_3550->termination, termstr,
3331 " termination: %u (%s), bios_ctrl: 0x%x\n",
3337 " termination: %u (%s), bios_ctrl: 0x%x\n",
5289 * If automatic termination control is enabled, then set the
5290 * termination value based on a table listed in a_condor.h.
5292 * If manual termination was specified with an EEPROM setting
5293 * then 'termination' was set-up in AdvInitFrom3550EEPROM() and
5296 if (asc_dvc->cfg->termination == 0) {
5298 * The software always controls termination by setting TERM_CTL_SEL.
5299 * If TERM_CTL_SEL were set to 0, the hardware would set termination.
5301 asc_dvc->cfg->termination |= TERM_CTL_SEL;
5311 asc_dvc->cfg->termination |= (TERM_CTL_H | TERM_CTL_L);
5320 asc_dvc->cfg->termination |= TERM_CTL_H;
5341 scsi_cfg1 |= (TERM_CTL_SEL | (~asc_dvc->cfg->termination & TERM_CTL));
5346 * Set filter value and possibly modified termination control
5784 * If either SE or LVD automatic termination control is enabled, then
5785 * set the termination value based on a table listed in a_condor.h.
5787 * If manual termination was specified with an EEPROM setting then
5788 * 'termination' was set-up in AdvInitFrom38C0800EEPROM() and is ready
5791 if ((asc_dvc->cfg->termination & TERM_SE) == 0) {
5792 /* SE automatic termination control is enabled. */
5798 asc_dvc->cfg->termination |= TERM_SE;
5803 asc_dvc->cfg->termination |= TERM_SE_HI;
5808 if ((asc_dvc->cfg->termination & TERM_LVD) == 0) {
5809 /* LVD automatic termination control is enabled. */
5815 asc_dvc->cfg->termination |= TERM_LVD;
5832 scsi_cfg1 |= (~asc_dvc->cfg->termination & 0xF0);
5836 * bits and set possibly modified termination control bits in the
5844 * Set possibly modified termination control and reset DIS_TERM_DRV
6292 * termination because there are two connectors for each function. Each
6294 * termination control EEPROM bits are used for each function. Each
6296 * the function, then set the termination value based on a table listed
6299 * If manual termination is specified in the EEPROM for the function,
6300 * then 'termination' was set-up in AscInitFrom38C1600EEPROM() and is
6303 if ((asc_dvc->cfg->termination & TERM_SE) == 0) {
6305 /* SE automatic termination control is enabled. */
6311 asc_dvc->cfg->termination |= TERM_SE;
6319 asc_dvc->cfg->termination |= TERM_SE_HI;
6333 scsi_cfg1 |= (~asc_dvc->cfg->termination & TERM_SE);
6337 * modified termination control bits in the Microcode SCSI_CFG1
6347 * Set possibly modified termination control bits in the Microcode
10347 0, /* termination */
10385 1, /* termination */
11145 * If the EEPROM 'termination' field is set to automatic (0), then set
11146 * the ADV_DVC_CFG 'termination' field to automatic also.
11148 * If the termination is specified with a non-zero 'termination'
11150 * 'termination' field appropriately.
11152 if (eep_config.termination == 0) {
11153 asc_dvc->cfg->termination = 0; /* auto termination */
11156 if (eep_config.termination == 1) {
11157 asc_dvc->cfg->termination = TERM_CTL_SEL;
11160 } else if (eep_config.termination == 2) {
11161 asc_dvc->cfg->termination = TERM_CTL_SEL | TERM_CTL_H;
11164 } else if (eep_config.termination == 3) {
11165 asc_dvc->cfg->termination =
11169 * The EEPROM 'termination' field contains a bad value. Use
11170 * automatic termination instead.
11172 asc_dvc->cfg->termination = 0;
11197 uchar tid, termination;
11321 * If the EEPROM 'termination' field is set to automatic (0), then set
11322 * the ADV_DVC_CFG 'termination' field to automatic also.
11324 * If the termination is specified with a non-zero 'termination'
11326 * 'termination' field appropriately.
11329 termination = 0; /* auto termination for SE */
11333 termination = 0;
11337 termination = TERM_SE_HI;
11341 termination = TERM_SE;
11345 * Use automatic termination instead.
11347 termination = 0;
11353 asc_dvc->cfg->termination = termination; /* auto termination for LVD */
11357 asc_dvc->cfg->termination = termination;
11361 asc_dvc->cfg->termination = termination | TERM_LVD_HI;
11365 asc_dvc->cfg->termination = termination | TERM_LVD;
11369 * Use automatic termination instead.
11371 asc_dvc->cfg->termination = termination;
11396 uchar tid, termination;
11545 * If the EEPROM 'termination' field is set to automatic (0), then set
11546 * the ASC_DVC_CFG 'termination' field to automatic also.
11548 * If the termination is specified with a non-zero 'termination'
11550 * 'termination' field appropriately.
11553 termination = 0; /* auto termination for SE */
11557 termination = 0;
11561 termination = TERM_SE_HI;
11565 termination = TERM_SE;
11569 * Use automatic termination instead.
11571 termination = 0;
11577 asc_dvc->cfg->termination = termination; /* auto termination for LVD */
11581 asc_dvc->cfg->termination = termination;
11585 asc_dvc->cfg->termination = termination | TERM_LVD_HI;
11589 asc_dvc->cfg->termination = termination | TERM_LVD;
11593 * Use automatic termination instead.
11595 asc_dvc->cfg->termination = termination;
12022 ep_3550->termination = adv_dvc_varp->cfg->termination;
12046 adv_dvc_varp->cfg->termination;
12074 adv_dvc_varp->cfg->termination;