Searched refs:gether_opts (Results 1 – 1 of 1) sorted by relevance
304 struct f_gether_opts *gether_opts; in geth_bind() local306 gether_opts = container_of(f->fi, struct f_gether_opts, func_inst); in geth_bind()315 if (!gether_opts->bound) { in geth_bind()316 mutex_lock(&gether_opts->lock); in geth_bind()317 gether_set_gadget(gether_opts->net, cdev->gadget); in geth_bind()318 status = gether_register_netdev(gether_opts->net); in geth_bind()319 mutex_unlock(&gether_opts->lock); in geth_bind()322 gether_opts->bound = true; in geth_bind()