Searched refs:FSG_BUFLEN (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | storage_common.c | 311 #define FSG_BUFLEN ((u32)131072) macro 324 char buf[FSG_BUFLEN];
|
H A D | f_mass_storage.c | 731 amount = min(amount_left, FSG_BUFLEN); in do_read() 870 amount = min(amount_left_to_req, FSG_BUFLEN); in do_write() 1038 amount = min(amount_left, FSG_BUFLEN); in do_verify() 1433 nsend = min(fsg->common->usb_amount_left, FSG_BUFLEN); in pad_with_zeros() 1475 amount = min(common->usb_amount_left, FSG_BUFLEN); in throw_away_data() 2503 bh->buf = memalign(CONFIG_SYS_CACHELINE_SIZE, FSG_BUFLEN); in fsg_common_init()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | storage_common.h | 131 #define FSG_BUFLEN ((u32)16384) macro
|
H A D | f_mass_storage.c | 657 amount = min(amount_left, FSG_BUFLEN); in do_read() 807 amount = min(amount_left_to_req, FSG_BUFLEN); in do_write() 1007 amount = min(amount_left, FSG_BUFLEN); in do_verify() 1526 amount = min(common->usb_amount_left, FSG_BUFLEN); in throw_away_data() 2755 bh->buf = kmalloc(FSG_BUFLEN, GFP_KERNEL); in fsg_common_set_num_buffers() 3092 max_burst = min_t(unsigned, FSG_BUFLEN / 1024, 15); in fsg_bind()
|