Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/dsa/
H A Dbcm_sf2.c55 unsigned int ports_active; in bcm_sf2_recalc_clock() local
64 ports_active = bcm_sf2_num_active_ports(ds); in bcm_sf2_recalc_clock()
65 if (ports_active == 0 || !priv->clk_mdiv) in bcm_sf2_recalc_clock()
71 if (ports_active > ARRAY_SIZE(rate_table)) in bcm_sf2_recalc_clock()
74 new_rate = rate_table[ports_active - 1]; in bcm_sf2_recalc_clock()
/kernel/linux/linux-6.6/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()

Completed in 5 milliseconds