Searched refs:ep_opts (Results 1 – 1 of 1) sorted by relevance
2323 static int f_midi2_block_opts_create(struct f_midi2_ep_opts *ep_opts, in f_midi2_block_opts_create() argument2330 mutex_lock(&ep_opts->opts->lock); in f_midi2_block_opts_create()2331 if (ep_opts->opts->refcnt || ep_opts->blks[blk]) { in f_midi2_block_opts_create()2342 block_opts->ep = ep_opts; in f_midi2_block_opts_create()2352 ep_opts->blks[blk] = block_opts; in f_midi2_block_opts_create()2356 mutex_unlock(&ep_opts->opts->lock); in f_midi2_block_opts_create()2364 struct f_midi2_ep_opts *ep_opts; in f_midi2_opts_block_make() local2375 ep_opts = to_f_midi2_ep_opts(&group->cg_item); in f_midi2_opts_block_make()2379 if (ep_opts->blks[blk]) in f_midi2_opts_block_make()2381 ret = f_midi2_block_opts_create(ep_opts, blk, &block_opts); in f_midi2_opts_block_make()[all …]