Home
last modified time | relevance | path

Searched refs:uframes (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dusb4.c1537 unsigned long uframes; in usb3_bw_to_mbps() local
1539 uframes = bw * 512UL << scale; in usb3_bw_to_mbps()
1540 return DIV_ROUND_CLOSEST(uframes * 8000, 1000 * 1000); in usb3_bw_to_mbps()
1545 unsigned long uframes; in mbps_to_usb3_bw() local
1548 uframes = ((unsigned long)mbps * 1000 * 1000) / 8000; in mbps_to_usb3_bw()
1549 return DIV_ROUND_UP(uframes, 512UL << scale); in mbps_to_usb3_bw()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-mtk-sch.c411 u8 uframes = DIV_ROUND_UP(sch_ep->maxpkt, FS_PAYLOAD_MAX); in check_fs_bus_bw() local
421 for (j = 0; j < uframes; j++) { in check_fs_bus_bw()
499 u8 uframes = DIV_ROUND_UP(sch_ep->maxpkt, FS_PAYLOAD_MAX); in update_sch_tt() local
514 for (j = 0; j < uframes; j++) in update_sch_tt()
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dusb4.c2024 unsigned long uframes; in usb3_bw_to_mbps() local
2026 uframes = bw * 512UL << scale; in usb3_bw_to_mbps()
2027 return DIV_ROUND_CLOSEST(uframes * 8000, MEGA); in usb3_bw_to_mbps()
2032 unsigned long uframes; in mbps_to_usb3_bw() local
2035 uframes = ((unsigned long)mbps * MEGA) / 8000; in mbps_to_usb3_bw()
2036 return DIV_ROUND_UP(uframes, 512UL << scale); in mbps_to_usb3_bw()

Completed in 10 milliseconds