Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/usb/
Dusb_ch9.h367 #define USB_TPL_TO_MPS(tpl) \ argument
368 (((tpl) > 2048) ? ((2 << 11) | ((tpl) / 3)) : \
369 ((tpl) > 1024) ? ((1 << 11) | ((tpl) / 2)) : \
370 (tpl))
373 #define USB_TPL_ROUND_UP(tpl) \ argument
374 (((tpl) > 2048) ? ROUND_UP(tpl, 3) : \
375 ((tpl) > 1024) ? ROUND_UP(tpl, 2) : \
376 (tpl))
379 #define USB_TPL_IS_VALID(tpl) \ argument
380 (((tpl) > 3072) ? false : \
[all …]