Home
last modified time | relevance | path

Searched refs:get_alt (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/usb/
H A Dcomposite.h154 * @get_alt: Returns the active altsetting. If this is not provided,
221 int (*get_alt)(struct usb_function *, member
/kernel/linux/linux-6.6/include/linux/usb/
H A Dcomposite.h141 * @get_alt: Returns the active altsetting. If this is not provided,
211 int (*get_alt)(struct usb_function *, member
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_obex.c481 obex->port.func.get_alt = obex_get_alt; in obex_alloc()
H A Df_phonet.c682 fp->function.get_alt = pn_get_alt; in phonet_alloc()
H A Df_ecm.c36 * and also means that a get_alt() method is required.
609 * this ECM function *MUST* implement a get_alt() method.
955 ecm->port.func.get_alt = ecm_get_alt; in ecm_alloc()
H A Df_uac1_legacy.c1004 audio->card.func.get_alt = f_audio_get_alt; in f_audio_alloc()
H A Df_uvc.c973 uvc->func.get_alt = uvc_function_get_alt; in uvc_alloc()
H A Df_uac1.c28 u8 ac_alt, as_in_alt, as_out_alt; /* needed for get_alt() */
834 uac1->g_audio.func.get_alt = f_audio_get_alt; in f_audio_alloc()
H A Df_uac2.c51 u8 ac_alt, as_in_alt, as_out_alt; /* needed for get_alt() */
1202 uac2->g_audio.func.get_alt = afunc_get_alt; in afunc_alloc()
H A Df_sourcesink.c863 ss->function.get_alt = sourcesink_get_alt; in source_sink_alloc_func()
H A Df_ncm.c34 * and also means that a get_alt() method is required.
949 * this NCM function *MUST* implement a get_alt() method.
1744 ncm->port.func.get_alt = ncm_get_alt; in ncm_alloc()
H A Df_tcm.c2320 fu->function.get_alt = tcm_get_alt; in tcm_alloc()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_obex.c480 obex->port.func.get_alt = obex_get_alt; in obex_alloc()
H A Df_phonet.c683 fp->function.get_alt = pn_get_alt; in phonet_alloc()
H A Df_ecm.c36 * and also means that a get_alt() method is required.
598 * this ECM function *MUST* implement a get_alt() method.
958 ecm->port.func.get_alt = ecm_get_alt; in ecm_alloc()
H A Df_uac1_legacy.c1004 audio->card.func.get_alt = f_audio_get_alt; in f_audio_alloc()
H A Df_uvc.c1096 uvc->func.get_alt = uvc_function_get_alt; in uvc_alloc()
H A Df_sourcesink.c862 ss->function.get_alt = sourcesink_get_alt; in source_sink_alloc_func()
H A Df_ncm.c34 * and also means that a get_alt() method is required.
926 * this NCM function *MUST* implement a get_alt() method.
1725 ncm->port.func.get_alt = ncm_get_alt; in ncm_alloc()
H A Df_uac2.c66 u8 ac_alt, as_in_alt, as_out_alt; /* needed for get_alt() */
2232 uac2->g_audio.func.get_alt = afunc_get_alt; in afunc_alloc()
H A Df_tcm.c2266 fu->function.get_alt = tcm_get_alt; in tcm_alloc()
H A Df_uac1.c39 u8 ac_alt, as_in_alt, as_out_alt; /* needed for get_alt() */
1743 uac1->g_audio.func.get_alt = f_audio_get_alt; in f_audio_alloc()
H A Df_midi2.c1313 /* gadget function get_alt callback */
2815 midi2->func.get_alt = f_midi2_get_alt; in f_midi2_alloc()
/kernel/linux/linux-5.10/drivers/usb/gadget/
H A Dcomposite.c1807 * If there's no get_alt() method, we know only altsetting zero in composite_setup()
1811 if (w_value && !f->get_alt) in composite_setup()
1835 value = f->get_alt ? f->get_alt(f, w_index) : 0; in composite_setup()
/kernel/linux/linux-6.6/drivers/usb/gadget/
H A Dcomposite.c1947 * If there's no get_alt() method, we know only altsetting zero in composite_setup()
1951 if (w_value && !f->get_alt) in composite_setup()
1975 value = f->get_alt ? f->get_alt(f, w_index) : 0; in composite_setup()

Completed in 41 milliseconds

12