Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/usb/class/
Dusb_hid.h105 uint32_t *ret_bytes);
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_hid_api.c174 uint8_t *data, uint32_t max_data_len, uint32_t *ret_bytes) in hid_int_ep_read() argument
179 ARG_UNUSED(ret_bytes); in hid_int_ep_read()
/Zephyr-latest/include/zephyr/drivers/usb/
Dusb_dc.h317 const uint32_t data_len, uint32_t * const ret_bytes);
/Zephyr-latest/drivers/usb/device/
Dusb_dc_native_posix.c331 const uint32_t data_len, uint32_t * const ret_bytes) in usb_dc_ep_write() argument
371 if (ret_bytes) { in usb_dc_ep_write()
372 *ret_bytes = data_len; in usb_dc_ep_write()
Dusb_dc_rpi_pico.c759 const uint32_t data_len, uint32_t *const ret_bytes) in usb_dc_ep_write() argument
779 if (ret_bytes != NULL) { in usb_dc_ep_write()
780 *ret_bytes = len; in usb_dc_ep_write()
812 if (ret >= 0 && ret_bytes != NULL) { in usb_dc_ep_write()
813 *ret_bytes = 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.c535 const uint32_t data_len, uint32_t *const ret_bytes) in usb_dc_ep_write() argument
581 if (ret_bytes) { in usb_dc_ep_write()
582 *ret_bytes = len_to_send; in usb_dc_ep_write()
Dusb_dc_nrfx.c1625 const uint32_t data_len, uint32_t *const ret_bytes) in usb_dc_ep_write() argument
1699 if (ret_bytes) { in usb_dc_ep_write()
1700 *ret_bytes = 0; in usb_dc_ep_write()
1705 if (ret_bytes) { in usb_dc_ep_write()
1706 *ret_bytes = data_len; in usb_dc_ep_write()
Dusb_dc_stm32.c945 const uint32_t data_len, uint32_t * const ret_bytes) in usb_dc_ep_write() argument
993 if (!ret && ret_bytes) { in usb_dc_ep_write()
994 *ret_bytes = len; in usb_dc_ep_write()
Dusb_dc_kinetis.c596 const uint32_t data_len, uint32_t * const ret_bytes) in usb_dc_ep_write() argument
654 if (ret_bytes) { in usb_dc_ep_write()
655 *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_it82xx2.c1321 uint32_t data_len, uint32_t *ret_bytes) in usb_dc_ep_write() argument
1355 *ret_bytes = udata0.ep_data[ep_idx].mps; in usb_dc_ep_write()
1366 *ret_bytes = data_len; in usb_dc_ep_write()
Dusb_dc_smartbond.c1491 uint32_t *const ret_bytes) in usb_dc_ep_write() argument
1524 if (ret_bytes) { in usb_dc_ep_write()
1525 *ret_bytes = data_len; in usb_dc_ep_write()
Dusb_dc_numaker.c1663 uint32_t *const ret_bytes) in usb_dc_ep_write() argument
1719 if (ret_bytes) { in usb_dc_ep_write()
1720 *ret_bytes = data_len_act; in usb_dc_ep_write()
/Zephyr-latest/include/zephyr/usb/
Dusb_device.h288 int usb_read(uint8_t ep, uint8_t *data, uint32_t max_data_len, uint32_t *ret_bytes);
/Zephyr-latest/subsys/usb/device/class/audio/
Daudio.c929 int ret_bytes; in audio_receive_cb() local
959 ret = usb_read(ep, buffer->data, buffer->size, &ret_bytes); in audio_receive_cb()
967 if (!ret_bytes) { in audio_receive_cb()
972 buffer, ret_bytes); in audio_receive_cb()
/Zephyr-latest/subsys/usb/device/
Dusb_device.c1404 int usb_read(uint8_t ep, uint8_t *data, uint32_t max_data_len, uint32_t *ret_bytes) in usb_read() argument
1406 return usb_dc_ep_read(ep, data, max_data_len, ret_bytes); in usb_read()
1419 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
1421 return usb_dc_ep_read_wait(ep, data, max_data_len, ret_bytes); in usb_ep_read_wait()
/Zephyr-latest/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()