Searched refs:MAX_BLOCK_RW_SECTORS (Results 1 – 2 of 2) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_mass_storage.c | 393 ret = memset_s(buf, (MAX_BLOCK_RW_SECTORS << 9), 0, 18); in done_scsi_request_sense() 544 amount = min(MAX_BLOCK_RW_SECTORS, amount_left); in done_scsi_read() 667 amount = nwritesector / MAX_BLOCK_RW_SECTORS; in done_scsi_write() 668 amount_left = nwritesector % MAX_BLOCK_RW_SECTORS; in done_scsi_write() 673 do_write = fmass_dev_write(fmass, buf, lba, MAX_BLOCK_RW_SECTORS); in done_scsi_write() 675 lba += MAX_BLOCK_RW_SECTORS; in done_scsi_write() 676 buf += (MAX_BLOCK_RW_SECTORS << 9); in done_scsi_write() 715 …ret = memcpy_s(buf + 8, ((MAX_BLOCK_RW_SECTORS << 9) - 8), fmass->inquiry_str, sizeof(fmass->inqui… in done_scsi_inquiry() 1095 db->buf = memalign(64, SKB_DATA_ALIGN(MAX_BLOCK_RW_SECTORS << 9)); in fmass_dev_open()
|
D | f_mass_storage.h | 160 #define MAX_BLOCK_RW_SECTORS 256 macro
|