Searched refs:pup_interval (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_sdlb.c | 47 int sparx5_sdlb_pup_token_get(struct sparx5 *sparx5, u32 pup_interval, u64 rate) in sparx5_sdlb_pup_token_get() argument 56 return DIV64_U64_ROUND_UP((rate * pup_interval), (clk_hz * 8)); in sparx5_sdlb_pup_token_get() 196 if (count > ((group->pup_interval / 4) - 1)) in sparx5_sdlb_group_get_by_rate() 322 group->pup_interval = in sparx5_sdlb_group_init() 327 spx5_wr(ANA_AC_SDLB_PUP_INTERVAL_PUP_INTERVAL_SET(group->pup_interval), in sparx5_sdlb_group_init()
|
D | sparx5_police.c | 23 pup_tokens = sparx5_sdlb_pup_token_get(sparx5, g->pup_interval, rate); in sparx5_policer_service_conf_set() 25 sparx5_sdlb_pup_token_get(sparx5, g->pup_interval, g->max_rate); in sparx5_policer_service_conf_set()
|
D | sparx5_main.h | 442 u32 pup_interval; member 447 int sparx5_sdlb_pup_token_get(struct sparx5 *sparx5, u32 pup_interval,
|