Lines Matching refs:spec_reg
49 int spec_reg, u32 value) in esdhc_readl_fixup() argument
63 if ((spec_reg == SDHCI_CAPABILITIES) && (value & SDHCI_CAN_DO_ADMA1)) { in esdhc_readl_fixup()
74 int spec_reg, u32 value) in esdhc_readw_fixup() argument
77 int shift = (spec_reg & 0x2) * 8; in esdhc_readw_fixup()
79 if (spec_reg == SDHCI_HOST_VERSION) in esdhc_readw_fixup()
87 int spec_reg, u32 value) in esdhc_readb_fixup() argument
91 int shift = (spec_reg & 0x3) * 8; in esdhc_readb_fixup()
99 if (spec_reg == SDHCI_HOST_CONTROL) { in esdhc_readb_fixup()
126 int spec_reg, u32 value, u32 old_value) in esdhc_writel_fixup() argument
135 if (spec_reg == SDHCI_INT_ENABLE) in esdhc_writel_fixup()
144 int spec_reg, u16 value, u32 old_value) in esdhc_writew_fixup() argument
147 int shift = (spec_reg & 0x2) * 8; in esdhc_writew_fixup()
150 switch (spec_reg) { in esdhc_writew_fixup()
166 if (spec_reg == SDHCI_BLOCK_SIZE) { in esdhc_writew_fixup()
178 int spec_reg, u8 value, u32 old_value) in esdhc_writeb_fixup() argument
183 int shift = (spec_reg & 0x3) * 8; in esdhc_writeb_fixup()
189 if (spec_reg == SDHCI_POWER_CONTROL) in esdhc_writeb_fixup()
195 if (spec_reg == SDHCI_HOST_CONTROL) { in esdhc_writeb_fixup()