Home
last modified time | relevance | path

Searched refs:fsg_opts (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/usb/gadget/legacy/
A Dmulti.c303 struct fsg_opts *fsg_opts; in multi_bind() local
373 fsg_opts = fsg_opts_from_func_inst(fi_msg); in multi_bind()
375 fsg_opts->no_configfs = true; in multi_bind()
376 status = fsg_common_set_num_buffers(fsg_opts->common, fsg_num_buffers); in multi_bind()
380 status = fsg_common_set_cdev(fsg_opts->common, cdev, config.can_stall); in multi_bind()
384 fsg_common_set_sysfs(fsg_opts->common, true); in multi_bind()
385 status = fsg_common_create_luns(fsg_opts->common, &config); in multi_bind()
389 fsg_common_set_inquiry_string(fsg_opts->common, config.vendor_name, in multi_bind()
431 fsg_common_remove_luns(fsg_opts->common); in multi_bind()
433 fsg_common_free_buffers(fsg_opts->common); in multi_bind()
A Dnokia.c270 struct fsg_opts *fsg_opts; in nokia_bind() local
323 fsg_opts = fsg_opts_from_func_inst(fi_msg); in nokia_bind()
324 fsg_opts->no_configfs = true; in nokia_bind()
326 status = fsg_common_set_num_buffers(fsg_opts->common, fsg_num_buffers); in nokia_bind()
330 status = fsg_common_set_cdev(fsg_opts->common, cdev, fsg_config.can_stall); in nokia_bind()
334 fsg_common_set_sysfs(fsg_opts->common, true); in nokia_bind()
336 status = fsg_common_create_luns(fsg_opts->common, &fsg_config); in nokia_bind()
340 fsg_common_set_inquiry_string(fsg_opts->common, fsg_config.vendor_name, in nokia_bind()
369 fsg_common_remove_luns(fsg_opts->common); in nokia_bind()
371 fsg_common_free_buffers(fsg_opts->common); in nokia_bind()
A Dmass_storage.c141 struct fsg_opts *opts; in msg_bind()
A Dacm_ms.c155 struct fsg_opts *opts; in acm_ms_bind()
/linux/drivers/usb/gadget/function/
A Df_mass_storage.c3163 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_show() local
3172 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_store() local
3188 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_ro_store() local
3218 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_cdrom_store() local
3257 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_forced_eject_store() local
3286 struct fsg_opts *fsg_opts; in fsg_lun_make() local
3309 if (fsg_opts->refcnt || fsg_opts->common->luns[num]) { in fsg_lun_make()
3344 struct fsg_opts *fsg_opts; in fsg_lun_drop() local
3479 struct fsg_opts *opts; in fsg_free_inst()
3488 struct fsg_opts *opts; in fsg_alloc_inst()
[all …]
A Df_mass_storage.h70 struct fsg_opts { struct
112 static inline struct fsg_opts *
115 return container_of(fi, struct fsg_opts, func_inst); in fsg_opts_from_func_inst()

Completed in 18 milliseconds