Searched refs:ncm_opts (Results 1 - 2 of 2) sorted by last modified time
/linux-master/drivers/usb/gadget/function/ |
H A D | f_ncm.c | 1183 struct f_ncm_opts *ncm_opts; local 1185 ncm_opts = container_of(port->func.fi, struct f_ncm_opts, func_inst); 1186 frame_max = ncm_opts->max_segment_size; 1436 struct f_ncm_opts *ncm_opts; local 1441 ncm_opts = container_of(f->fi, struct f_ncm_opts, func_inst); 1449 f->os_desc_table[0].os_desc = &ncm_opts->ncm_os_desc; 1452 mutex_lock(&ncm_opts->lock); 1453 gether_set_gadget(ncm_opts->net, cdev->gadget); 1454 if (!ncm_opts->bound) { 1455 ncm_opts [all...] |
/linux-master/drivers/usb/gadget/legacy/ |
H A D | ncm.c | 130 struct f_ncm_opts *ncm_opts; local 137 ncm_opts = container_of(f_ncm_inst, struct f_ncm_opts, func_inst); 139 gether_set_qmult(ncm_opts->net, qmult); 140 if (!gether_set_host_addr(ncm_opts->net, host_addr)) 142 if (!gether_set_dev_addr(ncm_opts->net, dev_addr))
|
Completed in 156 milliseconds