Searched refs:mps (Results 1 – 2 of 2) sorted by relevance
635 uint16_t mps = 0; in get_edpt_packet_size() local640 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() local737 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() local758 mps = R_USB_HS0->PIPEMAXP; in edpt_max_packet_size()[all …]
614 const uint32_t mps = r_usbh_edpt_packet_size(ep_desc); in R_USBH_EdptOpen() local622 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() local1373 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() local1413 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 …]