Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/legacy/
H A Dmass_storage.c92 static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS; variable
100 #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS macro
149 fsg_config_from_params(&config, &mod_data, fsg_num_buffers); in msg_bind()
153 status = fsg_common_set_num_buffers(opts->common, fsg_num_buffers); in msg_bind()
H A Dacm_ms.c82 static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS; variable
90 #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS macro
170 fsg_config_from_params(&config, &fsg_mod_data, fsg_num_buffers); in acm_ms_bind()
174 status = fsg_common_set_num_buffers(opts->common, fsg_num_buffers); in acm_ms_bind()
H A Dnokia.c43 static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS; variable
51 #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS macro
319 fsg_config_from_params(&fsg_config, &fsg_mod_data, fsg_num_buffers); in nokia_bind()
326 status = fsg_common_set_num_buffers(fsg_opts->common, fsg_num_buffers); in nokia_bind()
H A Dmulti.c109 static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS; variable
117 #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS macro
372 fsg_config_from_params(&config, &fsg_mod_data, fsg_num_buffers); in multi_bind()
376 status = fsg_common_set_num_buffers(fsg_opts->common, fsg_num_buffers); in multi_bind()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.h52 module_param_named(num_buffers, fsg_num_buffers, uint, S_IRUGO);\
109 unsigned int fsg_num_buffers; member
142 unsigned int fsg_num_buffers);
H A Df_mass_storage.c254 unsigned int fsg_num_buffers; member
2315 for (i = 0; i < common->fsg_num_buffers; ++i) { in do_set_interface()
2372 for (i = 0; i < common->fsg_num_buffers; ++i) { in do_set_interface()
2454 for (i = 0; i < common->fsg_num_buffers; ++i) { in handle_exception()
2480 for (i = 0; i < common->fsg_num_buffers; ++i) { in handle_exception()
2761 _fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers); in fsg_common_set_num_buffers()
2762 common->fsg_num_buffers = n; in fsg_common_set_num_buffers()
2806 _fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers); in fsg_common_free_buffers()
3423 result = sprintf(page, "%d", opts->common->fsg_num_buffers); in fsg_opts_num_buffers_show()
3588 unsigned int fsg_num_buffers) in fsg_config_from_params() argument
[all …]