Home
last modified time | relevance | path

Searched refs:ret_bytes (Results 1 – 18 of 18) sorted by relevance

/Zephyr-Core-3.5.0/include/zephyr/usb/class/
Dusb_hid.h104 uint32_t *ret_bytes);
/Zephyr-Core-3.5.0/include/zephyr/drivers/usb/
Dusb_dc.h315 const uint32_t data_len, uint32_t * const ret_bytes);
/Zephyr-Core-3.5.0/drivers/usb/device/
Dusb_dc_rpi_pico.c685 const uint32_t data_len, uint32_t *const ret_bytes) in usb_dc_ep_write() argument
705 if (ret_bytes != NULL) { in usb_dc_ep_write()
706 *ret_bytes = len; in usb_dc_ep_write()
738 if (ret >= 0 && ret_bytes != NULL) { in usb_dc_ep_write()
739 *ret_bytes = len; in usb_dc_ep_write()
Dusb_dc_native_posix.c327 const uint32_t data_len, uint32_t * const ret_bytes) in usb_dc_ep_write() argument
367 if (ret_bytes) { in usb_dc_ep_write()
368 *ret_bytes = data_len; in usb_dc_ep_write()
Dusb_dc_sam_usbhs.c721 int usb_dc_ep_write(uint8_t ep, const uint8_t *data, uint32_t data_len, uint32_t *ret_bytes) in usb_dc_ep_write() argument
770 if (ret_bytes) { in usb_dc_ep_write()
771 *ret_bytes = packet_len; in usb_dc_ep_write()
Dusb_dc_sam0.c590 int usb_dc_ep_write(uint8_t ep, const uint8_t *buf, uint32_t len, uint32_t *ret_bytes) in usb_dc_ep_write() argument
624 if (ret_bytes != NULL) { in usb_dc_ep_write()
625 *ret_bytes = len; in usb_dc_ep_write()
Dusb_dc_mcux.c501 const uint32_t data_len, uint32_t *const ret_bytes) in usb_dc_ep_write() argument
547 if (ret_bytes) { in usb_dc_ep_write()
548 *ret_bytes = len_to_send; in usb_dc_ep_write()
Dusb_dc_nrfx.c1623 const uint32_t data_len, uint32_t *const ret_bytes) in usb_dc_ep_write() argument
1697 if (ret_bytes) { in usb_dc_ep_write()
1698 *ret_bytes = 0; in usb_dc_ep_write()
1703 if (ret_bytes) { in usb_dc_ep_write()
1704 *ret_bytes = data_len; in usb_dc_ep_write()
Dusb_dc_stm32.c782 const uint32_t data_len, uint32_t * const ret_bytes) in usb_dc_ep_write() argument
830 if (!ret && ret_bytes) { in usb_dc_ep_write()
831 *ret_bytes = len; in usb_dc_ep_write()
Dusb_dc_kinetis.c594 const uint32_t data_len, uint32_t * const ret_bytes) in usb_dc_ep_write() argument
652 if (ret_bytes) { in usb_dc_ep_write()
653 *ret_bytes = len_to_send; in usb_dc_ep_write()
Dusb_dc_dw.c1199 const uint32_t data_len, uint32_t * const ret_bytes) in usb_dc_ep_write() argument
1223 if (ret_bytes) { in usb_dc_ep_write()
1224 *ret_bytes = ret; in usb_dc_ep_write()
Dusb_dc_sam_usbc.c1224 uint32_t data_len, uint32_t *ret_bytes) in usb_dc_ep_write() argument
1261 if (ret_bytes) { in usb_dc_ep_write()
1262 *ret_bytes = packet_len; in usb_dc_ep_write()
Dusb_dc_smartbond.c1295 uint32_t *const ret_bytes) in usb_dc_ep_write() argument
1328 if (ret_bytes) { in usb_dc_ep_write()
1329 *ret_bytes = data_len; in usb_dc_ep_write()
Dusb_dc_it82xx2.c1316 uint32_t data_len, uint32_t *ret_bytes) in usb_dc_ep_write() argument
1369 *ret_bytes = udata0.ep_data[ep_idx].mps; in usb_dc_ep_write()
1380 *ret_bytes = data_len; in usb_dc_ep_write()
/Zephyr-Core-3.5.0/include/zephyr/usb/
Dusb_device.h286 int usb_read(uint8_t ep, uint8_t *data, uint32_t max_data_len, uint32_t *ret_bytes);
/Zephyr-Core-3.5.0/subsys/usb/device/class/audio/
Daudio.c925 int ret_bytes; in audio_receive_cb() local
955 ret = usb_read(ep, buffer->data, buffer->size, &ret_bytes); in audio_receive_cb()
963 if (!ret_bytes) { in audio_receive_cb()
968 buffer, ret_bytes); in audio_receive_cb()
/Zephyr-Core-3.5.0/subsys/usb/device/
Dusb_device.c1403 int usb_read(uint8_t ep, uint8_t *data, uint32_t max_data_len, uint32_t *ret_bytes) in usb_read() argument
1405 return usb_dc_ep_read(ep, data, max_data_len, ret_bytes); in usb_read()
1418 int usb_ep_read_wait(uint8_t ep, uint8_t *data, uint32_t max_data_len, uint32_t *ret_bytes) in usb_ep_read_wait() argument
1420 return usb_dc_ep_read_wait(ep, data, max_data_len, ret_bytes); in usb_ep_read_wait()
/Zephyr-Core-3.5.0/subsys/usb/device/class/hid/
Dcore.c709 uint32_t *ret_bytes) in hid_int_ep_read() argument
715 data, max_data_len, ret_bytes); in hid_int_ep_read()