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

/linux-4.4.14/drivers/usb/gadget/function/
H A Df_eem.c253 struct f_eem_opts *eem_opts; eem_bind() local
255 eem_opts = container_of(f->fi, struct f_eem_opts, func_inst); eem_bind()
261 * with regard to eem_opts->bound access eem_bind()
263 if (!eem_opts->bound) { eem_bind()
264 mutex_lock(&eem_opts->lock); eem_bind()
265 gether_set_gadget(eem_opts->net, cdev->gadget); eem_bind()
266 status = gether_register_netdev(eem_opts->net); eem_bind()
267 mutex_unlock(&eem_opts->lock); eem_bind()
270 eem_opts->bound = true; eem_bind()
/linux-4.4.14/drivers/usb/gadget/legacy/
H A Dether.c311 struct f_eem_opts *eem_opts = NULL; eth_bind() local
324 eem_opts = container_of(fi_eem, struct f_eem_opts, func_inst); eth_bind()
326 net = eem_opts->net; eth_bind()
377 eem_opts->bound = true; eth_bind()

Completed in 87 milliseconds