Home
last modified time | relevance | path

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

/drivers/usb/gadget/function/
Df_loopback.c428 struct f_lb_opts *lb_opts; in loopback_alloc() local
434 lb_opts = container_of(fi, struct f_lb_opts, func_inst); in loopback_alloc()
436 mutex_lock(&lb_opts->lock); in loopback_alloc()
437 lb_opts->refcnt++; in loopback_alloc()
438 mutex_unlock(&lb_opts->lock); in loopback_alloc()
440 loop->buflen = lb_opts->bulk_buflen; in loopback_alloc()
441 loop->qlen = lb_opts->qlen; in loopback_alloc()
464 struct f_lb_opts *lb_opts = to_f_lb_opts(item); in lb_attr_release() local
466 usb_put_function_instance(&lb_opts->func_inst); in lb_attr_release()
563 struct f_lb_opts *lb_opts; in lb_free_instance() local
[all …]
/drivers/usb/gadget/legacy/
Dzero.c268 struct f_lb_opts *lb_opts; in zero_bind() local
311 lb_opts = container_of(func_inst_lb, struct f_lb_opts, func_inst); in zero_bind()
312 lb_opts->bulk_buflen = gzero_options.bulk_buflen; in zero_bind()
313 lb_opts->qlen = gzero_options.qlen; in zero_bind()