Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/renesas/
Drcar-gen3-cpg.c205 #define CPG_SD_STP_MASK (CPG_SD_STP_HCK | CPG_SD_STP_CK) macro
268 val &= ~(CPG_SD_STP_MASK); in cpg_sd_clock_enable()
269 val |= clock->div_table[clock->cur_div_idx].val & CPG_SD_STP_MASK; in cpg_sd_clock_enable()
280 writel(readl(clock->csn.reg) | CPG_SD_STP_MASK, clock->csn.reg); in cpg_sd_clock_disable()
287 return !(readl(clock->csn.reg) & CPG_SD_STP_MASK); in cpg_sd_clock_is_enabled()
340 val &= ~(CPG_SD_STP_MASK | CPG_SD_FC_MASK); in cpg_sd_clock_set_rate()
341 val |= clock->div_table[i].val & (CPG_SD_STP_MASK | CPG_SD_FC_MASK); in cpg_sd_clock_set_rate()