Searched refs:fsg_opts (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | multi.c | 321 struct fsg_opts *fsg_opts; in multi_bind() local 391 fsg_opts = fsg_opts_from_func_inst(fi_msg); in multi_bind() 393 fsg_opts->no_configfs = true; in multi_bind() 394 status = fsg_common_set_num_buffers(fsg_opts->common, fsg_num_buffers); in multi_bind() 398 status = fsg_common_set_cdev(fsg_opts->common, cdev, config.can_stall); in multi_bind() 402 fsg_common_set_sysfs(fsg_opts->common, true); in multi_bind() 403 status = fsg_common_create_luns(fsg_opts->common, &config); in multi_bind() 407 fsg_common_set_inquiry_string(fsg_opts->common, config.vendor_name, in multi_bind() 433 fsg_common_remove_luns(fsg_opts->common); in multi_bind() 435 fsg_common_free_buffers(fsg_opts->common); in multi_bind()
|
D | mass_storage.c | 135 struct fsg_opts *opts; in msg_do_config() 174 struct fsg_opts *opts; in msg_bind()
|
D | acm_ms.c | 126 struct fsg_opts *opts; in acm_ms_do_config() 176 struct fsg_opts *opts; in acm_ms_bind()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_mass_storage.c | 3020 struct fsg_opts *opts; in fsg_bind() 3127 static inline struct fsg_opts *to_fsg_opts(struct config_item *item) in to_fsg_opts() 3129 return container_of(to_config_group(item), struct fsg_opts, in to_fsg_opts() 3152 struct fsg_opts *fsg_opts; in fsg_lun_opts_file_show() local 3154 fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_show() 3156 return fsg_show_file(opts->lun, &fsg_opts->common->filesem, page); in fsg_lun_opts_file_show() 3162 struct fsg_opts *fsg_opts; in fsg_lun_opts_file_store() local 3164 fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); in fsg_lun_opts_file_store() 3166 return fsg_store_file(opts->lun, &fsg_opts->common->filesem, page, len); in fsg_lun_opts_file_store() 3181 struct fsg_opts *fsg_opts; in fsg_lun_opts_ro_store() local [all …]
|
D | f_mass_storage.h | 80 struct fsg_opts { struct 121 static inline struct fsg_opts * 124 return container_of(fi, struct fsg_opts, func_inst); in fsg_opts_from_func_inst()
|