Searched refs:eem_opts (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_eem.c | 253 struct f_eem_opts *eem_opts; in eem_bind() local 255 eem_opts = container_of(f->fi, struct f_eem_opts, func_inst); in eem_bind() 261 * with regard to eem_opts->bound access in eem_bind() 263 if (!eem_opts->bound) { in eem_bind() 264 mutex_lock(&eem_opts->lock); in eem_bind() 265 gether_set_gadget(eem_opts->net, cdev->gadget); in eem_bind() 266 status = gether_register_netdev(eem_opts->net); in eem_bind() 267 mutex_unlock(&eem_opts->lock); in eem_bind() 270 eem_opts->bound = true; in eem_bind()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_eem.c | 253 struct f_eem_opts *eem_opts; in eem_bind() local 255 eem_opts = container_of(f->fi, struct f_eem_opts, func_inst); in eem_bind() 261 * with regard to eem_opts->bound access in eem_bind() 263 if (!eem_opts->bound) { in eem_bind() 264 mutex_lock(&eem_opts->lock); in eem_bind() 265 gether_set_gadget(eem_opts->net, cdev->gadget); in eem_bind() 266 status = gether_register_netdev(eem_opts->net); in eem_bind() 267 mutex_unlock(&eem_opts->lock); in eem_bind() 270 eem_opts->bound = true; in eem_bind()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/ |
H A D | ether.c | 307 struct f_eem_opts *eem_opts = NULL; in eth_bind() local 320 eem_opts = container_of(fi_eem, struct f_eem_opts, func_inst); in eth_bind() 322 net = eem_opts->net; in eth_bind() 373 eem_opts->bound = true; in eth_bind()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/legacy/ |
H A D | ether.c | 307 struct f_eem_opts *eem_opts = NULL; in eth_bind() local 320 eem_opts = container_of(fi_eem, struct f_eem_opts, func_inst); in eth_bind() 322 net = eem_opts->net; in eth_bind() 373 eem_opts->bound = true; in eth_bind()
|
Completed in 3 milliseconds