Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Dtunnel.c951 int ret, max_rate, allocate_up, allocate_down; in tb_usb3_reclaim_available_bandwidth() local
982 allocate_down = min(max_rate, *available_down); in tb_usb3_reclaim_available_bandwidth()
983 if (allocate_down < tunnel->allocated_down) in tb_usb3_reclaim_available_bandwidth()
984 allocate_down = tunnel->allocated_down; in tb_usb3_reclaim_available_bandwidth()
988 allocate_down == tunnel->allocated_down) in tb_usb3_reclaim_available_bandwidth()
992 &allocate_down); in tb_usb3_reclaim_available_bandwidth()
1001 tunnel->allocated_down = allocate_down; in tb_usb3_reclaim_available_bandwidth()
H A Dusb4.c1684 int ret, consumed_up, consumed_down, allocate_up, allocate_down; in usb4_usb3_port_allocate_bandwidth() local
1697 allocate_down = max(*downstream_bw, consumed_down); in usb4_usb3_port_allocate_bandwidth()
1700 allocate_down); in usb4_usb3_port_allocate_bandwidth()
1705 *downstream_bw = allocate_down; in usb4_usb3_port_allocate_bandwidth()