sdhci-pltfm.h (cf40a76e7d5874bb25f4404eecc58a2e033af885) sdhci-pltfm.h (8199d312dad790327cb290e5a856fdbfbc861a96)
1/*
2 * Copyright 2010 MontaVista Software, LLC.
3 *
4 * Author: Anton Vorontsov <avorontsov@ru.mvista.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 76 unchanged lines hidden (view full) ---

85{
86 int base = reg & ~0x3;
87 int shift = (reg & 0x3) * 8;
88
89 clrsetbits_be32(host->ioaddr + base , 0xff << shift, val << shift);
90}
91#endif /* CONFIG_MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER */
92
1/*
2 * Copyright 2010 MontaVista Software, LLC.
3 *
4 * Author: Anton Vorontsov <avorontsov@ru.mvista.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 76 unchanged lines hidden (view full) ---

85{
86 int base = reg & ~0x3;
87 int shift = (reg & 0x3) * 8;
88
89 clrsetbits_be32(host->ioaddr + base , 0xff << shift, val << shift);
90}
91#endif /* CONFIG_MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER */
92
93extern void sdhci_get_of_property(struct platform_device *pdev);
93void sdhci_get_property(struct platform_device *pdev);
94
94
95static inline void sdhci_get_of_property(struct platform_device *pdev)
96{
97 return sdhci_get_property(pdev);
98}
99
95extern struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev,
96 const struct sdhci_pltfm_data *pdata,
97 size_t priv_size);
98extern void sdhci_pltfm_free(struct platform_device *pdev);
99
100extern int sdhci_pltfm_register(struct platform_device *pdev,
101 const struct sdhci_pltfm_data *pdata,
102 size_t priv_size);

--- 14 unchanged lines hidden ---
100extern struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev,
101 const struct sdhci_pltfm_data *pdata,
102 size_t priv_size);
103extern void sdhci_pltfm_free(struct platform_device *pdev);
104
105extern int sdhci_pltfm_register(struct platform_device *pdev,
106 const struct sdhci_pltfm_data *pdata,
107 size_t priv_size);

--- 14 unchanged lines hidden ---