Lines Matching refs:termctl
650 uint8_t termctl; in ahd_configure_termination() local
670 error = ahd_read_flexport(ahd, FLXADDR_TERMCTL, &termctl); in ahd_configure_termination()
675 termctl &= ~(FLX_TERMCTL_ENPRILOW|FLX_TERMCTL_ENPRIHIGH); in ahd_configure_termination()
677 termctl |= FLX_TERMCTL_ENPRILOW; in ahd_configure_termination()
679 termctl |= FLX_TERMCTL_ENPRIHIGH; in ahd_configure_termination()
683 termctl = FLX_TERMCTL_ENPRILOW|FLX_TERMCTL_ENPRIHIGH; in ahd_configure_termination()
690 termctl &= ~(FLX_TERMCTL_ENSECLOW|FLX_TERMCTL_ENSECHIGH); in ahd_configure_termination()
692 termctl |= FLX_TERMCTL_ENSECLOW; in ahd_configure_termination()
694 termctl |= FLX_TERMCTL_ENSECHIGH; in ahd_configure_termination()
698 termctl |= FLX_TERMCTL_ENSECLOW|FLX_TERMCTL_ENSECHIGH; in ahd_configure_termination()
705 if ((termctl & FLX_TERMCTL_ENPRILOW) != 0) { in ahd_configure_termination()
713 error = ahd_write_flexport(ahd, FLXADDR_TERMCTL, termctl); in ahd_configure_termination()
720 (termctl & FLX_TERMCTL_ENPRIHIGH) ? "En" : "Dis"); in ahd_configure_termination()
724 (termctl & FLX_TERMCTL_ENPRILOW) ? "En" : "Dis"); in ahd_configure_termination()
728 (termctl & FLX_TERMCTL_ENSECHIGH) ? "En" : "Dis"); in ahd_configure_termination()
732 (termctl & FLX_TERMCTL_ENSECLOW) ? "En" : "Dis"); in ahd_configure_termination()