Home
last modified time | relevance | path

Searched refs:allocate_up (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dtunnel.c951 int ret, max_rate, allocate_up, allocate_down; in tb_usb3_reclaim_available_bandwidth() local
978 allocate_up = min(max_rate, *available_up); in tb_usb3_reclaim_available_bandwidth()
979 if (allocate_up < tunnel->allocated_up) in tb_usb3_reclaim_available_bandwidth()
980 allocate_up = tunnel->allocated_up; in tb_usb3_reclaim_available_bandwidth()
987 if (allocate_up == tunnel->allocated_up && in tb_usb3_reclaim_available_bandwidth()
991 ret = usb4_usb3_port_allocate_bandwidth(tunnel->src_port, &allocate_up, in tb_usb3_reclaim_available_bandwidth()
998 tunnel->allocated_up = allocate_up; in tb_usb3_reclaim_available_bandwidth()
H A Dusb4.c1696 int ret, consumed_up, consumed_down, allocate_up, allocate_down; in usb4_usb3_port_allocate_bandwidth() local
1708 allocate_up = max(*upstream_bw, consumed_up); in usb4_usb3_port_allocate_bandwidth()
1711 ret = usb4_usb3_port_write_allocated_bandwidth(port, allocate_up, in usb4_usb3_port_allocate_bandwidth()
1716 *upstream_bw = allocate_up; in usb4_usb3_port_allocate_bandwidth()
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dtunnel.c1791 int ret, max_rate, allocate_up, allocate_down; in tb_usb3_reclaim_available_bandwidth() local
1818 allocate_up = min(max_rate, *available_up); in tb_usb3_reclaim_available_bandwidth()
1819 if (allocate_up < tunnel->allocated_up) in tb_usb3_reclaim_available_bandwidth()
1820 allocate_up = tunnel->allocated_up; in tb_usb3_reclaim_available_bandwidth()
1827 if (allocate_up == tunnel->allocated_up && in tb_usb3_reclaim_available_bandwidth()
1831 ret = usb4_usb3_port_allocate_bandwidth(tunnel->src_port, &allocate_up, in tb_usb3_reclaim_available_bandwidth()
1838 tunnel->allocated_up = allocate_up; in tb_usb3_reclaim_available_bandwidth()
H A Dusb4.c2183 int ret, consumed_up, consumed_down, allocate_up, allocate_down; in usb4_usb3_port_allocate_bandwidth() local
2195 allocate_up = max(*upstream_bw, consumed_up); in usb4_usb3_port_allocate_bandwidth()
2198 ret = usb4_usb3_port_write_allocated_bandwidth(port, allocate_up, in usb4_usb3_port_allocate_bandwidth()
2203 *upstream_bw = allocate_up; in usb4_usb3_port_allocate_bandwidth()

Completed in 11 milliseconds