Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-dw-mid.c242 void __iomem *clk_reg; in dw_spi_mid_init() local
245 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()
/drivers/clk/ux500/
Dclk-prcc.c104 struct clk *clk_reg; in clk_reg_prcc() local
131 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()
Dclk-sysctrl.c131 struct clk *clk_reg; in clk_reg_sysctrl() local
172 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()
Dclk-prcmu.c255 struct clk *clk_reg; in clk_reg_prcmu() local
283 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()
/drivers/mmc/host/
Dmmci.h216 u32 clk_reg; member
Dmmci.c280 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()