Home
last modified time | relevance | path

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

/hal_renesas-latest/drivers/ra/fsp/src/r_usb_host/
Dr_usb_host.c1369 const uint32_t rem = pipe->remaining; 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()
1387 pipe->remaining = rem - len; in r_usbh_pipe0_xfer_in()
1388 if ((len < mps) || (rem == len)) in r_usbh_pipe0_xfer_in()
1404 const uint32_t rem = pipe->remaining; in r_usbh_pipe0_xfer_out() local
1405 if (!rem) in r_usbh_pipe0_xfer_out()
1413 const uint32_t len = USB_MIN(mps, rem); in r_usbh_pipe0_xfer_out()
1426 pipe->remaining = rem - len; in r_usbh_pipe0_xfer_out()
1435 const uint32_t rem = pipe->remaining; in r_usbh_pipe_xfer_in() local
1441 const uint32_t len = USB_MIN(USB_MIN(rem, mps), vld); in r_usbh_pipe_xfer_in()
[all …]
/hal_renesas-latest/drivers/ra/fsp/src/r_usb_device/
Dr_usb_device.c856 const uint16_t rem = pipe->remaining; in pipe0_xfer_in() local
858 if (0 == rem) in pipe0_xfer_in()
866 const uint16_t len = min16(mps, rem); in pipe0_xfer_in()
880 pipe->remaining = rem - len; in pipe0_xfer_in()
898 const uint16_t rem = pipe->remaining; in pipe0_xfer_out() local
905 const uint16_t len = min16(min16(rem, mps), vld); in pipe0_xfer_out()
919 pipe->remaining = rem - len; in pipe0_xfer_out()
920 if ((len < mps) || (rem == len)) in pipe0_xfer_out()
945 const uint16_t rem = pipe->remaining; in pipe_xfer_in() local
947 if (!rem) in pipe_xfer_in()
[all …]