Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/gadget/function/
Df_sourcesink.c838 struct f_ss_opts *ss_opts; in source_sink_alloc_func() local
844 ss_opts = container_of(fi, struct f_ss_opts, func_inst); in source_sink_alloc_func()
846 mutex_lock(&ss_opts->lock); in source_sink_alloc_func()
847 ss_opts->refcnt++; in source_sink_alloc_func()
848 mutex_unlock(&ss_opts->lock); in source_sink_alloc_func()
850 ss->pattern = ss_opts->pattern; in source_sink_alloc_func()
851 ss->isoc_interval = ss_opts->isoc_interval; in source_sink_alloc_func()
852 ss->isoc_maxpacket = ss_opts->isoc_maxpacket; in source_sink_alloc_func()
853 ss->isoc_mult = ss_opts->isoc_mult; in source_sink_alloc_func()
854 ss->isoc_maxburst = ss_opts->isoc_maxburst; in source_sink_alloc_func()
[all …]
/linux-6.12.1/drivers/usb/gadget/legacy/
Dzero.c267 struct f_ss_opts *ss_opts; in zero_bind() local
289 ss_opts = container_of(func_inst_ss, struct f_ss_opts, func_inst); in zero_bind()
290 ss_opts->pattern = gzero_options.pattern; in zero_bind()
291 ss_opts->isoc_interval = gzero_options.isoc_interval; in zero_bind()
292 ss_opts->isoc_maxpacket = gzero_options.isoc_maxpacket; in zero_bind()
293 ss_opts->isoc_mult = gzero_options.isoc_mult; in zero_bind()
294 ss_opts->isoc_maxburst = gzero_options.isoc_maxburst; in zero_bind()
295 ss_opts->bulk_buflen = gzero_options.bulk_buflen; in zero_bind()
296 ss_opts->bulk_qlen = gzero_options.ss_bulk_qlen; in zero_bind()
297 ss_opts->iso_qlen = gzero_options.ss_iso_qlen; in zero_bind()