Searched refs:hwmod (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/sys/arch/arm/ti/
H A Domap3_cm.c68 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 Dti_prcm.h71 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 Dti_omaptimer.c179 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 Dam3_prcm.c81 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