Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Df_uac1.c404 struct f_uac1 *uac1 = func_to_uac1(fn); in uac_cs_attr_sample_rate() local
414 if (uac1->ctl_id == (USB_DIR_IN | 2)) { in uac_cs_attr_sample_rate()
415 uac1->p_srate = val; in uac_cs_attr_sample_rate()
416 u_audio_set_playback_srate(agdev, uac1->p_srate); in uac_cs_attr_sample_rate()
417 } else if (uac1->ctl_id == (USB_DIR_OUT | 1)) { in uac_cs_attr_sample_rate()
418 uac1->c_srate = val; in uac_cs_attr_sample_rate()
419 u_audio_set_capture_srate(agdev, uac1->c_srate); in uac_cs_attr_sample_rate()
426 struct f_uac1 *uac1 = func_to_uac1(&audio->func); in audio_notify_complete() local
428 atomic_dec(&uac1->int_count); in audio_notify_complete()
435 struct f_uac1 *uac1 = func_to_uac1(&audio->func); in audio_notify() local
[all …]
/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-uac11 What: /config/usb-gadget/gadget/functions/uac1.name
/linux/Documentation/usb/
H A Dgadget-testing.rst711 The uac1 function provides these attributes in its function directory:
948 The function name to use when creating the function directory is "uac1".
949 The uac1 function provides these attributes in its function directory: