Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/function/
H A Df_loopback.c426 struct f_lb_opts *lb_opts; in loopback_alloc() local
434 mutex_lock(&lb_opts->lock); in loopback_alloc()
435 lb_opts->refcnt++; in loopback_alloc()
439 loop->qlen = lb_opts->qlen; in loopback_alloc()
561 struct f_lb_opts *lb_opts; in lb_free_instance() local
564 kfree(lb_opts); in lb_free_instance()
569 struct f_lb_opts *lb_opts; in loopback_alloc_instance() local
571 lb_opts = kzalloc(sizeof(*lb_opts), GFP_KERNEL); in loopback_alloc_instance()
572 if (!lb_opts) in loopback_alloc_instance()
574 mutex_init(&lb_opts->lock); in loopback_alloc_instance()
[all …]
/openbmc/linux/drivers/usb/gadget/legacy/
H A 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()