Searched refs:sc_data_len (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/usb/gadget/ |
H A D | g_audio.c | 88 uint16_t sc_data_len[2][G_AUDIO_FRAMES]; member 307 sc->sc_data_len[0][i] = G_AUDIO_BUFSIZE / G_AUDIO_FRAMES; in g_audio_attach() 308 sc->sc_data_len[1][i] = G_AUDIO_BUFSIZE / G_AUDIO_FRAMES; in g_audio_attach() 453 usbd_xfer_set_frame_data(xfer, i, ptr, sc->sc_data_len[nr][i]); in g_audio_isoc_write_callback() 461 usbd_xfer_set_frame_data(xfer, i, ptr, sc->sc_data_len[nr][i] & ~3); in g_audio_isoc_write_callback() 463 g_audio_make_samples(sc, ptr, sc->sc_data_len[nr][i] / 4); in g_audio_isoc_write_callback() 503 sc->sc_data_len[nr][i] = usbd_xfer_frame_len(xfer, i); in g_audio_isoc_read_callback()
|
H A D | g_modem.c | 86 uint16_t sc_data_len; member 428 usbd_xfer_set_frame_data(xfer, 0, sc->sc_data_buf, sc->sc_data_len); in g_modem_bulk_write_callback() 468 sc->sc_data_len = actlen; in g_modem_bulk_read_callback()
|