Home
last modified time | relevance | path

Searched refs:get_alt (Results 1 – 9 of 9) sorted by relevance

/linux/include/linux/usb/
H A Dcomposite.h219 int (*get_alt)(struct usb_function *, member
/linux/drivers/usb/gadget/function/
H A Df_obex.c480 obex->port.func.get_alt = obex_get_alt; in obex_alloc()
H A Df_ecm.c40 * and also means that a get_alt() method is required.
593 * this ECM function *MUST* implement a get_alt() method. in ecm_set_alt()
959 ecm->port.func.get_alt = ecm_get_alt; in ecm_alloc()
H A Df_uac1_legacy.c987 audio->card.func.get_alt = f_audio_get_alt; in f_audio_alloc()
H A Df_sourcesink.c870 ss->function.get_alt = sourcesink_get_alt; in source_sink_alloc_func()
H A Df_ncm.c37 * and also means that a get_alt() method is required.
934 * this NCM function *MUST* implement a get_alt() method. in ncm_set_alt()
1829 ncm->port.func.get_alt = ncm_get_alt;
H A Df_midi2.c1346 /* gadget function get_alt callback */ in assign_block_descriptors()
2861 midi2->func.get_alt = f_midi2_get_alt; in f_midi2_alloc()
H A Df_fs.c4270 func->function.get_alt = ffs_func_get_alt; in _ffs_alloc_dev()
/linux/drivers/usb/gadget/
H A Dcomposite.c1925 * If there's no get_alt() method, we know only altsetting zero in composite_setup()
1929 if (w_value && !f->get_alt) in composite_setup()
1953 value = f->get_alt ? f->get_alt(f, intf) : 0; in composite_setup()