Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Df_midi2.c147 struct usb_string *string_defs; member
1931 .strings = midi2->string_defs, in f_midi2_bind()
2696 kfree(midi2->string_defs); in do_f_midi2_free()
2851 midi2->string_defs = kcalloc(midi2->total_blocks + 1, in f_midi2_alloc()
2852 sizeof(*midi2->string_defs), GFP_KERNEL); in f_midi2_alloc()
2853 if (!midi2->string_defs) { in f_midi2_alloc()
2859 midi2->string_defs[STR_IFACE].s = opts->info.iface_name; in f_midi2_alloc()
2861 midi2->string_defs[STR_IFACE].s = ump_ep_name(&midi2->midi2_eps[0]); in f_midi2_alloc()
2867 midi2->string_defs[gtb_to_str_id(bp->gtb_id)].s = in f_midi2_alloc()