Searched refs:clk_reg (Results 1 – 6 of 6) sorted by relevance
242 void __iomem *clk_reg; in dw_spi_mid_init() local245 clk_reg = ioremap_nocache(MRST_CLK_SPI0_REG, 16); in dw_spi_mid_init()246 if (!clk_reg) in dw_spi_mid_init()250 clk_cdiv = (readl(clk_reg) & CLK_SPI_CDIV_MASK) >> CLK_SPI_CDIV_OFFSET; in dw_spi_mid_init()252 iounmap(clk_reg); in dw_spi_mid_init()
104 struct clk *clk_reg; in clk_reg_prcc() local131 clk_reg = clk_register(NULL, &clk->hw); in clk_reg_prcc()132 if (IS_ERR_OR_NULL(clk_reg)) in clk_reg_prcc()135 return clk_reg; in clk_reg_prcc()
131 struct clk *clk_reg; in clk_reg_sysctrl() local172 clk_reg = devm_clk_register(clk->dev, &clk->hw); in clk_reg_sysctrl()173 if (IS_ERR(clk_reg)) in clk_reg_sysctrl()176 return clk_reg; in clk_reg_sysctrl()
255 struct clk *clk_reg; in clk_reg_prcmu() local283 clk_reg = clk_register(NULL, &clk->hw); in clk_reg_prcmu()284 if (IS_ERR_OR_NULL(clk_reg)) in clk_reg_prcmu()287 return clk_reg; in clk_reg_prcmu()
216 u32 clk_reg; member
280 if (host->clk_reg != clk) { in mmci_write_clkreg()281 host->clk_reg = clk; in mmci_write_clkreg()831 clk = host->clk_reg & ~variant->clkreg_enable; in mmci_start_data()833 clk = host->clk_reg | variant->clkreg_enable; in mmci_start_data()1802 writel(host->clk_reg, host->base + MMCICLOCK); in mmci_restore()