Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/device/
Dusb_transfer.c46 static struct usb_transfer_data ut_data[CONFIG_USB_MAX_NUM_TRANSFERS]; variable
51 for (size_t i = 0; i < ARRAY_SIZE(ut_data); i++) { in usb_ep_get_transfer()
52 if (ut_data[i].ep == ep && ut_data[i].status != 0) { in usb_ep_get_transfer()
53 return &ut_data[i]; in usb_ep_get_transfer()
216 for (size_t i = 0; i < ARRAY_SIZE(ut_data); i++) { in usb_transfer()
217 if (!k_sem_take(&ut_data[i].sem, K_NO_WAIT)) { in usb_transfer()
218 trans = &ut_data[i]; in usb_transfer()
290 for (size_t i = 0; i < ARRAY_SIZE(ut_data); i++) { in usb_cancel_transfers()
291 struct usb_transfer_data *trans = &ut_data[i]; in usb_cancel_transfers()
335 for (size_t i = 0; i < ARRAY_SIZE(ut_data); i++) { in usb_transfer_init()
[all …]