Home | History | Annotate | Download | only in sunxi

Lines Matching refs:sc_unit

74 	int sc_unit; /* tcon0 or tcon1 */
166 sc->sc_unit = -1;
240 if (sc->sc_unit != 0) {
264 bool do_print = (sc->sc_unit == -1);
269 if (sc->sc_unit != -1 && rep_idx != -1 &&
270 sc->sc_unit != rep_idx) {
273 rep_idx, sc->sc_unit);
284 sc->sc_unit = rep_idx;
287 sc->sc_unit = 0;
290 aprint_verbose_dev(self, "tcon unit %d\n", sc->sc_unit);
291 if (!tcon_mux_inited && sc->sc_unit == 0) {
691 printf("sunxi_tcon1_enable(%d) %d val 0x%x", sc->sc_unit, enable, val);
694 switch(sc->sc_unit) {
704 panic("tcon: invalid unid %d\n", sc->sc_unit);
861 if (sc->sc_unit == 0)
864 if (sc->sc_unit == 1)