Some USB controllers can receive or send multiple data packets then generate one interrupt. This mechanism can reduce the number of data copies. Extend req buf to accommodate this. Signed-off-by: yangsong8 <yangsong8@xiaomi.com>
we need to alloc req buffer in cacheline size units, othersize the data may by incorrect. Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
Move usbdev_req function to common code, Reduce duplicated code. Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>