Searched refs:fsg_num_buffers (Results 1 – 3 of 3) sorted by relevance
226 static unsigned int fsg_num_buffers = CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS; variable227 module_param_named(num_buffers, fsg_num_buffers, uint, S_IRUGO);236 #define fsg_num_buffers CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS macro243 if (fsg_num_buffers >= 2 && fsg_num_buffers <= 4) in fsg_num_buffers_validate()246 fsg_num_buffers, 2 ,4); in fsg_num_buffers_validate()
2784 for (i = 0; i < fsg_num_buffers; ++i) { in do_set_interface()2848 for (i = 0; i < fsg_num_buffers; ++i) { in do_set_interface()2937 for (i = 0; i < fsg_num_buffers; ++i) { in handle_exception()2948 for (i = 0; i < fsg_num_buffers; ++i) { in handle_exception()2970 for (i = 0; i < fsg_num_buffers; ++i) { in handle_exception()3200 for (i = 0; i < fsg_num_buffers; ++i) in fsg_unbind()3506 for (i = 0; i < fsg_num_buffers; ++i) { in fsg_bind()3517 fsg->buffhds[fsg_num_buffers - 1].next = &fsg->buffhds[0]; in fsg_bind()3630 fsg_num_buffers * sizeof *(fsg->buffhds), GFP_KERNEL); in fsg_alloc()
2358 for (i = 0; i < fsg_num_buffers; ++i) { in do_set_interface()2415 for (i = 0; i < fsg_num_buffers; ++i) { in do_set_interface()2484 for (i = 0; i < fsg_num_buffers; ++i) { in handle_exception()2496 for (i = 0; i < fsg_num_buffers; ++i) { in handle_exception()2519 for (i = 0; i < fsg_num_buffers; ++i) { in handle_exception()2750 common->buffhds = kcalloc(fsg_num_buffers, in fsg_common_init()2835 i = fsg_num_buffers; in fsg_common_init()2961 unsigned i = fsg_num_buffers; in fsg_common_release()