Searched refs:clkcon (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/sound/soc/samsung/ |
H A D | spdif.c | 108 u32 clkcon; in spdif_snd_txctrl() local 112 clkcon = readl(regs + CLKCON) & CLKCTL_MASK; in spdif_snd_txctrl() 114 writel(clkcon | CLKCTL_PWR_ON, regs + CLKCON); in spdif_snd_txctrl() 116 writel(clkcon & ~CLKCTL_PWR_ON, regs + CLKCON); in spdif_snd_txctrl() 123 u32 clkcon; in spdif_set_sysclk() local 127 clkcon = readl(spdif->regs + CLKCON); in spdif_set_sysclk() 130 clkcon &= ~CLKCTL_MCLK_EXT; in spdif_set_sysclk() 132 clkcon |= CLKCTL_MCLK_EXT; in spdif_set_sysclk() 134 writel(clkcon, spdif->regs + CLKCON); in spdif_set_sysclk() 184 u32 con, clkcon, cstas; in spdif_hw_params() local [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | tegra_mmc.c | 376 writew(0, &priv->reg->clkcon); in tegra_mmc_change_clock() 388 writew(clk, &priv->reg->clkcon); in tegra_mmc_change_clock() 392 while (!(readw(&priv->reg->clkcon) & in tegra_mmc_change_clock() 403 writew(clk, &priv->reg->clkcon); in tegra_mmc_change_clock()
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | tegra_mmc.h | 38 unsigned short clkcon; /* _CLOCK_CONTROL_0 15:00 */ member
|
/openbmc/qemu/hw/sd/ |
H A D | sdhci.c | 264 s->clkcon &= ~SDHC_CLOCK_SDCLK_EN; in sdhci_set_inserted() 983 if (!SDHC_CLOCK_IS_ON(s->clkcon) || in sdhci_can_issue_command() 1060 ret = s->clkcon | (s->timeoutcon << 16); in sdhci_read() 1269 MASKED_WRITE(s->clkcon, mask, value); in sdhci_write() 1271 if (s->clkcon & SDHC_CLOCK_INT_EN) { in sdhci_write() 1272 s->clkcon |= SDHC_CLOCK_INT_STABLE; in sdhci_write() 1274 s->clkcon &= ~SDHC_CLOCK_INT_STABLE; in sdhci_write() 1516 VMSTATE_UINT16(clkcon, SDHCIState), 1692 if (s->clkcon & SDHC_CLOCK_INT_STABLE) { in usdhc_read()
|
/openbmc/qemu/include/hw/sd/ |
H A D | sdhci.h | 66 uint16_t clkcon; /* Clock control Register */ member
|