Lines Matching refs:phy_regs
236 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; in xenon_emmc_phy_init() local
238 reg = sdhci_readl(host, phy_regs->timing_adj); in xenon_emmc_phy_init()
240 sdhci_writel(host, reg, phy_regs->timing_adj); in xenon_emmc_phy_init()
268 reg = sdhci_readl(host, phy_regs->timing_adj); in xenon_emmc_phy_init()
328 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; in xenon_emmc_phy_enable_dll() local
334 reg = sdhci_readl(host, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll()
339 reg = sdhci_readl(host, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll()
353 reg |= phy_regs->dll_update; in xenon_emmc_phy_enable_dll()
356 sdhci_writel(host, reg, phy_regs->dll_ctrl); in xenon_emmc_phy_enable_dll()
494 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; in xenon_emmc_phy_slow_mode() local
501 reg = sdhci_readl(host, phy_regs->timing_adj); in xenon_emmc_phy_slow_mode()
535 sdhci_writel(host, reg, phy_regs->timing_adj); in xenon_emmc_phy_slow_mode()
550 struct xenon_emmc_phy_regs *phy_regs = priv->emmc_phy_regs; in xenon_emmc_phy_set() local
555 reg = sdhci_readl(host, phy_regs->pad_ctrl); in xenon_emmc_phy_set()
560 sdhci_writel(host, reg, phy_regs->pad_ctrl); in xenon_emmc_phy_set()
584 reg = sdhci_readl(host, phy_regs->timing_adj); in xenon_emmc_phy_set()
589 sdhci_writel(host, reg, phy_regs->timing_adj); in xenon_emmc_phy_set()
599 reg = sdhci_readl(host, phy_regs->pad_ctrl2); in xenon_emmc_phy_set()
602 sdhci_writel(host, reg, phy_regs->pad_ctrl2); in xenon_emmc_phy_set()
612 reg = sdhci_readl(host, phy_regs->func_ctrl); in xenon_emmc_phy_set()
629 sdhci_writel(host, reg, phy_regs->func_ctrl); in xenon_emmc_phy_set()
638 sdhci_writel(host, phy_regs->logic_timing_val, in xenon_emmc_phy_set()
639 phy_regs->logic_timing_adj); in xenon_emmc_phy_set()