Searched refs:dclk_con (Results 1 – 1 of 1) sorted by relevance
174 u32 dclk_con, div, cmp; in s3c24xx_dclk_update_cmp() local178 dclk_con = readl_relaxed(s3c24xx_dclk->base); in s3c24xx_dclk_update_cmp()180 div = ((dclk_con >> div_shift) & DCLKCON_DCLK_DIV_MASK) + 1; in s3c24xx_dclk_update_cmp()183 dclk_con &= ~(DCLKCON_DCLK_DIV_MASK << cmp_shift); in s3c24xx_dclk_update_cmp()184 dclk_con |= (cmp << cmp_shift); in s3c24xx_dclk_update_cmp()186 writel_relaxed(dclk_con, s3c24xx_dclk->base); in s3c24xx_dclk_update_cmp()