Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/clk/ralink/
Dclk-mtmips.c610 u32 ocp_ratio; in mt7620_bus_recalc_rate() local
614 ocp_ratio = (t >> CPU_SYS_CLKCFG_OCP_RATIO_SHIFT) & in mt7620_bus_recalc_rate()
617 if (WARN_ON_ONCE(ocp_ratio >= ARRAY_SIZE(ocp_dividers))) in mt7620_bus_recalc_rate()
620 div = ocp_dividers[ocp_ratio]; in mt7620_bus_recalc_rate()
622 if (WARN(!div, "invalid divider for OCP ratio %u", ocp_ratio)) in mt7620_bus_recalc_rate()