Searched refs:blocksize (Results 1 – 6 of 6) sorted by relevance
43 align_buf = rt_malloc_align(size * msc_class->blocksize, CONFIG_USB_ALIGN_SIZE); in rt_udisk_read()58 usb_memcpy(buffer, align_buf, size * msc_class->blocksize); in rt_udisk_read()75 align_buf = rt_malloc_align(size * msc_class->blocksize, CONFIG_USB_ALIGN_SIZE); in rt_udisk_write()81 usb_memcpy(align_buf, buffer, size * msc_class->blocksize); in rt_udisk_write()111 geometry->bytes_per_sector = msc_class->blocksize; in rt_udisk_control()112 geometry->block_size = msc_class->blocksize; in rt_udisk_control()
149 msc_class->blocksize = GET_BE32(&buffer[4]); in usbh_bulk_cbw_csw_xfer()386 if (msc_class->blocksize > 0) { in usbh_msc_scsi_init()388 … num:%d,block size:%d\r\n", (unsigned int)msc_class->blocknum, (unsigned int)msc_class->blocksize); in usbh_msc_scsi_init()406 cbw->dDataLength = (msc_class->blocksize * nsectors); in usbh_msc_scsi_write10()425 cbw->dDataLength = (msc_class->blocksize * nsectors); in usbh_msc_scsi_read10()
22 uint16_t blocksize; /* Block size of USB mass storage device */ member
149 … you can change it to a larger value if you need larger speed but must be a power of blocksize.
156 … you can change it to a larger value if you need larger speed but must be a power of blocksize.
155 … you can change it to a larger value if you need larger speed but must be a power of blocksize.
Completed in 10 milliseconds