Lines Matching defs:termination
113 0, /* 11 termination */
256 u_int8_t tid, termination;
443 * If the EEPROM 'termination' field is set to automatic (0), then set
444 * the ADV_DVC_CFG 'termination' field to automatic also.
446 * If the termination is specified with a non-zero 'termination'
448 * 'termination' field appropriately.
453 sc->cfg.termination = 0; /* auto termination */
457 sc->cfg.termination |= ADW_TERM_CTL_L;
461 sc->cfg.termination |= ADW_TERM_CTL_H;
465 sc->cfg.termination |= ADW_TERM_CTL_SEL;
478 /* auto termination for SE */
479 termination = 0;
483 termination = 0;
487 termination = ADW_TERM_SE_HI;
491 termination = ADW_TERM_SE;
496 * bad value. Use automatic termination instead.
498 termination = 0;
504 /* auto termination for LVD */
505 sc->cfg.termination = termination;
509 sc->cfg.termination = termination;
513 sc->cfg.termination = termination | ADW_TERM_LVD_HI;
517 sc->cfg.termination = termination | ADW_TERM_LVD;
522 * bad value. Use automatic termination instead.
524 sc->cfg.termination = termination;
1220 * If automatic termination control is enabled, then set the
1221 * termination value based on a table listed in a_condor.h.
1223 * If manual termination was specified with an EEPROM setting
1224 * then 'termination' was set-up in AdwInitFromEEPROM() and
1227 if (cfg->termination == 0) {
1229 * The software always controls termination by setting
1232 * termination.
1234 cfg->termination |= ADW_TERM_CTL_SEL;
1240 cfg->termination |=
1247 cfg->termination |= ADW_TERM_CTL_H;
1265 * the Termination High and Low bits if TERM_POL is set.
1267 scsi_cfg1 |= (ADW_TERM_CTL_SEL | (~cfg->termination & ADW_TERM_CTL));
1272 * Set filter value and possibly modified termination control
1342 * If either SE or LVD automatic termination control is enabled, then
1343 * set the termination value based on a table listed in a_condor.h.
1345 * If manual termination was specified with an EEPROM setting then
1346 * 'termination' was set-up in AdwInitFromEEPROM() and is ready
1349 if ((cfg->termination & ADW_TERM_SE) == 0) {
1350 /* SE automatic termination control is enabled. */
1354 cfg->termination |= ADW_TERM_SE;
1359 cfg->termination |= ADW_TERM_SE_HI;
1364 if ((cfg->termination & ADW_TERM_LVD) == 0) {
1365 /* LVD automatic termination control is enabled. */
1369 cfg->termination |= ADW_TERM_LVD;
1386 scsi_cfg1 |= (~cfg->termination & 0xF0);
1390 * HVD/LVD/SE bits and set possibly modified termination control bits
1399 * Set possibly modified termination control and reset DIS_TERM_DRV
1466 * termination because there are two connectors for each function.
1468 * Corresponding the SE automatic termination control EEPROM bits are
1471 * for the function, then set the termination value based on a table
1474 * If manual termination is specified in the EEPROM for the function,
1475 * then 'termination' was set-up in AdwInitFromEEPROM() and is
1478 if ((cfg->termination & ADW_TERM_SE) == 0) {
1479 /* SE automatic termination control is enabled. */
1483 cfg->termination |= ADW_TERM_SE;
1496 cfg->termination |= ADW_TERM_SE_HI;
1510 scsi_cfg1 |= (~cfg->termination & ADW_TERM_SE);
1514 * modified termination control bits in the Microcode SCSI_CFG1
1522 * Set possibly modified termination control bits in the Microcode