Home
last modified time | relevance | path

Searched refs:rndis_opts (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/gadget/legacy/
Dmulti.c305 struct f_rndis_opts *rndis_opts; in multi_bind() local
338 rndis_opts = container_of(fi_rndis, struct f_rndis_opts, func_inst); in multi_bind()
340 gether_set_qmult(rndis_opts->net, qmult); in multi_bind()
341 if (!gether_set_host_addr(rndis_opts->net, host_addr)) in multi_bind()
343 if (!gether_set_dev_addr(rndis_opts->net, dev_addr)) in multi_bind()
Dg_ffs.c350 struct f_rndis_opts *rndis_opts; in gfs_bind() local
357 rndis_opts = container_of(fi_rndis, struct f_rndis_opts, in gfs_bind()
360 net = rndis_opts->net; in gfs_bind()
/drivers/usb/gadget/function/
Df_rndis.c705 struct f_rndis_opts *rndis_opts; in rndis_bind() local
710 rndis_opts = container_of(f->fi, struct f_rndis_opts, func_inst); in rndis_bind()
718 f->os_desc_table[0].os_desc = &rndis_opts->rndis_os_desc; in rndis_bind()
728 if (!rndis_opts->bound) { in rndis_bind()
729 gether_set_gadget(rndis_opts->net, cdev->gadget); in rndis_bind()
730 status = gether_register_netdev(rndis_opts->net); in rndis_bind()
733 rndis_opts->bound = true; in rndis_bind()