Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thunderbolt/
H A Dtunnel.c1843 int ret, max_rate, allocate_up, allocate_down; in tb_usb3_reclaim_available_bandwidth() local
1870 allocate_up = min(max_rate, *available_up); in tb_usb3_reclaim_available_bandwidth()
1871 if (allocate_up < tunnel->allocated_up) in tb_usb3_reclaim_available_bandwidth()
1872 allocate_up = tunnel->allocated_up; in tb_usb3_reclaim_available_bandwidth()
1879 if (allocate_up == tunnel->allocated_up && in tb_usb3_reclaim_available_bandwidth()
1883 ret = usb4_usb3_port_allocate_bandwidth(tunnel->src_port, &allocate_up, in tb_usb3_reclaim_available_bandwidth()
1890 tunnel->allocated_up = allocate_up; in tb_usb3_reclaim_available_bandwidth()
H A Dusb4.c2329 int ret, consumed_up, consumed_down, allocate_up, allocate_down; in usb4_usb3_port_allocate_bandwidth() local
2341 allocate_up = max(*upstream_bw, consumed_up); in usb4_usb3_port_allocate_bandwidth()
2344 ret = usb4_usb3_port_write_allocated_bandwidth(port, allocate_up, in usb4_usb3_port_allocate_bandwidth()
2349 *upstream_bw = allocate_up; in usb4_usb3_port_allocate_bandwidth()