Searched refs:allocate_down (Results 1 – 2 of 2) sorted by relevance
1791 int ret, max_rate, allocate_up, allocate_down; in tb_usb3_reclaim_available_bandwidth() local1822 allocate_down = min(max_rate, *available_down); in tb_usb3_reclaim_available_bandwidth()1823 if (allocate_down < tunnel->allocated_down) in tb_usb3_reclaim_available_bandwidth()1824 allocate_down = tunnel->allocated_down; in tb_usb3_reclaim_available_bandwidth()1828 allocate_down == tunnel->allocated_down) in tb_usb3_reclaim_available_bandwidth()1832 &allocate_down); in tb_usb3_reclaim_available_bandwidth()1841 tunnel->allocated_down = allocate_down; in tb_usb3_reclaim_available_bandwidth()
2183 int ret, consumed_up, consumed_down, allocate_up, allocate_down; in usb4_usb3_port_allocate_bandwidth() local2196 allocate_down = max(*downstream_bw, consumed_down); in usb4_usb3_port_allocate_bandwidth()2199 allocate_down); in usb4_usb3_port_allocate_bandwidth()2204 *downstream_bw = allocate_down; in usb4_usb3_port_allocate_bandwidth()