Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_priv.c829 if (bw > priv->shp_cfg_speed * 1000) in cpsw_set_fifo_bw()
854 val = DIV_ROUND_UP(bw, priv->shp_cfg_speed * 10); in cpsw_set_fifo_bw()
874 DIV_ROUND_CLOSEST(val * priv->shp_cfg_speed, 100)); in cpsw_set_fifo_bw()
912 priv->shp_cfg_speed = 0; in cpsw_set_fifo_rlimit()
961 if (priv->shp_cfg_speed && in cpsw_set_cbs()
962 priv->shp_cfg_speed != slave->phy->speed) in cpsw_set_cbs()
963 prev_speed = priv->shp_cfg_speed; in cpsw_set_cbs()
965 priv->shp_cfg_speed = slave->phy->speed; in cpsw_set_cbs()
968 if (!priv->shp_cfg_speed) { in cpsw_set_cbs()
980 priv->shp_cfg_speed = prev_speed; in cpsw_set_cbs()
Dcpsw_priv.h381 int shp_cfg_speed; member
Dcpsw.c497 if (priv->shp_cfg_speed && in _cpsw_adjust_link()
498 priv->shp_cfg_speed != slave->phy->speed && in _cpsw_adjust_link()
Dcpsw_new.c692 if (priv->shp_cfg_speed && in cpsw_adjust_link()
693 priv->shp_cfg_speed != slave->phy->speed && in cpsw_adjust_link()