Lines Matching refs:cm
57 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_enable() local
59 return ccu_gate_helper_enable(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_enable()
64 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_disable() local
66 return ccu_gate_helper_disable(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_disable()
71 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_is_enabled() local
73 return ccu_gate_helper_is_enabled(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_is_enabled()
79 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_recalc_rate() local
82 u32 reg = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_recalc_rate()
117 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_prepare() local
123 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_prepare()
125 cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_prepare()
132 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_unprepare() local
138 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_unprepare()
140 cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_unprepare()
146 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_recalc_rate() local
150 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_recalc_rate()
157 val = readl(cm->base + IOSC_32K_CLK_DIV_REG) & IOSC_32K_CLK_DIV; in ccu_iosc_32k_recalc_rate()
165 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_recalc_accuracy() local
169 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_recalc_accuracy()