Searched refs:rndis_opts (Results 1 – 2 of 2) sorted by relevance
301 struct f_rndis_opts *rndis_opts; in multi_bind() local334 rndis_opts = container_of(fi_rndis, struct f_rndis_opts, func_inst); in multi_bind()336 gether_set_qmult(rndis_opts->net, qmult); in multi_bind()337 if (!gether_set_host_addr(rndis_opts->net, host_addr)) in multi_bind()339 if (!gether_set_dev_addr(rndis_opts->net, dev_addr)) in multi_bind()
677 struct f_rndis_opts *rndis_opts; in rndis_bind() local682 rndis_opts = container_of(f->fi, struct f_rndis_opts, func_inst); in rndis_bind()690 f->os_desc_table[0].os_desc = &rndis_opts->rndis_os_desc; in rndis_bind()693 rndis_iad_descriptor.bFunctionClass = rndis_opts->class; in rndis_bind()694 rndis_iad_descriptor.bFunctionSubClass = rndis_opts->subclass; in rndis_bind()695 rndis_iad_descriptor.bFunctionProtocol = rndis_opts->protocol; in rndis_bind()704 if (!rndis_opts->bound) { in rndis_bind()705 gether_set_gadget(rndis_opts->net, cdev->gadget); in rndis_bind()706 status = gether_register_netdev(rndis_opts->net); in rndis_bind()709 rndis_opts->bound = true; in rndis_bind()