Lines Matching refs:new_val
650 u32 new_val = 0; in esdhc_writew_le() local
654 new_val = readl(host->ioaddr + ESDHC_VENDOR_SPEC); in esdhc_writew_le()
656 new_val |= ESDHC_VENDOR_SPEC_FRC_SDCLK_ON; in esdhc_writew_le()
658 new_val &= ~ESDHC_VENDOR_SPEC_FRC_SDCLK_ON; in esdhc_writew_le()
659 writel(new_val, host->ioaddr + ESDHC_VENDOR_SPEC); in esdhc_writew_le()
660 if (!(new_val & ESDHC_VENDOR_SPEC_FRC_SDCLK_ON)) in esdhc_writew_le()
664 new_val = readl(host->ioaddr + ESDHC_VENDOR_SPEC); in esdhc_writew_le()
666 new_val |= ESDHC_VENDOR_SPEC_VSELECT; in esdhc_writew_le()
668 new_val &= ~ESDHC_VENDOR_SPEC_VSELECT; in esdhc_writew_le()
669 writel(new_val, host->ioaddr + ESDHC_VENDOR_SPEC); in esdhc_writew_le()
797 u32 new_val = 0; in esdhc_writeb_le() local
809 new_val = val & SDHCI_CTRL_LED; in esdhc_writeb_le()
811 new_val |= ESDHC_HOST_CONTROL_LE; in esdhc_writeb_le()
815 new_val |= (val & SDHCI_CTRL_DMA_MASK) << 5; in esdhc_writeb_le()
826 esdhc_clrset_le(host, mask, new_val, reg); in esdhc_writeb_le()
830 new_val = readl(host->ioaddr + SDHCI_HOST_CONTROL); in esdhc_writeb_le()
855 new_val = readl(host->ioaddr + ESDHC_MIX_CTRL); in esdhc_writeb_le()
856 writel(new_val & ESDHC_MIX_CTRL_TUNING_MASK, in esdhc_writeb_le()
866 esdhc_clrset_le(host, 0xff, new_val, in esdhc_writeb_le()