Home
last modified time | relevance | path

Searched refs:FSG_BUFLEN (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Dstorage_common.c312 #define FSG_BUFLEN ((u32)262144) macro
325 char buf[FSG_BUFLEN];
H A Df_mass_storage.c733 amount = min(amount_left, FSG_BUFLEN); in do_read()
873 amount = min(amount_left_to_req, FSG_BUFLEN); in do_write()
1045 amount = min(amount_left, FSG_BUFLEN); in do_verify()
1440 nsend = min(fsg->common->usb_amount_left, FSG_BUFLEN); in pad_with_zeros()
1482 amount = min(common->usb_amount_left, FSG_BUFLEN); in throw_away_data()
2538 bh->buf = memalign(CONFIG_SYS_CACHELINE_SIZE, FSG_BUFLEN); in fsg_common_init()
H A Df_rockusb.c605 memset(bh->buf, 0, FSG_BUFLEN); in rkusb_do_vs_read()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Dstorage_common.h131 #define FSG_BUFLEN ((u32)16384) macro
H A Df_mass_storage.c668 amount = min(amount_left, FSG_BUFLEN); in do_read()
815 amount = min(amount_left_to_req, FSG_BUFLEN); in do_write()
1015 amount = min(amount_left, FSG_BUFLEN); in do_verify()
1508 amount = min(common->usb_amount_left, FSG_BUFLEN); in throw_away_data()
2680 bh->buf = kmalloc(FSG_BUFLEN, GFP_KERNEL); in fsg_common_set_num_buffers()
3020 max_burst = min_t(unsigned, FSG_BUFLEN / 1024, 15); in fsg_bind()