Lines Matching refs:cdoffs
116 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
121 static void _clktrctrl_write(u8 c, u16 inst, u16 cdoffs)
125 v = am33xx_cm_read_reg(inst, cdoffs);
128 am33xx_cm_write_reg(v, inst, cdoffs);
136 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
138 * Returns true if the clockdomain referred to by (@inst, @cdoffs)
141 static bool am33xx_cm_is_clkdm_in_hwsup(u16 inst, u16 cdoffs)
145 v = am33xx_cm_read_reg(inst, cdoffs);
155 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
157 * Put a clockdomain referred to by (@inst, @cdoffs) into
160 static void am33xx_cm_clkdm_enable_hwsup(u16 inst, u16 cdoffs)
162 _clktrctrl_write(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, inst, cdoffs);
168 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
170 * Put a clockdomain referred to by (@inst, @cdoffs) into
174 static void am33xx_cm_clkdm_disable_hwsup(u16 inst, u16 cdoffs)
176 _clktrctrl_write(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, inst, cdoffs);
182 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
184 * Put a clockdomain referred to by (@inst, @cdoffs) into idle
187 static void am33xx_cm_clkdm_force_sleep(u16 inst, u16 cdoffs)
189 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, inst, cdoffs);
195 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
197 * Take a clockdomain referred to by (@inst, @cdoffs) out of idle,
200 static void am33xx_cm_clkdm_force_wakeup(u16 inst, u16 cdoffs)
202 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, inst, cdoffs);