Lines Matching defs:ucom_softc

147 struct ucom_softc {
232 static void ucom_cleanup(struct ucom_softc *, int);
236 static void ucom_shutdown(struct ucom_softc *);
237 static void ucom_dtr(struct ucom_softc *, int);
238 static void ucom_rts(struct ucom_softc *, int);
239 static void ucom_break(struct ucom_softc *, int);
240 static void tiocm_to_ucom(struct ucom_softc *, u_long, int);
241 static int ucom_to_tiocm(struct ucom_softc *);
244 static void ucom_submit_write(struct ucom_softc *, struct ucom_buffer *);
245 static void ucom_write_status(struct ucom_softc *, struct ucom_buffer *,
249 static void ucom_read_complete(struct ucom_softc *);
250 static int ucomsubmitread(struct ucom_softc *, struct ucom_buffer *);
253 static bool ucom_polling(struct ucom_softc *);
254 static void ucom_mutex_enter(struct ucom_softc *);
255 static void ucom_mutex_exit(struct ucom_softc *);
258 static void ucom_cninit(struct ucom_softc *);
259 static void ucom_cnread_complete(struct ucom_softc *);
260 static int ucom_cnput_bytes(struct ucom_softc *);
267 static void ucom_cnfree(struct ucom_softc *);
270 static void ucom_cncheckmagic(struct ucom_softc *, struct ucom_buffer *);
310 CFATTACH_DECL_NEW(ucom, sizeof(struct ucom_softc), ucom_match, ucom_attach,
327 struct ucom_softc * const sc = priv;
394 ucom_cnput_bytes(struct ucom_softc *sc)
482 struct ucom_softc * const sc = priv;
499 struct ucom_softc * const sc = priv;
508 ucom_polling(struct ucom_softc *sc)
519 ucom_mutex_enter(struct ucom_softc *sc)
526 ucom_mutex_exit(struct ucom_softc *sc)
534 ucom_cninit(struct ucom_softc *sc)
618 struct ucom_softc *sc = device_private(self);
780 struct ucom_softc *sc = device_private(self);
872 ucom_shutdown(struct ucom_softc *sc)
905 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
1130 struct ucom_softc *sc = device_lookup_private(&ucom_cd, unit);
1179 struct ucom_softc *sc = device_lookup_private(&ucom_cd, unit);
1243 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
1255 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
1267 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
1279 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
1288 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
1387 tiocm_to_ucom(struct ucom_softc *sc, u_long how, int ttybits)
1422 ucom_to_tiocm(struct ucom_softc *sc)
1455 ucom_break(struct ucom_softc *sc, int onoff)
1467 ucom_dtr(struct ucom_softc *sc, int onoff)
1479 ucom_rts(struct ucom_softc *sc, int onoff)
1491 ucom_status_change(struct ucom_softc *sc)
1533 struct ucom_softc * const sc = tp->t_softc;
1605 struct ucom_softc * const sc = tp->t_softc;
1629 struct ucom_softc * const sc = tp->t_softc;
1688 struct ucom_softc * const sc = tp->t_softc;
1704 ucom_write_status(struct ucom_softc *sc, struct ucom_buffer *ub,
1754 ucom_submit_write(struct ucom_softc *sc, struct ucom_buffer *ub)
1768 struct ucom_softc *sc = (struct ucom_softc *)p;
1781 struct ucom_softc *sc = arg;
1829 ucom_read_complete(struct ucom_softc *sc)
1864 ucomsubmitread(struct ucom_softc *sc, struct ucom_buffer *ub)
1886 ucom_cnread_complete(struct ucom_softc *sc)
1966 struct ucom_softc *sc = (struct ucom_softc *)p;
2074 ucom_cleanup(struct ucom_softc *sc, int flag)
2131 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
2181 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
2236 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
2257 ucom_cnfree(struct ucom_softc *sc)
2286 struct ucom_softc * const sc = device_lookup_private(&ucom_cd, unit);
2311 ucom_cncheckmagic(struct ucom_softc *sc, struct ucom_buffer *ub)