Lines Matching defs:ch
88 quicc_bfe_enabled(struct scc_softc *sc, struct scc_chan *ch)
95 unit = ch->ch_nr - 1;
104 quicc_bfe_iclear(struct scc_softc *sc, struct scc_chan *ch)
111 if (ch->ch_ipend & SER_INT_RXREADY) {
112 rb = quicc_read2(bas, QUICC_PRAM_SCC_RBASE(ch->ch_nr - 1));
125 struct scc_chan *ch;
132 ch = &sc->sc_chan[c];
133 if (!ch->ch_enabled)
135 ch->ch_ipend = 0;
141 ch->ch_ipend |= SER_INT_RXREADY;
143 ch->ch_ipend |= SER_INT_TXIDLE;
145 ch->ch_ipend |= SER_INT_OVERRUN;
147 ch->ch_ipend |= SER_INT_BREAK;
149 ipend |= ch->ch_ipend;