Lines Matching refs:uchcom_softc
177 struct uchcom_softc { struct
220 static void uchcom_update_version(struct uchcom_softc *);
221 static void uchcom_convert_status(struct uchcom_softc *, uint8_t);
222 static void uchcom_update_status(struct uchcom_softc *);
223 static void uchcom_set_dtr_rts(struct uchcom_softc *);
224 static void uchcom_calc_baudrate(struct uchcom_softc *, uint32_t, uint8_t *,
226 static void uchcom_set_baudrate(struct uchcom_softc *, uint32_t, uint16_t);
232 static void uchcom_free_softc(struct uchcom_softc *);
311 struct uchcom_softc *sc = device_get_softc(dev); in uchcom_attach()
402 struct uchcom_softc *sc = device_get_softc(dev); in uchcom_detach()
419 uchcom_free_softc(struct uchcom_softc *sc) in uchcom_free_softc()
438 uchcom_ctrl_write(struct uchcom_softc *sc, uint8_t reqno, in uchcom_ctrl_write()
456 uchcom_ctrl_read(struct uchcom_softc *sc, uint8_t reqno, in uchcom_ctrl_read()
474 uchcom_write_reg(struct uchcom_softc *sc, in uchcom_write_reg()
488 uchcom_read_reg(struct uchcom_softc *sc, in uchcom_read_reg()
508 uchcom_get_version(struct uchcom_softc *sc, uint8_t *rver) in uchcom_get_version()
519 uchcom_get_status(struct uchcom_softc *sc, uint8_t *rval) in uchcom_get_status()
525 uchcom_set_dtr_rts_10(struct uchcom_softc *sc, uint8_t val) in uchcom_set_dtr_rts_10()
531 uchcom_set_dtr_rts_20(struct uchcom_softc *sc, uint8_t val) in uchcom_set_dtr_rts_20()
541 uchcom_update_version(struct uchcom_softc *sc) in uchcom_update_version()
548 uchcom_convert_status(struct uchcom_softc *sc, uint8_t cur) in uchcom_convert_status()
555 uchcom_update_status(struct uchcom_softc *sc) in uchcom_update_status()
564 uchcom_set_dtr_rts(struct uchcom_softc *sc) in uchcom_set_dtr_rts()
582 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_cfg_set_break()
609 uchcom_calc_baudrate(struct uchcom_softc *sc, uint32_t rate, uint8_t *divisor, in uchcom_calc_baudrate()
639 uchcom_set_baudrate(struct uchcom_softc *sc, uint32_t rate, uint16_t lcr) in uchcom_set_baudrate()
657 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_cfg_get_status()
669 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_cfg_set_dtr()
680 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_cfg_set_rts()
691 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_cfg_open()
710 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_pre_param()
734 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_cfg_param()
780 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_start_read()
792 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_stop_read()
804 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_start_write()
812 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_stop_write()
823 struct uchcom_softc *sc = usbd_xfer_softc(xfer); in uchcom_intr_callback()
865 struct uchcom_softc *sc = usbd_xfer_softc(xfer); in uchcom_write_callback()
896 struct uchcom_softc *sc = usbd_xfer_softc(xfer); in uchcom_read_callback()
929 struct uchcom_softc *sc = ucom->sc_parent; in uchcom_poll()
944 .size = sizeof(struct uchcom_softc)