Searched refs:std_size (Results 1 – 1 of 1) sorted by relevance
332 struct usb_std_packet_size std_size; in usbd_transfer_setup_sub() local437 usbd_get_std_packet_size(&std_size, type, parm->speed); in usbd_transfer_setup_sub()439 if (std_size.range.min || std_size.range.max) { in usbd_transfer_setup_sub()440 if (xfer->max_packet_size < std_size.range.min) { in usbd_transfer_setup_sub()441 xfer->max_packet_size = std_size.range.min; in usbd_transfer_setup_sub()443 if (xfer->max_packet_size > std_size.range.max) { in usbd_transfer_setup_sub()444 xfer->max_packet_size = std_size.range.max; in usbd_transfer_setup_sub()447 if (xfer->max_packet_size >= std_size.fixed[3]) { in usbd_transfer_setup_sub()448 xfer->max_packet_size = std_size.fixed[3]; in usbd_transfer_setup_sub()449 } else if (xfer->max_packet_size >= std_size.fixed[2]) { in usbd_transfer_setup_sub()[all …]