Lines Matching defs:termctl
643 uint8_t termctl;
663 error = ahd_read_flexport(ahd, FLXADDR_TERMCTL, &termctl);
668 termctl &= ~(FLX_TERMCTL_ENPRILOW|FLX_TERMCTL_ENPRIHIGH);
670 termctl |= FLX_TERMCTL_ENPRILOW;
672 termctl |= FLX_TERMCTL_ENPRIHIGH;
676 termctl = FLX_TERMCTL_ENPRILOW|FLX_TERMCTL_ENPRIHIGH;
683 termctl &= ~(FLX_TERMCTL_ENSECLOW|FLX_TERMCTL_ENSECHIGH);
685 termctl |= FLX_TERMCTL_ENSECLOW;
687 termctl |= FLX_TERMCTL_ENSECHIGH;
691 termctl |= FLX_TERMCTL_ENSECLOW|FLX_TERMCTL_ENSECHIGH;
699 if ((termctl & FLX_TERMCTL_ENPRILOW) != 0) {
707 error = ahd_write_flexport(ahd, FLXADDR_TERMCTL, termctl);
714 (termctl & FLX_TERMCTL_ENPRIHIGH) ? "En" : "Dis");
718 (termctl & FLX_TERMCTL_ENPRILOW) ? "En" : "Dis");
722 (termctl & FLX_TERMCTL_ENSECHIGH) ? "En" : "Dis");
726 (termctl & FLX_TERMCTL_ENSECLOW) ? "En" : "Dis");