Searched refs:fsg_num_buffers (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/drivers/usb/gadget/legacy/ |
H A D | acm_ms.c | 86 static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS; variable 94 #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS macro 177 fsg_config_from_params(&config, &fsg_mod_data, fsg_num_buffers); acm_ms_bind() 181 status = fsg_common_set_num_buffers(opts->common, fsg_num_buffers); acm_ms_bind()
|
H A D | mass_storage.c | 96 static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS; variable 104 #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS macro 168 fsg_config_from_params(&config, &mod_data, fsg_num_buffers); msg_bind() 172 status = fsg_common_set_num_buffers(opts->common, fsg_num_buffers); msg_bind()
|
H A D | multi.c | 113 static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS; variable 121 #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS macro 376 fsg_config_from_params(&config, &fsg_mod_data, fsg_num_buffers); multi_bind() 380 status = fsg_common_set_num_buffers(fsg_opts->common, fsg_num_buffers); multi_bind()
|
H A D | nokia.c | 46 static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS; variable 54 #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS macro 323 fsg_config_from_params(&fsg_config, &fsg_mod_data, fsg_num_buffers); nokia_bind() 330 status = fsg_common_set_num_buffers(fsg_opts->common, fsg_num_buffers); nokia_bind()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | f_mass_storage.h | 51 module_param_named(num_buffers, fsg_num_buffers, uint, S_IRUGO);\ 118 unsigned int fsg_num_buffers; member in struct:fsg_config 158 unsigned int fsg_num_buffers);
|
H A D | f_mass_storage.c | 277 unsigned int fsg_num_buffers; member in struct:fsg_common 2245 for (i = 0; i < common->fsg_num_buffers; ++i) { do_set_interface() 2302 for (i = 0; i < common->fsg_num_buffers; ++i) { do_set_interface() 2371 for (i = 0; i < common->fsg_num_buffers; ++i) { handle_exception() 2383 for (i = 0; i < common->fsg_num_buffers; ++i) { handle_exception() 2406 for (i = 0; i < common->fsg_num_buffers; ++i) { handle_exception() 2658 /* check if fsg_num_buffers is within a valid range */ fsg_num_buffers_validate() 2659 static inline int fsg_num_buffers_validate(unsigned int fsg_num_buffers) fsg_num_buffers_validate() argument 2663 if (fsg_num_buffers >= 2 && fsg_num_buffers <= FSG_MAX_NUM_BUFFERS) fsg_num_buffers_validate() 2665 pr_err("fsg_num_buffers %u is out of range (%d to %d)\n", fsg_num_buffers_validate() 2666 fsg_num_buffers, 2, FSG_MAX_NUM_BUFFERS); fsg_num_buffers_validate() 2736 _fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers); fsg_common_set_num_buffers() 2737 common->fsg_num_buffers = n; fsg_common_set_num_buffers() 2788 _fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers); fsg_common_free_buffers() 3002 _fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers); fsg_common_release() 3382 result = sprintf(page, "%d", opts->common->fsg_num_buffers); fsg_opts_num_buffers_show() 3547 unsigned int fsg_num_buffers) fsg_config_from_params() 3575 cfg->fsg_num_buffers = fsg_num_buffers; fsg_config_from_params() 3545 fsg_config_from_params(struct fsg_config *cfg, const struct fsg_module_parameters *params, unsigned int fsg_num_buffers) fsg_config_from_params() argument
|
Completed in 137 milliseconds