Searched refs:std_size (Results 1 – 1 of 1) sorted by relevance
336 struct usb_std_packet_size std_size; in usbd_transfer_setup_sub() local441 usbd_get_std_packet_size(&std_size, type, parm->speed); in usbd_transfer_setup_sub()443 if (std_size.range.min || std_size.range.max) { in usbd_transfer_setup_sub()445 if (xfer->max_packet_size < std_size.range.min) { in usbd_transfer_setup_sub()446 xfer->max_packet_size = std_size.range.min; in usbd_transfer_setup_sub()448 if (xfer->max_packet_size > std_size.range.max) { in usbd_transfer_setup_sub()449 xfer->max_packet_size = std_size.range.max; in usbd_transfer_setup_sub()453 if (xfer->max_packet_size >= std_size.fixed[3]) { in usbd_transfer_setup_sub()454 xfer->max_packet_size = std_size.fixed[3]; in usbd_transfer_setup_sub()455 } else if (xfer->max_packet_size >= std_size.fixed[2]) { in usbd_transfer_setup_sub()[all …]