Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/
H A Dbcm_sf2.c135 unsigned int ports_active; in bcm_sf2_recalc_clock() local
144 ports_active = bcm_sf2_num_active_ports(ds); in bcm_sf2_recalc_clock()
145 if (ports_active == 0 || !priv->clk_mdiv) in bcm_sf2_recalc_clock()
151 if (ports_active > ARRAY_SIZE(rate_table)) in bcm_sf2_recalc_clock()
154 new_rate = rate_table[ports_active - 1]; in bcm_sf2_recalc_clock()