Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/gadget/legacy/
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
152 fsg_config_from_params(&config, &mod_data, fsg_num_buffers); in msg_bind()
156 status = fsg_common_set_num_buffers(opts->common, fsg_num_buffers); in msg_bind()
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
173 fsg_config_from_params(&config, &fsg_mod_data, fsg_num_buffers); in acm_ms_bind()
177 status = fsg_common_set_num_buffers(opts->common, fsg_num_buffers); in acm_ms_bind()
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()
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
320 fsg_config_from_params(&fsg_config, &fsg_mod_data, fsg_num_buffers); in nokia_bind()
327 status = fsg_common_set_num_buffers(fsg_opts->common, fsg_num_buffers); in nokia_bind()
/Linux-v4.19/drivers/usb/gadget/function/
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);
Df_mass_storage.c281 unsigned int fsg_num_buffers; member
2202 for (i = 0; i < common->fsg_num_buffers; ++i) { in do_set_interface()
2259 for (i = 0; i < common->fsg_num_buffers; ++i) { in do_set_interface()
2330 for (i = 0; i < common->fsg_num_buffers; ++i) { in handle_exception()
2356 for (i = 0; i < common->fsg_num_buffers; ++i) { in handle_exception()
2620 _fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers); in fsg_common_set_num_buffers()
2621 common->fsg_num_buffers = n; in fsg_common_set_num_buffers()
2665 _fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers); in fsg_common_free_buffers()
2877 _fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers); in fsg_common_release()
3273 result = sprintf(page, "%d", opts->common->fsg_num_buffers); in fsg_opts_num_buffers_show()
[all …]