Lines Matching refs:termctl
641 uint8_t termctl; in ahd_configure_termination() local
661 error = ahd_read_flexport(ahd, FLXADDR_TERMCTL, &termctl); in ahd_configure_termination()
666 termctl &= ~(FLX_TERMCTL_ENPRILOW|FLX_TERMCTL_ENPRIHIGH); in ahd_configure_termination()
668 termctl |= FLX_TERMCTL_ENPRILOW; in ahd_configure_termination()
670 termctl |= FLX_TERMCTL_ENPRIHIGH; in ahd_configure_termination()
674 termctl = FLX_TERMCTL_ENPRILOW|FLX_TERMCTL_ENPRIHIGH; in ahd_configure_termination()
681 termctl &= ~(FLX_TERMCTL_ENSECLOW|FLX_TERMCTL_ENSECHIGH); in ahd_configure_termination()
683 termctl |= FLX_TERMCTL_ENSECLOW; in ahd_configure_termination()
685 termctl |= FLX_TERMCTL_ENSECHIGH; in ahd_configure_termination()
689 termctl |= FLX_TERMCTL_ENSECLOW|FLX_TERMCTL_ENSECHIGH; in ahd_configure_termination()
697 if ((termctl & FLX_TERMCTL_ENPRILOW) != 0) { in ahd_configure_termination()
705 error = ahd_write_flexport(ahd, FLXADDR_TERMCTL, termctl); in ahd_configure_termination()
712 (termctl & FLX_TERMCTL_ENPRIHIGH) ? "En" : "Dis"); in ahd_configure_termination()
716 (termctl & FLX_TERMCTL_ENPRILOW) ? "En" : "Dis"); in ahd_configure_termination()
720 (termctl & FLX_TERMCTL_ENSECHIGH) ? "En" : "Dis"); in ahd_configure_termination()
724 (termctl & FLX_TERMCTL_ENSECLOW) ? "En" : "Dis"); in ahd_configure_termination()