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

/linux-4.1.27/arch/arm/mach-omap2/
H A Dcm33xx.c113 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
118 static void _clktrctrl_write(u8 c, u16 inst, u16 cdoffs) _clktrctrl_write() argument
122 v = am33xx_cm_read_reg(inst, cdoffs); _clktrctrl_write()
125 am33xx_cm_write_reg(v, inst, cdoffs); _clktrctrl_write()
133 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
135 * Returns true if the clockdomain referred to by (@inst, @cdoffs)
138 static bool am33xx_cm_is_clkdm_in_hwsup(u16 inst, u16 cdoffs) am33xx_cm_is_clkdm_in_hwsup() argument
142 v = am33xx_cm_read_reg(inst, cdoffs); am33xx_cm_is_clkdm_in_hwsup()
152 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
154 * Put a clockdomain referred to by (@inst, @cdoffs) into
157 static void am33xx_cm_clkdm_enable_hwsup(u16 inst, u16 cdoffs) am33xx_cm_clkdm_enable_hwsup() argument
159 _clktrctrl_write(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, inst, cdoffs); am33xx_cm_clkdm_enable_hwsup()
165 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
167 * Put a clockdomain referred to by (@inst, @cdoffs) into
171 static void am33xx_cm_clkdm_disable_hwsup(u16 inst, u16 cdoffs) am33xx_cm_clkdm_disable_hwsup() argument
173 _clktrctrl_write(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, inst, cdoffs); am33xx_cm_clkdm_disable_hwsup()
179 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
181 * Put a clockdomain referred to by (@inst, @cdoffs) into idle
184 static void am33xx_cm_clkdm_force_sleep(u16 inst, u16 cdoffs) am33xx_cm_clkdm_force_sleep() argument
186 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, inst, cdoffs); am33xx_cm_clkdm_force_sleep()
192 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
194 * Take a clockdomain referred to by (@inst, @cdoffs) out of idle,
197 static void am33xx_cm_clkdm_force_wakeup(u16 inst, u16 cdoffs) am33xx_cm_clkdm_force_wakeup() argument
199 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, inst, cdoffs); am33xx_cm_clkdm_force_wakeup()
H A Dcminst44xx.c177 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
182 static void _clktrctrl_write(u8 c, u8 part, u16 inst, u16 cdoffs) _clktrctrl_write() argument
186 v = omap4_cminst_read_inst_reg(part, inst, cdoffs + OMAP4_CM_CLKSTCTRL); _clktrctrl_write()
189 omap4_cminst_write_inst_reg(v, part, inst, cdoffs + OMAP4_CM_CLKSTCTRL); _clktrctrl_write()
196 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
198 * Returns true if the clockdomain referred to by (@part, @inst, @cdoffs)
201 static bool omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs) omap4_cminst_is_clkdm_in_hwsup() argument
205 v = omap4_cminst_read_inst_reg(part, inst, cdoffs + OMAP4_CM_CLKSTCTRL); omap4_cminst_is_clkdm_in_hwsup()
216 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
218 * Put a clockdomain referred to by (@part, @inst, @cdoffs) into
221 static void omap4_cminst_clkdm_enable_hwsup(u8 part, u16 inst, u16 cdoffs) omap4_cminst_clkdm_enable_hwsup() argument
223 _clktrctrl_write(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, part, inst, cdoffs); omap4_cminst_clkdm_enable_hwsup()
230 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
232 * Put a clockdomain referred to by (@part, @inst, @cdoffs) into
236 static void omap4_cminst_clkdm_disable_hwsup(u8 part, u16 inst, u16 cdoffs) omap4_cminst_clkdm_disable_hwsup() argument
238 _clktrctrl_write(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, part, inst, cdoffs); omap4_cminst_clkdm_disable_hwsup()
245 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
247 * Take a clockdomain referred to by (@part, @inst, @cdoffs) out of idle,
250 static void omap4_cminst_clkdm_force_wakeup(u8 part, u16 inst, u16 cdoffs) omap4_cminst_clkdm_force_wakeup() argument
252 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, part, inst, cdoffs); omap4_cminst_clkdm_force_wakeup()
259 static void omap4_cminst_clkdm_force_sleep(u8 part, u16 inst, u16 cdoffs) omap4_cminst_clkdm_force_sleep() argument
261 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, part, inst, cdoffs); omap4_cminst_clkdm_force_sleep()

Completed in 132 milliseconds