/linux-6.1.9/drivers/clk/ |
D | clk-max77686.c | 36 u32 clk_reg; member 58 .clk_reg = MAX77686_REG_32KHZ, 63 .clk_reg = MAX77686_REG_32KHZ, 68 .clk_reg = MAX77686_REG_32KHZ, 77 .clk_reg = MAX77802_REG_32KHZ, 82 .clk_reg = MAX77802_REG_32KHZ, 91 .clk_reg = MAX77620_REG_CNFG1_32K, 106 return regmap_update_bits(max77686->regmap, max77686->clk_info->clk_reg, in max77686_clk_prepare() 115 regmap_update_bits(max77686->regmap, max77686->clk_info->clk_reg, in max77686_clk_unprepare() 126 ret = regmap_read(max77686->regmap, max77686->clk_info->clk_reg, &val); in max77686_clk_is_prepared()
|
/linux-6.1.9/drivers/reset/ |
D | reset-lpc18xx.c | 36 struct clk *clk_reg; member 155 rc->clk_reg = devm_clk_get(&pdev->dev, "reg"); in lpc18xx_rgu_probe() 156 if (IS_ERR(rc->clk_reg)) { in lpc18xx_rgu_probe() 158 return PTR_ERR(rc->clk_reg); in lpc18xx_rgu_probe() 167 ret = clk_prepare_enable(rc->clk_reg); in lpc18xx_rgu_probe() 179 fcclk = clk_get_rate(rc->clk_reg) / USEC_PER_SEC; in lpc18xx_rgu_probe() 212 clk_disable_unprepare(rc->clk_reg); in lpc18xx_rgu_probe()
|
/linux-6.1.9/drivers/tty/serial/8250/ |
D | 8250_lpc18xx.c | 31 struct clk *clk_reg; member 124 data->clk_reg = devm_clk_get(&pdev->dev, "reg"); in lpc18xx_serial_probe() 125 if (IS_ERR(data->clk_reg)) { in lpc18xx_serial_probe() 127 return PTR_ERR(data->clk_reg); in lpc18xx_serial_probe() 130 ret = clk_prepare_enable(data->clk_reg); in lpc18xx_serial_probe() 181 clk_disable_unprepare(data->clk_reg); in lpc18xx_serial_probe() 191 clk_disable_unprepare(data->clk_reg); in lpc18xx_serial_remove()
|
/linux-6.1.9/drivers/spi/ |
D | spi-dw-pci.c | 36 void __iomem *clk_reg; in dw_spi_pci_mid_init() local 39 clk_reg = ioremap(MRST_CLK_SPI_REG, 16); in dw_spi_pci_mid_init() 40 if (!clk_reg) in dw_spi_pci_mid_init() 44 clk_cdiv = readl(clk_reg + dws->bus_num * sizeof(u32)); in dw_spi_pci_mid_init() 49 iounmap(clk_reg); in dw_spi_pci_mid_init()
|
/linux-6.1.9/drivers/rtc/ |
D | rtc-lpc24xx.c | 66 struct clk *clk_reg; member 217 rtc->clk_reg = devm_clk_get(&pdev->dev, "reg"); in lpc24xx_rtc_probe() 218 if (IS_ERR(rtc->clk_reg)) { in lpc24xx_rtc_probe() 220 return PTR_ERR(rtc->clk_reg); in lpc24xx_rtc_probe() 229 ret = clk_prepare_enable(rtc->clk_reg); in lpc24xx_rtc_probe() 261 clk_disable_unprepare(rtc->clk_reg); in lpc24xx_rtc_probe() 278 clk_disable_unprepare(rtc->clk_reg); in lpc24xx_rtc_remove()
|
/linux-6.1.9/drivers/clk/ux500/ |
D | clk-prcc.c | 102 struct clk *clk_reg; in clk_reg_prcc() local 127 clk_reg = clk_register(NULL, &clk->hw); in clk_reg_prcc() 128 if (IS_ERR_OR_NULL(clk_reg)) in clk_reg_prcc() 131 return clk_reg; in clk_reg_prcc()
|
D | clk-sysctrl.c | 131 struct clk *clk_reg; in clk_reg_sysctrl() local 170 clk_reg = devm_clk_register(clk->dev, &clk->hw); in clk_reg_sysctrl() 171 if (IS_ERR(clk_reg)) in clk_reg_sysctrl() 174 return clk_reg; in clk_reg_sysctrl()
|
/linux-6.1.9/drivers/media/rc/ |
D | ir-hix5hd2.c | 68 u32 clk_reg; member 73 .clk_reg = 0x48, 77 .clk_reg = 0x60, 94 u32 clk_reg = dev->socdata->clk_reg; in hix5hd2_ir_clk_enable() local 99 regmap_read(dev->regmap, clk_reg, &val); in hix5hd2_ir_clk_enable() 107 regmap_write(dev->regmap, clk_reg, val); in hix5hd2_ir_clk_enable()
|
/linux-6.1.9/drivers/pci/controller/dwc/ |
D | pcie-armada8k.c | 33 struct clk *clk_reg; member 296 pcie->clk_reg = devm_clk_get(dev, "reg"); in armada8k_pcie_probe() 297 if (pcie->clk_reg == ERR_PTR(-EPROBE_DEFER)) { in armada8k_pcie_probe() 301 if (!IS_ERR(pcie->clk_reg)) { in armada8k_pcie_probe() 302 ret = clk_prepare_enable(pcie->clk_reg); in armada8k_pcie_probe() 330 clk_disable_unprepare(pcie->clk_reg); in armada8k_pcie_probe()
|
/linux-6.1.9/drivers/clk/sunxi/ |
D | clk-sun8i-bus-gates.c | 29 void __iomem *clk_reg; in sun8i_h3_bus_gates_init() local 78 clk_reg = reg + 4 * (index / 32); in sun8i_h3_bus_gates_init() 83 0, clk_reg, clk_bit, in sun8i_h3_bus_gates_init()
|
D | clk-simple-gates.c | 26 void __iomem *clk_reg; in sunxi_simple_gates_setup() local 54 clk_reg = reg + 4 * (index / 32); in sunxi_simple_gates_setup() 59 clk_reg, in sunxi_simple_gates_setup()
|
/linux-6.1.9/drivers/mtd/spi-nor/controllers/ |
D | nxp-spifi.c | 56 struct clk *clk_reg; member 404 spifi->clk_reg = devm_clk_get(&pdev->dev, "reg"); in nxp_spifi_probe() 405 if (IS_ERR(spifi->clk_reg)) { in nxp_spifi_probe() 407 return PTR_ERR(spifi->clk_reg); in nxp_spifi_probe() 410 ret = clk_prepare_enable(spifi->clk_reg); in nxp_spifi_probe() 450 clk_disable_unprepare(spifi->clk_reg); in nxp_spifi_probe() 460 clk_disable_unprepare(spifi->clk_reg); in nxp_spifi_remove()
|
/linux-6.1.9/drivers/char/hw_random/ |
D | omap-rng.c | 160 struct clk *clk_reg; member 475 priv->clk_reg = devm_clk_get(&pdev->dev, "reg"); in omap_rng_probe() 476 if (PTR_ERR(priv->clk_reg) == -EPROBE_DEFER) in omap_rng_probe() 478 if (!IS_ERR(priv->clk_reg)) { in omap_rng_probe() 479 ret = clk_prepare_enable(priv->clk_reg); in omap_rng_probe() 507 clk_disable_unprepare(priv->clk_reg); in omap_rng_probe() 525 clk_disable_unprepare(priv->clk_reg); in omap_rng_remove()
|
/linux-6.1.9/arch/mips/cavium-octeon/ |
D | csrc-octeon.c | 70 u64 clk_reg; in octeon_init_cvmcount() local 74 clk_reg = octeon_has_feature(OCTEON_FEATURE_FPA3) ? in octeon_init_cvmcount() 86 u64 clk_count = cvmx_read_csr(clk_reg); in octeon_init_cvmcount()
|
/linux-6.1.9/drivers/mmc/host/ |
D | meson-gx-mmc.c | 430 u32 clk_reg; in meson_mmc_clk_init() local 433 clk_reg = CLK_ALWAYS_ON(host); in meson_mmc_clk_init() 434 clk_reg |= CLK_DIV_MASK; in meson_mmc_clk_init() 435 clk_reg |= FIELD_PREP(CLK_CORE_PHASE_MASK, CLK_PHASE_180); in meson_mmc_clk_init() 436 clk_reg |= FIELD_PREP(CLK_TX_PHASE_MASK, CLK_PHASE_0); in meson_mmc_clk_init() 437 clk_reg |= FIELD_PREP(CLK_RX_PHASE_MASK, CLK_PHASE_0); in meson_mmc_clk_init() 438 clk_reg |= CLK_IRQ_SDIO_SLEEP(host); in meson_mmc_clk_init() 439 writel(clk_reg, host->regs + SD_EMMC_CLOCK); in meson_mmc_clk_init()
|
D | mmci.c | 370 if (host->clk_reg != clk) { in mmci_write_clkreg() 371 host->clk_reg = clk; in mmci_write_clkreg() 1169 clk = host->clk_reg & ~variant->clkreg_enable; in mmci_start_data() 1171 clk = host->clk_reg | variant->clkreg_enable; in mmci_start_data() 1685 writel(host->clk_reg, host->base + MMCICLOCK); in mmci_irq_thread() 2328 writel(host->clk_reg, host->base + MMCICLOCK); in mmci_restore()
|
D | mmci.h | 409 u32 clk_reg; member
|
/linux-6.1.9/sound/soc/sunxi/ |
D | sun8i-codec.c | 521 u32 clk_reg; in sun8i_codec_hw_params() local 565 clk_reg = SUN8I_AIF_CLK_CTRL(SUN8I_CODEC_AIF2); in sun8i_codec_hw_params() 567 clk_reg = SUN8I_AIF_CLK_CTRL(dai->id); in sun8i_codec_hw_params() 570 regmap_update_bits(scodec->regmap, clk_reg, in sun8i_codec_hw_params() 579 regmap_update_bits(scodec->regmap, clk_reg, in sun8i_codec_hw_params()
|
/linux-6.1.9/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gpu.c | 1533 ret = clk_prepare_enable(gpu->clk_reg); in etnaviv_gpu_clk_enable() 1556 clk_disable_unprepare(gpu->clk_reg); in etnaviv_gpu_clk_enable() 1566 clk_disable_unprepare(gpu->clk_reg); in etnaviv_gpu_clk_disable() 1816 gpu->clk_reg = devm_clk_get_optional(&pdev->dev, "reg"); in etnaviv_gpu_platform_probe() 1817 DBG("clk_reg: %p", gpu->clk_reg); in etnaviv_gpu_platform_probe() 1818 if (IS_ERR(gpu->clk_reg)) in etnaviv_gpu_platform_probe() 1819 return PTR_ERR(gpu->clk_reg); in etnaviv_gpu_platform_probe()
|
D | etnaviv_gpu.h | 143 struct clk *clk_reg; member
|
/linux-6.1.9/sound/soc/codecs/ |
D | da7219.c | 1935 u8 clk_reg; in da7219_wclk_is_prepared() local 1940 clk_reg = snd_soc_component_read(component, DA7219_DAI_CLK_MODE); in da7219_wclk_is_prepared() 1942 return !!(clk_reg & DA7219_DAI_CLK_EN_MASK); in da7219_wclk_is_prepared()
|