Searched refs:pad_ctrl (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/mmc/host/ |
D | sdhci-xenon-phy.c | 122 u16 pad_ctrl; member 164 .pad_ctrl = XENON_EMMC_5_0_PHY_PAD_CONTROL, 175 .pad_ctrl = XENON_EMMC_PHY_PAD_CONTROL, 197 struct soc_pad_ctrl pad_ctrl; member 286 if (params->pad_ctrl.pad_type == SOC_PAD_FIXED_1_8V) { in armada_3700_soc_pad_voltage_set() 287 writel(ARMADA_3700_SOC_PAD_1_8V, params->pad_ctrl.reg); in armada_3700_soc_pad_voltage_set() 288 } else if (params->pad_ctrl.pad_type == SOC_PAD_SD) { in armada_3700_soc_pad_voltage_set() 290 writel(ARMADA_3700_SOC_PAD_1_8V, params->pad_ctrl.reg); in armada_3700_soc_pad_voltage_set() 292 writel(ARMADA_3700_SOC_PAD_3_3V, params->pad_ctrl.reg); in armada_3700_soc_pad_voltage_set() 308 if (!params->pad_ctrl.reg) in xenon_emmc_phy_set_soc_pad() [all …]
|
D | sdhci-tegra.c | 375 u32 misc_ctrl, clk_ctrl, pad_ctrl; in tegra_sdhci_reset() local 416 pad_ctrl = sdhci_readl(host, SDHCI_TEGRA_SDMEM_COMP_PADCTRL); in tegra_sdhci_reset() 417 pad_ctrl &= ~SDHCI_TEGRA_SDMEM_COMP_PADCTRL_VREF_SEL_MASK; in tegra_sdhci_reset() 418 pad_ctrl |= SDHCI_TEGRA_SDMEM_COMP_PADCTRL_VREF_SEL_VAL; in tegra_sdhci_reset() 419 sdhci_writel(host, pad_ctrl, SDHCI_TEGRA_SDMEM_COMP_PADCTRL); in tegra_sdhci_reset()
|