ncm_opts 1393 drivers/usb/gadget/function/f_ncm.c struct f_ncm_opts *ncm_opts; ncm_opts 1398 drivers/usb/gadget/function/f_ncm.c ncm_opts = container_of(f->fi, struct f_ncm_opts, func_inst); ncm_opts 1406 drivers/usb/gadget/function/f_ncm.c f->os_desc_table[0].os_desc = &ncm_opts->ncm_os_desc; ncm_opts 1416 drivers/usb/gadget/function/f_ncm.c if (!ncm_opts->bound) { ncm_opts 1417 drivers/usb/gadget/function/f_ncm.c mutex_lock(&ncm_opts->lock); ncm_opts 1418 drivers/usb/gadget/function/f_ncm.c gether_set_gadget(ncm_opts->net, cdev->gadget); ncm_opts 1419 drivers/usb/gadget/function/f_ncm.c status = gether_register_netdev(ncm_opts->net); ncm_opts 1420 drivers/usb/gadget/function/f_ncm.c mutex_unlock(&ncm_opts->lock); ncm_opts 1423 drivers/usb/gadget/function/f_ncm.c ncm_opts->bound = true; ncm_opts 130 drivers/usb/gadget/legacy/ncm.c struct f_ncm_opts *ncm_opts; ncm_opts 137 drivers/usb/gadget/legacy/ncm.c ncm_opts = container_of(f_ncm_inst, struct f_ncm_opts, func_inst); ncm_opts 139 drivers/usb/gadget/legacy/ncm.c gether_set_qmult(ncm_opts->net, qmult); ncm_opts 140 drivers/usb/gadget/legacy/ncm.c if (!gether_set_host_addr(ncm_opts->net, host_addr)) ncm_opts 142 drivers/usb/gadget/legacy/ncm.c if (!gether_set_dev_addr(ncm_opts->net, dev_addr))