Lines Matching refs:pad_ctrl
125 u16 pad_ctrl; member
167 .pad_ctrl = XENON_EMMC_5_0_PHY_PAD_CONTROL,
178 .pad_ctrl = XENON_EMMC_PHY_PAD_CONTROL,
200 struct soc_pad_ctrl pad_ctrl; member
316 if (params->pad_ctrl.pad_type == SOC_PAD_FIXED_1_8V) { in armada_3700_soc_pad_voltage_set()
317 writel(ARMADA_3700_SOC_PAD_1_8V, params->pad_ctrl.reg); in armada_3700_soc_pad_voltage_set()
318 } else if (params->pad_ctrl.pad_type == SOC_PAD_SD) { in armada_3700_soc_pad_voltage_set()
320 writel(ARMADA_3700_SOC_PAD_1_8V, params->pad_ctrl.reg); in armada_3700_soc_pad_voltage_set()
322 writel(ARMADA_3700_SOC_PAD_3_3V, params->pad_ctrl.reg); in armada_3700_soc_pad_voltage_set()
338 if (!params->pad_ctrl.reg) in xenon_emmc_phy_set_soc_pad()
341 if (params->pad_ctrl.set_soc_pad) in xenon_emmc_phy_set_soc_pad()
342 params->pad_ctrl.set_soc_pad(host, signal_voltage); in xenon_emmc_phy_set_soc_pad()
586 reg = sdhci_readl(host, phy_regs->pad_ctrl); in xenon_emmc_phy_set()
591 sdhci_writel(host, reg, phy_regs->pad_ctrl); in xenon_emmc_phy_set()
691 params->pad_ctrl.set_soc_pad = armada_3700_soc_pad_voltage_set; in get_dt_pad_ctrl_data()
701 params->pad_ctrl.reg = devm_ioremap_resource(mmc_dev(host->mmc), in get_dt_pad_ctrl_data()
703 if (IS_ERR(params->pad_ctrl.reg)) in get_dt_pad_ctrl_data()
704 return PTR_ERR(params->pad_ctrl.reg); in get_dt_pad_ctrl_data()
712 params->pad_ctrl.pad_type = SOC_PAD_SD; in get_dt_pad_ctrl_data()
714 params->pad_ctrl.pad_type = SOC_PAD_FIXED_1_8V; in get_dt_pad_ctrl_data()