Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-omap2/
H A Dcm33xx.c86 static u32 _clkctrl_idlest(u16 inst, u16 clkctrl_offs) in _clkctrl_idlest() argument
88 u32 v = am33xx_cm_read_reg(inst, clkctrl_offs); in _clkctrl_idlest()
102 static bool _is_module_ready(u16 inst, u16 clkctrl_offs) in _is_module_ready() argument
106 v = _clkctrl_idlest(inst, clkctrl_offs); in _is_module_ready()
221 static int am33xx_cm_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_ready() argument
226 omap_test_timeout(_is_module_ready(inst, clkctrl_offs), in am33xx_cm_wait_module_ready()
244 static int am33xx_cm_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_idle() argument
249 omap_test_timeout((_clkctrl_idlest(inst, clkctrl_offs) == in am33xx_cm_wait_module_idle()
266 u16 clkctrl_offs) in am33xx_cm_module_enable() argument
270 v = am33xx_cm_read_reg(inst, clkctrl_offs); in am33xx_cm_module_enable()
[all …]
H A Domap_hwmod_81xx_data.c169 .clkctrl_offs = DM814X_CM_ALWON_MPU_CLKCTRL,
196 .clkctrl_offs = DM816X_CM_ALWON_MPU_CLKCTRL,
238 .clkctrl_offs = DM81XX_CM_ALWON_RTC_CLKCTRL,
275 .clkctrl_offs = DM81XX_CM_ALWON_UART_0_CLKCTRL,
296 .clkctrl_offs = DM81XX_CM_ALWON_UART_1_CLKCTRL,
317 .clkctrl_offs = DM81XX_CM_ALWON_UART_2_CLKCTRL,
355 .clkctrl_offs = DM81XX_CM_ALWON_WDTIMER_CLKCTRL,
392 .clkctrl_offs = DM81XX_CM_ALWON_I2C_0_CLKCTRL,
412 .clkctrl_offs = DM81XX_CM_ALWON_I2C_1_CLKCTRL,
484 .clkctrl_offs = DM81XX_CM_ALWON_GPIO_0_CLKCTRL,
[all …]
H A Dcm.h60 void (*module_enable)(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
61 void (*module_disable)(u8 part, u16 inst, u16 clkctrl_offs);
62 u32 (*xlate_clkctrl)(u8 part, u16 inst, u16 clkctrl_offs);
71 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
72 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs);
73 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs);
H A Dcminst44xx.c85 static u32 _clkctrl_idlest(u8 part, u16 inst, u16 clkctrl_offs) in _clkctrl_idlest() argument
87 u32 v = omap4_cminst_read_inst_reg(part, inst, clkctrl_offs); in _clkctrl_idlest()
102 static bool _is_module_ready(u8 part, u16 inst, u16 clkctrl_offs) in _is_module_ready() argument
106 v = _clkctrl_idlest(part, inst, clkctrl_offs); in _is_module_ready()
274 static int omap4_cminst_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs, in omap4_cminst_wait_module_ready() argument
279 omap_test_timeout(_is_module_ready(part, inst, clkctrl_offs), in omap4_cminst_wait_module_ready()
297 static int omap4_cminst_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs, in omap4_cminst_wait_module_idle() argument
302 omap_test_timeout((_clkctrl_idlest(part, inst, clkctrl_offs) == in omap4_cminst_wait_module_idle()
319 u16 clkctrl_offs) in omap4_cminst_module_enable() argument
323 v = omap4_cminst_read_inst_reg(part, inst, clkctrl_offs); in omap4_cminst_module_enable()
[all …]
H A Dcm_common.c131 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_enable() argument
139 cm_ll_data->module_enable(mode, part, inst, clkctrl_offs); in omap_cm_module_enable()
153 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_disable() argument
161 cm_ll_data->module_disable(part, inst, clkctrl_offs); in omap_cm_module_disable()
165 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_xlate_clkctrl() argument
172 return cm_ll_data->xlate_clkctrl(part, inst, clkctrl_offs); in omap_cm_xlate_clkctrl()
H A Domap_hwmod.c768 oh->prcm.omap4.clkctrl_offs); in _omap4_xlate_clkctrl()
1018 if (oh->prcm.omap4.clkctrl_offs) in _omap4_has_clkctrl_clock()
1021 if (!oh->prcm.omap4.clkctrl_offs && in _omap4_has_clkctrl_clock()
1076 oh->clkdm->cm_inst, oh->prcm.omap4.clkctrl_offs); in _omap4_enable_module()
1107 oh->prcm.omap4.clkctrl_offs, 0); in _omap4_wait_target_disable()
1666 oh->prcm.omap4.clkctrl_offs); in _omap4_disable_module()
2711 oh->prcm.omap4.clkctrl_offs, 0); in _omap4_wait_target_ready()
H A Domap_hwmod.h377 u16 clkctrl_offs; member