Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_qos.c391 u32 leak_time_us; in sparx5_leak_groups_init() local
405 leak_time_us = (SPX5_SE_RATE_MAX * 1000) / lg->max_rate; in sparx5_leak_groups_init()
408 lg->leak_time = 1000 * leak_time_us; in sparx5_leak_groups_init()
411 lg->resolution = 1000 / leak_time_us; in sparx5_leak_groups_init()
416 lg->max_ses = (1000 * leak_time_us) / sys_clk_per_100ps; in sparx5_leak_groups_init()