Lines Matching full:ssc

193 	struct ugensa_sub_softc *ssc;  in ugensa_attach()  local
213 ssc = sc->sc_sub + sc->sc_nports; in ugensa_attach()
214 ssc->sc_ucom_ptr = sc->sc_ucom + sc->sc_nports; in ugensa_attach()
221 &iface_index, ssc->sc_xfer, xfer_config, in ugensa_attach()
222 UGENSA_N_TRANSFER, ssc, &sc->sc_mtx); in ugensa_attach()
235 usbd_xfer_set_stall(ssc->sc_xfer[UGENSA_BULK_DT_WR]); in ugensa_attach()
236 usbd_xfer_set_stall(ssc->sc_xfer[UGENSA_BULK_DT_RD]); in ugensa_attach()
240 ssc->sc_ucom_ptr->sc_portno = sc->sc_nports; in ugensa_attach()
305 struct ugensa_sub_softc *ssc = usbd_xfer_softc(xfer); in ugensa_bulk_write_callback() local
314 if (ucom_get_data(ssc->sc_ucom_ptr, pc, 0, in ugensa_bulk_write_callback()
334 struct ugensa_sub_softc *ssc = usbd_xfer_softc(xfer); in ugensa_bulk_read_callback() local
343 ucom_put_data(ssc->sc_ucom_ptr, pc, 0, actlen); in ugensa_bulk_read_callback()
365 struct ugensa_sub_softc *ssc = sc->sc_sub + ucom->sc_portno; in ugensa_start_read() local
367 usbd_transfer_start(ssc->sc_xfer[UGENSA_BULK_DT_RD]); in ugensa_start_read()
374 struct ugensa_sub_softc *ssc = sc->sc_sub + ucom->sc_portno; in ugensa_stop_read() local
376 usbd_transfer_stop(ssc->sc_xfer[UGENSA_BULK_DT_RD]); in ugensa_stop_read()
383 struct ugensa_sub_softc *ssc = sc->sc_sub + ucom->sc_portno; in ugensa_start_write() local
385 usbd_transfer_start(ssc->sc_xfer[UGENSA_BULK_DT_WR]); in ugensa_start_write()
392 struct ugensa_sub_softc *ssc = sc->sc_sub + ucom->sc_portno; in ugensa_stop_write() local
394 usbd_transfer_stop(ssc->sc_xfer[UGENSA_BULK_DT_WR]); in ugensa_stop_write()
401 struct ugensa_sub_softc *ssc = sc->sc_sub + ucom->sc_portno; in ugensa_poll() local
403 usbd_transfer_poll(ssc->sc_xfer, UGENSA_N_TRANSFER); in ugensa_poll()