Home
last modified time | relevance | path

Searched refs:mps (Results 1 – 2 of 2) sorted by relevance

/hal_renesas-latest/drivers/ra/fsp/src/r_usb_device/
Dr_usb_device.c635 uint16_t mps = 0; in get_edpt_packet_size() local
640 mps = p_desc_ep->wMaxPacketSize & USB_HIGHSPEED_MPS_Msk; in get_edpt_packet_size()
645 mps = p_desc_ep->wMaxPacketSize & USB_FULLSPEED_MPS_Msk; in get_edpt_packet_size()
648 return mps; in get_edpt_packet_size()
732 uint16_t mps = 0; in edpt0_max_packet_size() local
737 mps = R_USB_HS0->DCPMAXP_b.MXPS; in edpt0_max_packet_size()
742 mps = R_USB_FS0->DCPMAXP_b.MXPS; in edpt0_max_packet_size()
745 return mps; in edpt0_max_packet_size()
751 uint16_t mps = 0; in edpt_max_packet_size() local
758 mps = R_USB_HS0->PIPEMAXP; in edpt_max_packet_size()
[all …]
/hal_renesas-latest/drivers/ra/fsp/src/r_usb_host/
Dr_usb_host.c614 const uint32_t mps = r_usbh_edpt_packet_size(ep_desc); in R_USBH_EdptOpen() local
622 FSP_ERROR_RETURN(mps <= 256, FSP_ERR_INVALID_ARGUMENT); in R_USBH_EdptOpen()
638 p_reg->PIPEMAXP = (dev_addr << 12) | mps; in R_USBH_EdptOpen()
1371 const uint32_t mps = r_usbh_edpt0_max_packet_size(p_ctrl); in r_usbh_pipe0_xfer_in() local
1373 const uint32_t len = USB_MIN(USB_MIN(rem, mps), vld); in r_usbh_pipe0_xfer_in()
1382 if (len < mps) in r_usbh_pipe0_xfer_in()
1388 if ((len < mps) || (rem == len)) in r_usbh_pipe0_xfer_in()
1412 const uint32_t mps = r_usbh_edpt0_max_packet_size(p_ctrl); in r_usbh_pipe0_xfer_out() local
1413 const uint32_t len = USB_MIN(mps, rem); in r_usbh_pipe0_xfer_out()
1421 if (len < mps) in r_usbh_pipe0_xfer_out()
[all …]