Lines Matching refs:gcfg
80 u32 gcfg, tcfg, ocfg, dclk_div, val; in gx1_set_mode() local
88 gcfg = readl(par->dc_regs + DC_GENERAL_CFG); in gx1_set_mode()
99 gcfg &= ~(DC_GCFG_DFLE | DC_GCFG_CMPE | DC_GCFG_DECE); in gx1_set_mode()
100 writel(gcfg, par->dc_regs + DC_GENERAL_CFG); in gx1_set_mode()
103 gcfg &= ~DC_GCFG_DCLK_MASK; in gx1_set_mode()
104 writel(gcfg, par->dc_regs + DC_GENERAL_CFG); in gx1_set_mode()
109 gcfg |= dclk_div; in gx1_set_mode()
110 writel(gcfg, par->dc_regs + DC_GENERAL_CFG); in gx1_set_mode()
122 gcfg = DC_GCFG_VRDY | dclk_div; in gx1_set_mode()
126 gcfg |= (6 << DC_GCFG_DFHPEL_POS) | (5 << DC_GCFG_DFHPSL_POS) | DC_GCFG_DFLE; in gx1_set_mode()
181 writel(gcfg, par->dc_regs + DC_GENERAL_CFG); in gx1_set_mode()