Lines Matching defs:on
193 * Turn the receiver on/off.
195 void cx_enable_receive (cx_chan_t *c, int on)
199 if (cx_receive_enabled(c) && ! on) {
206 } else if (! cx_receive_enabled(c) && on) {
218 * Turn the transmiter on/off.
220 void cx_enable_transmit (cx_chan_t *c, int on)
222 if (cx_transmit_enabled(c) && ! on) {
227 } else if (! cx_transmit_enabled(c) && on) {
317 void cx_set_loop (cx_chan_t *c, int on)
322 c->opt.tcor.llm = on ? 1 : 0;
326 void cx_set_dpll (cx_chan_t *c, int on)
331 c->opt.rcor.dpll = on ? 1 : 0;
672 void cx_xflow_ctl (cx_chan_t *c, int on)
675 outb (STCR(c->port), STC_SNDSPC | (on ? STC_SSPC_1 : STC_SSPC_2));