/drivers/mmc/host/ |
D | sdhci.h | 331 struct sdhci_host { struct 533 u32 (*read_l)(struct sdhci_host *host, int reg); argument 534 u16 (*read_w)(struct sdhci_host *host, int reg); 535 u8 (*read_b)(struct sdhci_host *host, int reg); 536 void (*write_l)(struct sdhci_host *host, u32 val, int reg); 537 void (*write_w)(struct sdhci_host *host, u16 val, int reg); 538 void (*write_b)(struct sdhci_host *host, u8 val, int reg); 541 void (*set_clock)(struct sdhci_host *host, unsigned int clock); 542 void (*set_power)(struct sdhci_host *host, unsigned char mode, 545 int (*enable_dma)(struct sdhci_host *host); [all …]
|
D | sdhci-of-esdhc.c | 48 static u32 esdhc_readl_fixup(struct sdhci_host *host, in esdhc_readl_fixup() 87 static u16 esdhc_readw_fixup(struct sdhci_host *host, in esdhc_readw_fixup() 100 static u8 esdhc_readb_fixup(struct sdhci_host *host, in esdhc_readb_fixup() 139 static u32 esdhc_writel_fixup(struct sdhci_host *host, in esdhc_writel_fixup() 157 static u32 esdhc_writew_fixup(struct sdhci_host *host, in esdhc_writew_fixup() 191 static u32 esdhc_writeb_fixup(struct sdhci_host *host, in esdhc_writeb_fixup() 233 static u32 esdhc_be_readl(struct sdhci_host *host, int reg) in esdhc_be_readl() 244 static u32 esdhc_le_readl(struct sdhci_host *host, int reg) in esdhc_le_readl() 255 static u16 esdhc_be_readw(struct sdhci_host *host, int reg) in esdhc_be_readw() 266 static u16 esdhc_le_readw(struct sdhci_host *host, int reg) in esdhc_le_readw() [all …]
|
D | sdhci-pltfm.h | 39 static inline u32 sdhci_be32bs_readl(struct sdhci_host *host, int reg) in sdhci_be32bs_readl() 44 static inline u16 sdhci_be32bs_readw(struct sdhci_host *host, int reg) in sdhci_be32bs_readw() 49 static inline u8 sdhci_be32bs_readb(struct sdhci_host *host, int reg) in sdhci_be32bs_readb() 54 static inline void sdhci_be32bs_writel(struct sdhci_host *host, in sdhci_be32bs_writel() 60 static inline void sdhci_be32bs_writew(struct sdhci_host *host, in sdhci_be32bs_writew() 84 static inline void sdhci_be32bs_writeb(struct sdhci_host *host, u8 val, int reg) in sdhci_be32bs_writeb() 95 extern struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev, 105 extern unsigned int sdhci_pltfm_clk_get_max_clock(struct sdhci_host *host);
|
D | sdhci.c | 46 static void sdhci_finish_data(struct sdhci_host *); 48 static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable); 50 static void sdhci_dumpregs(struct sdhci_host *host) in sdhci_dumpregs() 117 static void sdhci_set_card_detection(struct sdhci_host *host, bool enable) in sdhci_set_card_detection() 139 static void sdhci_enable_card_detection(struct sdhci_host *host) in sdhci_enable_card_detection() 144 static void sdhci_disable_card_detection(struct sdhci_host *host) in sdhci_disable_card_detection() 149 static void sdhci_runtime_pm_bus_on(struct sdhci_host *host) in sdhci_runtime_pm_bus_on() 157 static void sdhci_runtime_pm_bus_off(struct sdhci_host *host) in sdhci_runtime_pm_bus_off() 165 void sdhci_reset(struct sdhci_host *host, u8 mask) in sdhci_reset() 195 static void sdhci_do_reset(struct sdhci_host *host, u8 mask) in sdhci_do_reset() [all …]
|
D | sdhci-pltfm.c | 39 unsigned int sdhci_pltfm_clk_get_max_clock(struct sdhci_host *host) in sdhci_pltfm_clk_get_max_clock() 72 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_get_of_property() 116 struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev, in sdhci_pltfm_init() 120 struct sdhci_host *host; in sdhci_pltfm_init() 170 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_pltfm_free() 180 struct sdhci_host *host; in sdhci_pltfm_register() 199 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_pltfm_unregister() 214 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_pltfm_suspend() 221 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_pltfm_resume()
|
D | sdhci-tegra.c | 70 static u16 tegra_sdhci_readw(struct sdhci_host *host, int reg) in tegra_sdhci_readw() 85 static void tegra_sdhci_writew(struct sdhci_host *host, u16 val, int reg) in tegra_sdhci_writew() 106 static void tegra_sdhci_writel(struct sdhci_host *host, u32 val, int reg) in tegra_sdhci_writel() 133 static unsigned int tegra_sdhci_get_ro(struct sdhci_host *host) in tegra_sdhci_get_ro() 138 static void tegra_sdhci_reset(struct sdhci_host *host, u8 mask) in tegra_sdhci_reset() 190 static void tegra_sdhci_set_bus_width(struct sdhci_host *host, int bus_width) in tegra_sdhci_set_bus_width() 209 static void tegra_sdhci_pad_autocalib(struct sdhci_host *host) in tegra_sdhci_pad_autocalib() 220 static void tegra_sdhci_set_clock(struct sdhci_host *host, unsigned int clock) in tegra_sdhci_set_clock() 241 static void tegra_sdhci_set_uhs_signaling(struct sdhci_host *host, in tegra_sdhci_set_uhs_signaling() 253 static unsigned int tegra_sdhci_get_max_clock(struct sdhci_host *host) in tegra_sdhci_get_max_clock() [all …]
|
D | sdhci-s3c.c | 48 struct sdhci_host *host; 76 static inline struct sdhci_s3c *to_s3c(struct sdhci_host *host) in to_s3c() 87 static unsigned int sdhci_s3c_get_max_clk(struct sdhci_host *host) in sdhci_s3c_get_max_clk() 156 static void sdhci_s3c_set_clock(struct sdhci_host *host, unsigned int clock) in sdhci_s3c_set_clock() 236 static unsigned int sdhci_s3c_get_min_clock(struct sdhci_host *host) in sdhci_s3c_get_min_clock() 254 static unsigned int sdhci_cmu_get_max_clock(struct sdhci_host *host) in sdhci_cmu_get_max_clock() 276 static unsigned int sdhci_cmu_get_min_clock(struct sdhci_host *host) in sdhci_cmu_get_min_clock() 298 static void sdhci_cmu_set_clock(struct sdhci_host *host, unsigned int clock) in sdhci_cmu_set_clock() 358 static void sdhci_s3c_set_bus_width(struct sdhci_host *host, int width) in sdhci_s3c_set_bus_width() 393 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata) in sdhci_s3c_parse_dt() [all …]
|
D | sdhci-esdhc-imx.c | 256 static inline void esdhc_clrset_le(struct sdhci_host *host, u32 mask, u32 val, int reg) in esdhc_clrset_le() 264 static u32 esdhc_readl_le(struct sdhci_host *host, int reg) in esdhc_readl_le() 343 static void esdhc_writel_le(struct sdhci_host *host, u32 val, int reg) in esdhc_writel_le() 394 static u16 esdhc_readw_le(struct sdhci_host *host, int reg) in esdhc_readw_le() 454 static void esdhc_writew_le(struct sdhci_host *host, u16 val, int reg) in esdhc_writew_le() 559 static u8 esdhc_readb_le(struct sdhci_host *host, int reg) in esdhc_readb_le() 578 static void esdhc_writeb_le(struct sdhci_host *host, u8 val, int reg) in esdhc_writeb_le() 640 static unsigned int esdhc_pltfm_get_max_clock(struct sdhci_host *host) in esdhc_pltfm_get_max_clock() 647 static unsigned int esdhc_pltfm_get_min_clock(struct sdhci_host *host) in esdhc_pltfm_get_min_clock() 654 static inline void esdhc_pltfm_set_clock(struct sdhci_host *host, in esdhc_pltfm_set_clock() [all …]
|
D | sdhci-pic32.c | 51 static unsigned int pic32_sdhci_get_max_clock(struct sdhci_host *host) in pic32_sdhci_get_max_clock() 58 static void pic32_sdhci_set_bus_width(struct sdhci_host *host, int width) in pic32_sdhci_set_bus_width() 82 static unsigned int pic32_sdhci_get_ro(struct sdhci_host *host) in pic32_sdhci_get_ro() 108 struct sdhci_host *host = platform_get_drvdata(pdev); in pic32_sdhci_shared_bus() 129 struct sdhci_host *host = platform_get_drvdata(pdev); in pic32_sdhci_probe_platform() 142 struct sdhci_host *host; in pic32_sdhci_probe() 224 struct sdhci_host *host = platform_get_drvdata(pdev); in pic32_sdhci_remove()
|
D | sdhci-of-arasan.c | 88 struct sdhci_host *host; 122 static int sdhci_arasan_syscon_write(struct sdhci_host *host, in sdhci_arasan_syscon_write() 160 static unsigned int sdhci_arasan_get_timeout_clock(struct sdhci_host *host) in sdhci_arasan_get_timeout_clock() 175 static void sdhci_arasan_set_clock(struct sdhci_host *host, unsigned int clock) in sdhci_arasan_set_clock() 238 struct sdhci_host *host = mmc_priv(mmc); in sdhci_arasan_hs400_enhanced_strobe() 249 static void sdhci_arasan_reset(struct sdhci_host *host, u8 mask) in sdhci_arasan_reset() 313 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_arasan_suspend() 348 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_arasan_resume() 413 struct sdhci_host *host = sdhci_arasan->host; in sdhci_arasan_sdcardclk_recalc_rate() 439 static void sdhci_arasan_update_clockmultiplier(struct sdhci_host *host, in sdhci_arasan_update_clockmultiplier() [all …]
|
D | sdhci-of-at91.c | 47 static void sdhci_at91_set_force_card_detect(struct sdhci_host *host) in sdhci_at91_set_force_card_detect() 56 static void sdhci_at91_set_clock(struct sdhci_host *host, unsigned int clock) in sdhci_at91_set_clock() 105 static void sdhci_at91_set_power(struct sdhci_host *host, unsigned char mode, in sdhci_at91_set_power() 118 void sdhci_at91_set_uhs_signaling(struct sdhci_host *host, unsigned int timing) in sdhci_at91_set_uhs_signaling() 125 static void sdhci_at91_reset(struct sdhci_host *host, u8 mask) in sdhci_at91_reset() 153 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_at91_runtime_suspend() 169 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_at91_runtime_resume() 208 struct sdhci_host *host; in sdhci_at91_probe() 377 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_at91_remove()
|
D | sdhci-iproc.c | 40 static inline u32 sdhci_iproc_readl(struct sdhci_host *host, int reg) in sdhci_iproc_readl() 49 static u16 sdhci_iproc_readw(struct sdhci_host *host, int reg) in sdhci_iproc_readw() 56 static u8 sdhci_iproc_readb(struct sdhci_host *host, int reg) in sdhci_iproc_readb() 63 static inline void sdhci_iproc_writel(struct sdhci_host *host, u32 val, int reg) in sdhci_iproc_writel() 98 static void sdhci_iproc_writew(struct sdhci_host *host, u16 val, int reg) in sdhci_iproc_writew() 135 static void sdhci_iproc_writeb(struct sdhci_host *host, u8 val, int reg) in sdhci_iproc_writeb() 207 struct sdhci_host *host; in sdhci_iproc_probe()
|
D | sdhci-sirf.c | 26 static void sdhci_sirf_set_bus_width(struct sdhci_host *host, int width) in sdhci_sirf_set_bus_width() 46 static u32 sdhci_sirf_readl_le(struct sdhci_host *host, int reg) in sdhci_sirf_readl_le() 66 static u16 sdhci_sirf_readw_le(struct sdhci_host *host, int reg) in sdhci_sirf_readw_le() 80 static int sdhci_sirf_execute_tuning(struct sdhci_host *host, u32 opcode) in sdhci_sirf_execute_tuning() 171 struct sdhci_host *host; in sdhci_sirf_probe() 236 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_sirf_suspend() 251 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_sirf_resume()
|
D | sdhci-pxav3.c | 131 struct sdhci_host *host) in armada_38x_quirks() 178 static void pxav3_reset(struct sdhci_host *host, u8 mask) in pxav3_reset() 203 static void pxav3_gen_init_74_clocks(struct sdhci_host *host, u8 power_mode) in pxav3_gen_init_74_clocks() 252 static void pxav3_set_uhs_signaling(struct sdhci_host *host, unsigned int uhs) in pxav3_set_uhs_signaling() 312 static void pxav3_set_power(struct sdhci_host *host, unsigned char mode, in pxav3_set_power() 392 struct sdhci_host *host = NULL; in sdhci_pxav3_probe() 507 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_pxav3_remove() 529 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_pxav3_suspend() 542 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_pxav3_resume() 556 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_pxav3_runtime_suspend() [all …]
|
D | sdhci-bcm-kona.c | 60 static int sdhci_bcm_kona_sd_reset(struct sdhci_host *host) in sdhci_bcm_kona_sd_reset() 96 static void sdhci_bcm_kona_sd_init(struct sdhci_host *host) in sdhci_bcm_kona_sd_init() 125 static int sdhci_bcm_kona_sd_card_emulate(struct sdhci_host *host, int insert) in sdhci_bcm_kona_sd_card_emulate() 164 static void sdhci_bcm_kona_card_event(struct sdhci_host *host) in sdhci_bcm_kona_card_event() 177 static void sdhci_bcm_kona_init_74_clocks(struct sdhci_host *host, in sdhci_bcm_kona_init_74_clocks() 221 struct sdhci_host *host; in sdhci_bcm_kona_probe()
|
D | sdhci-msm.c | 82 static inline int msm_dll_poll_ck_out_en(struct sdhci_host *host, u8 poll) in msm_dll_poll_ck_out_en() 107 static int msm_config_cm_dll_phase(struct sdhci_host *host, u8 phase) in msm_config_cm_dll_phase() 172 static int msm_find_most_appropriate_phase(struct sdhci_host *host, in msm_find_most_appropriate_phase() 274 static inline void msm_cm_dll_set_freq(struct sdhci_host *host) in msm_cm_dll_set_freq() 303 static int msm_init_cm_dll(struct sdhci_host *host) in msm_init_cm_dll() 361 static int sdhci_msm_execute_tuning(struct sdhci_host *host, u32 opcode) in sdhci_msm_execute_tuning() 429 static void sdhci_msm_set_uhs_signaling(struct sdhci_host *host, in sdhci_msm_set_uhs_signaling() 475 static void sdhci_msm_voltage_switch(struct sdhci_host *host) in sdhci_msm_voltage_switch() 501 struct sdhci_host *host = (struct sdhci_host *)data; in sdhci_msm_pwr_irq() 533 struct sdhci_host *host; in sdhci_msm_probe() [all …]
|
D | sdhci-st.c | 151 static void st_mmcss_cconfig(struct device_node *np, struct sdhci_host *host) in st_mmcss_cconfig() 251 static int sdhci_st_set_dll_for_clock(struct sdhci_host *host) in sdhci_st_set_dll_for_clock() 265 static void sdhci_st_set_uhs_signaling(struct sdhci_host *host, in sdhci_st_set_uhs_signaling() 316 static u32 sdhci_st_readl(struct sdhci_host *host, int reg) in sdhci_st_readl() 354 struct sdhci_host *host; in sdhci_st_probe() 446 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_st_remove() 465 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_st_suspend() 484 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_st_resume()
|
D | sdhci-of-hlwd.c | 36 static void sdhci_hlwd_writel(struct sdhci_host *host, u32 val, int reg) in sdhci_hlwd_writel() 42 static void sdhci_hlwd_writew(struct sdhci_host *host, u16 val, int reg) in sdhci_hlwd_writew() 48 static void sdhci_hlwd_writeb(struct sdhci_host *host, u8 val, int reg) in sdhci_hlwd_writeb()
|
D | sdhci_f_sdh30.c | 52 static void sdhci_f_sdh30_soft_voltage_switch(struct sdhci_host *host) in sdhci_f_sdh30_soft_voltage_switch() 80 static unsigned int sdhci_f_sdh30_get_min_clock(struct sdhci_host *host) in sdhci_f_sdh30_get_min_clock() 85 static void sdhci_f_sdh30_reset(struct sdhci_host *host, u8 mask) in sdhci_f_sdh30_reset() 104 struct sdhci_host *host; in sdhci_f_sdh30_probe() 200 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_f_sdh30_remove()
|
D | sdhci-pci.h | 74 struct sdhci_host *host; 85 void (*hw_reset)(struct sdhci_host *host); 86 int (*select_drive_strength)(struct sdhci_host *host,
|
D | sdhci-dove.c | 31 static u16 sdhci_dove_readw(struct sdhci_host *host, int reg) in sdhci_dove_readw() 46 static u32 sdhci_dove_readl(struct sdhci_host *host, int reg) in sdhci_dove_readl() 81 struct sdhci_host *host; in sdhci_dove_probe()
|
D | sdhci-spear.c | 60 struct sdhci_host *host; in sdhci_probe() 145 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_remove() 164 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_suspend() 177 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_resume()
|
D | sdhci-acpi.c | 80 struct sdhci_host *host; 91 static void sdhci_acpi_int_hw_reset(struct sdhci_host *host) in sdhci_acpi_int_hw_reset() 197 struct sdhci_host *host = mmc_priv(mmc); in bxt_get_cd() 220 struct sdhci_host *host; in sdhci_acpi_emmc_probe_slot() 241 struct sdhci_host *host; in sdhci_acpi_sdio_probe_slot() 257 struct sdhci_host *host; in sdhci_acpi_sd_probe_slot() 384 struct sdhci_host *host; in sdhci_acpi_probe()
|
D | sdhci-brcmstb.c | 28 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_brcmstb_suspend() 41 struct sdhci_host *host = dev_get_drvdata(dev); in sdhci_brcmstb_resume() 69 struct sdhci_host *host; in sdhci_brcmstb_probe()
|
D | sdhci-pxav2.c | 54 static void pxav2_reset(struct sdhci_host *host, u8 mask) in pxav2_reset() 93 static void pxav2_mmc_set_bus_width(struct sdhci_host *host, int width) in pxav2_mmc_set_bus_width() 169 struct sdhci_host *host = NULL; in sdhci_pxav2_probe() 239 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_pxav2_remove()
|