Searched refs:ecm_opts (Results 1 – 5 of 5) sorted by relevance
/drivers/usb/gadget/legacy/ |
D | multi.c | 328 struct f_ecm_opts *ecm_opts; in multi_bind() local 348 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in multi_bind() 350 gether_set_qmult(ecm_opts->net, qmult); in multi_bind() 351 if (!gether_set_host_addr(ecm_opts->net, host_addr)) in multi_bind() 353 if (!gether_set_dev_addr(ecm_opts->net, dev_addr)) in multi_bind() 380 gether_set_gadget(ecm_opts->net, cdev->gadget); in multi_bind() 381 status = gether_register_netdev(ecm_opts->net); in multi_bind() 385 rndis_borrow_net(fi_rndis, ecm_opts->net); in multi_bind() 386 ecm_opts->bound = true; in multi_bind()
|
D | cdc2.c | 159 struct f_ecm_opts *ecm_opts; in cdc_bind() local 172 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in cdc_bind() 174 gether_set_qmult(ecm_opts->net, qmult); in cdc_bind() 175 if (!gether_set_host_addr(ecm_opts->net, host_addr)) in cdc_bind() 177 if (!gether_set_dev_addr(ecm_opts->net, dev_addr)) in cdc_bind()
|
D | g_ffs.c | 339 struct f_ecm_opts *ecm_opts; in gfs_bind() local 344 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in gfs_bind() 345 net = ecm_opts->net; in gfs_bind() 390 struct f_ecm_opts *ecm_opts; in gfs_bind() local 392 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in gfs_bind() 393 ecm_opts->bound = true; in gfs_bind()
|
D | ether.c | 325 struct f_ecm_opts *ecm_opts = NULL; in eth_bind() local 351 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in eth_bind() 353 net = ecm_opts->net; in eth_bind() 392 ecm_opts->bound = true; in eth_bind()
|
/drivers/usb/gadget/function/ |
D | f_ecm.c | 694 struct f_ecm_opts *ecm_opts; in ecm_bind() local 699 ecm_opts = container_of(f->fi, struct f_ecm_opts, func_inst); in ecm_bind() 708 if (!ecm_opts->bound) { in ecm_bind() 709 mutex_lock(&ecm_opts->lock); in ecm_bind() 710 gether_set_gadget(ecm_opts->net, cdev->gadget); in ecm_bind() 711 status = gether_register_netdev(ecm_opts->net); in ecm_bind() 712 mutex_unlock(&ecm_opts->lock); in ecm_bind() 715 ecm_opts->bound = true; in ecm_bind()
|