Searched refs:ocp_ratio (Results 1 – 1 of 1) sorted by relevance
485 u32 ocp_ratio; in mt7620_get_sys_rate() local490 ocp_ratio = (reg >> CPU_SYS_CLKCFG_OCP_RATIO_SHIFT) & in mt7620_get_sys_rate()493 if (WARN_ON(ocp_ratio >= ARRAY_SIZE(mt7620_ocp_dividers))) in mt7620_get_sys_rate()496 div = mt7620_ocp_dividers[ocp_ratio]; in mt7620_get_sys_rate()497 if (WARN(!div, "invalid divider for OCP ratio %u", ocp_ratio)) in mt7620_get_sys_rate()