Searched refs:gether_opts (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/function/
H A Df_subset.c304 struct f_gether_opts *gether_opts; geth_bind() local
306 gether_opts = container_of(f->fi, struct f_gether_opts, func_inst); geth_bind()
313 * with regard to gether_opts->bound access geth_bind()
315 if (!gether_opts->bound) { geth_bind()
316 mutex_lock(&gether_opts->lock); geth_bind()
317 gether_set_gadget(gether_opts->net, cdev->gadget); geth_bind()
318 status = gether_register_netdev(gether_opts->net); geth_bind()
319 mutex_unlock(&gether_opts->lock); geth_bind()
322 gether_opts->bound = true; geth_bind()

Completed in 72 milliseconds