Searched refs:ep_opts (Results 1 – 1 of 1) sorted by relevance
2325 static int f_midi2_block_opts_create(struct f_midi2_ep_opts *ep_opts, in f_midi2_block_opts_create() argument2332 mutex_lock(&ep_opts->opts->lock); in f_midi2_block_opts_create()2333 if (ep_opts->opts->refcnt || ep_opts->blks[blk]) { in f_midi2_block_opts_create()2344 block_opts->ep = ep_opts; in f_midi2_block_opts_create()2354 ep_opts->blks[blk] = block_opts; in f_midi2_block_opts_create()2358 mutex_unlock(&ep_opts->opts->lock); in f_midi2_block_opts_create()2366 struct f_midi2_ep_opts *ep_opts; in f_midi2_opts_block_make() local2377 ep_opts = to_f_midi2_ep_opts(&group->cg_item); in f_midi2_opts_block_make()2381 if (ep_opts->blks[blk]) in f_midi2_opts_block_make()2383 ret = f_midi2_block_opts_create(ep_opts, blk, &block_opts); in f_midi2_opts_block_make()[all …]