Home
last modified time | relevance | path

Searched refs:sc_pattern (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/usb/gadget/
H A Dg_keyboard.c123 char sc_pattern[G_KEYBOARD_MAX_STRLEN]; member
192 memcpy(sc->sc_pattern, g_keyboard_key_press_pattern, sizeof(sc->sc_pattern)); in g_keyboard_timeout()
194 sc->sc_pattern[G_KEYBOARD_MAX_STRLEN - 1] = 0; in g_keyboard_timeout()
196 sc->sc_pattern_len = strlen(sc->sc_pattern); in g_keyboard_timeout()
292 key = sc->sc_pattern[index]; in g_keyboard_get_keycode()
H A Dg_modem.c84 char sc_pattern[G_MODEM_MAX_STRLEN]; member
216 memcpy(sc->sc_pattern, g_modem_pattern_data, sizeof(sc->sc_pattern)); in g_modem_timeout()
218 sc->sc_pattern[G_MODEM_MAX_STRLEN - 1] = 0; in g_modem_timeout()
220 sc->sc_pattern_len = strlen(sc->sc_pattern); in g_modem_timeout()
409 sc->sc_data_buf[x] = sc->sc_pattern[x % mod]; in g_modem_bulk_write_callback()
H A Dg_audio.c86 int8_t sc_pattern[G_AUDIO_MAX_STRLEN]; member
233 memcpy(sc->sc_pattern, g_audio_pattern_data, sizeof(sc->sc_pattern)); in g_audio_timeout()
235 sc->sc_pattern[G_AUDIO_MAX_STRLEN - 1] = 0; in g_audio_timeout()
237 sc->sc_pattern_len = strlen(sc->sc_pattern); in g_audio_timeout()
415 j = (j * sc->sc_pattern[sc->sc_state]) >> 16; in g_audio_make_samples()