mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
thunderbolt: Add missing kernel-doc comment to tb_tunnel_maximum_bandwidth()
These were missing from the original commit so add them now. No functional changes. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
This commit is contained in:
parent
ace75e18e7
commit
06cbcbfaa6
2 changed files with 11 additions and 1 deletions
|
@ -2081,6 +2081,16 @@ static bool tb_tunnel_is_active(const struct tb_tunnel *tunnel)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* tb_tunnel_maximum_bandwidth() - Return maximum possible bandwidth
|
||||||
|
* @tunnel: Tunnel to check
|
||||||
|
* @max_up: Maximum upstream bandwidth in Mb/s
|
||||||
|
* @max_down: Maximum downstream bandwidth in Mb/s
|
||||||
|
*
|
||||||
|
* Returns maximum possible bandwidth this tunnel can go if not limited
|
||||||
|
* by other bandwidth clients. If the tunnel does not support this
|
||||||
|
* returns %-EOPNOTSUPP.
|
||||||
|
*/
|
||||||
int tb_tunnel_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up,
|
int tb_tunnel_maximum_bandwidth(struct tb_tunnel *tunnel, int *max_up,
|
||||||
int *max_down)
|
int *max_down)
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,7 +29,7 @@ enum tb_tunnel_type {
|
||||||
* @init: Optional tunnel specific initialization
|
* @init: Optional tunnel specific initialization
|
||||||
* @deinit: Optional tunnel specific de-initialization
|
* @deinit: Optional tunnel specific de-initialization
|
||||||
* @activate: Optional tunnel specific activation/deactivation
|
* @activate: Optional tunnel specific activation/deactivation
|
||||||
* @maximum_bandwidth:
|
* @maximum_bandwidth: Returns maximum possible bandwidth for this tunnel
|
||||||
* @allocated_bandwidth: Return how much bandwidth is allocated for the tunnel
|
* @allocated_bandwidth: Return how much bandwidth is allocated for the tunnel
|
||||||
* @alloc_bandwidth: Change tunnel bandwidth allocation
|
* @alloc_bandwidth: Change tunnel bandwidth allocation
|
||||||
* @consumed_bandwidth: Return how much bandwidth the tunnel consumes
|
* @consumed_bandwidth: Return how much bandwidth the tunnel consumes
|
||||||
|
|
Loading…
Add table
Reference in a new issue