Lines Matching refs:opts
135 struct fsg_opts *opts; in msg_do_config() local
143 opts = fsg_opts_from_func_inst(fi_msg); in msg_do_config()
174 struct fsg_opts *opts; in msg_bind() local
183 opts = fsg_opts_from_func_inst(fi_msg); in msg_bind()
185 opts->no_configfs = true; in msg_bind()
186 status = fsg_common_set_num_buffers(opts->common, fsg_num_buffers); in msg_bind()
190 fsg_common_set_ops(opts->common, &ops); in msg_bind()
192 status = fsg_common_set_cdev(opts->common, cdev, config.can_stall); in msg_bind()
196 fsg_common_set_sysfs(opts->common, true); in msg_bind()
197 status = fsg_common_create_luns(opts->common, &config); in msg_bind()
201 fsg_common_set_inquiry_string(opts->common, config.vendor_name, in msg_bind()
220 fsg_common_remove_luns(opts->common); in msg_bind()
222 fsg_common_free_buffers(opts->common); in msg_bind()