Searched refs:hwmod (Results 1 - 4 of 4) sorted by relevance
/netbsd-current/sys/arch/arm/ti/ |
H A D | omap3_cm.c | 68 val = PRCM_READ(sc, tc->u.hwmod.reg + CM_FCLKEN); 70 val |= tc->u.hwmod.mask; 72 val &= ~tc->u.hwmod.mask; 73 PRCM_WRITE(sc, tc->u.hwmod.reg + CM_FCLKEN, val); 75 val = PRCM_READ(sc, tc->u.hwmod.reg + CM_ICLKEN); 77 val |= tc->u.hwmod.mask; 79 val &= ~tc->u.hwmod.mask; 80 PRCM_WRITE(sc, tc->u.hwmod.reg + CM_ICLKEN, val); 82 if (tc->u.hwmod.flags & TI_HWMOD_DISABLE_AUTOIDLE) { 83 val = PRCM_READ(sc, tc->u.hwmod [all...] |
H A D | ti_prcm.h | 71 struct ti_prcm_hwmod hwmod; member in union:ti_prcm_clk::__anon4 140 return tc->u.hwmod.parent; 149 .u.hwmod.reg = (_reg), \ 150 .u.hwmod.mask = (_mask), \ 151 .u.hwmod.flags = (_flags), \ 152 .u.hwmod.parent = (_parent), \
|
H A D | ti_omaptimer.c | 179 struct clk *hwmod; local 199 hwmod = ti_prcm_get_hwmod(phandle, 0); 200 if (hwmod == NULL || clk_enable(hwmod) != 0) { 208 rate = clk_get_rate(hwmod);
|
H A D | am3_prcm.c | 81 val = PRCM_READ(sc, tc->u.hwmod.reg); 86 PRCM_WRITE(sc, tc->u.hwmod.reg, val); 234 * Look for a matching hwmod. 241 if (tclk->u.hwmod.reg == regoff)
|
Completed in 200 milliseconds