Searched refs:gether_opts (Results 1 – 1 of 1) sorted by relevance
300 struct f_gether_opts *gether_opts; in geth_bind() local302 gether_opts = container_of(f->fi, struct f_gether_opts, func_inst); in geth_bind()311 if (!gether_opts->bound) { in geth_bind()312 mutex_lock(&gether_opts->lock); in geth_bind()313 gether_set_gadget(gether_opts->net, cdev->gadget); in geth_bind()314 status = gether_register_netdev(gether_opts->net); in geth_bind()315 mutex_unlock(&gether_opts->lock); in geth_bind()318 gether_opts->bound = true; in geth_bind()