Searched refs:fsg_opts (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/usb/gadget/legacy/ |
D | multi.c | 303 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() 429 fsg_common_remove_luns(fsg_opts->common); in multi_bind() 431 fsg_common_free_buffers(fsg_opts->common); in multi_bind()
|
D | nokia.c | 271 struct fsg_opts *fsg_opts; in nokia_bind() local 324 fsg_opts = fsg_opts_from_func_inst(fi_msg); in nokia_bind() 325 fsg_opts->no_configfs = true; in nokia_bind() 327 status = fsg_common_set_num_buffers(fsg_opts->common, fsg_num_buffers); in nokia_bind() 331 status = fsg_common_set_cdev(fsg_opts->common, cdev, fsg_config.can_stall); in nokia_bind() 335 fsg_common_set_sysfs(fsg_opts->common, true); in nokia_bind() 337 status = fsg_common_create_luns(fsg_opts->common, &fsg_config); in nokia_bind() 341 fsg_common_set_inquiry_string(fsg_opts->common, fsg_config.vendor_name, in nokia_bind() 370 fsg_common_remove_luns(fsg_opts->common); in nokia_bind() 372 fsg_common_free_buffers(fsg_opts->common); in nokia_bind()
|
D | mass_storage.c | 108 struct fsg_opts *opts; in msg_do_config() 144 struct fsg_opts *opts; in msg_bind()
|
D | acm_ms.c | 108 struct fsg_opts *opts; in acm_ms_do_config() 158 struct fsg_opts *opts; in acm_ms_bind()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_mass_storage.c | 2894 struct fsg_opts *opts; in fsg_bind() 3006 static inline struct fsg_opts *to_fsg_opts(struct config_item *item) in to_fsg_opts() 3008 return container_of(to_config_group(item), struct fsg_opts, in to_fsg_opts() 3027 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_show() local 3029 return fsg_show_file(opts->lun, &fsg_opts->common->filesem, page); in fsg_lun_opts_file_show() 3036 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_store() local 3038 return fsg_store_file(opts->lun, &fsg_opts->common->filesem, page, len); in fsg_lun_opts_file_store() 3052 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_ro_store() local 3054 return fsg_store_ro(opts->lun, &fsg_opts->common->filesem, page, len); in fsg_lun_opts_ro_store() 3082 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_cdrom_store() local [all …]
|
D | f_mass_storage.h | 70 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()
|