Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_phonet.c486 struct f_phonet_opts *phonet_opts; in pn_bind() local
488 phonet_opts = container_of(f->fi, struct f_phonet_opts, func_inst); in pn_bind()
495 * with regard to phonet_opts->bound access in pn_bind()
497 if (!phonet_opts->bound) { in pn_bind()
498 gphonet_set_gadget(phonet_opts->net, gadget); in pn_bind()
499 status = gphonet_register_netdev(phonet_opts->net); in pn_bind()
502 phonet_opts->bound = true; in pn_bind()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_phonet.c489 struct f_phonet_opts *phonet_opts; in pn_bind() local
491 phonet_opts = container_of(f->fi, struct f_phonet_opts, func_inst); in pn_bind()
498 * with regard to phonet_opts->bound access in pn_bind()
500 if (!phonet_opts->bound) { in pn_bind()
501 gphonet_set_gadget(phonet_opts->net, gadget); in pn_bind()
502 status = gphonet_register_netdev(phonet_opts->net); in pn_bind()
505 phonet_opts->bound = true; in pn_bind()

Completed in 2 milliseconds