Home
last modified time | relevance | path

Searched refs:sdhci_host (Results 1 – 16 of 16) sorted by relevance

/external/u-boot/include/
Dsdhci.h231 struct sdhci_host;
240 u32 (*read_l)(struct sdhci_host *host, int reg);
241 u16 (*read_w)(struct sdhci_host *host, int reg);
242 u8 (*read_b)(struct sdhci_host *host, int reg);
243 void (*write_l)(struct sdhci_host *host, u32 val, int reg);
244 void (*write_w)(struct sdhci_host *host, u16 val, int reg);
245 void (*write_b)(struct sdhci_host *host, u8 val, int reg);
247 int (*get_cd)(struct sdhci_host *host);
248 void (*set_control_reg)(struct sdhci_host *host);
249 void (*set_ios_post)(struct sdhci_host *host);
[all …]
/external/u-boot/drivers/mmc/
Ds5p_sdhci.c29 static void s5p_sdhci_set_control_reg(struct sdhci_host *host) in s5p_sdhci_set_control_reg()
75 static void s5p_set_clock(struct sdhci_host *host, u32 div) in s5p_set_clock()
86 static int s5p_sdhci_core_init(struct sdhci_host *host) in s5p_sdhci_core_init()
109 struct sdhci_host *host = calloc(1, sizeof(struct sdhci_host)); in s5p_sdhci_init()
122 struct sdhci_host sdhci_host[SDHCI_MAX_HOSTS]; variable
124 static int do_sdhci_init(struct sdhci_host *host) in do_sdhci_init()
157 static int sdhci_get_config(const void *blob, int node, struct sdhci_host *host) in sdhci_get_config()
196 struct sdhci_host *host; in process_nodes()
208 host = &sdhci_host[i]; in process_nodes()
246 struct sdhci_host *host = dev_get_priv(dev); in s5p_sdhci_probe()
[all …]
Dbcm2835_sdhci.c59 struct sdhci_host host;
64 static inline struct bcm2835_sdhci_host *to_bcm(struct sdhci_host *host) in to_bcm()
69 static inline void bcm2835_sdhci_raw_writel(struct sdhci_host *host, u32 val, in bcm2835_sdhci_raw_writel()
92 static inline u32 bcm2835_sdhci_raw_readl(struct sdhci_host *host, int reg) in bcm2835_sdhci_raw_readl()
97 static void bcm2835_sdhci_writel(struct sdhci_host *host, u32 val, int reg) in bcm2835_sdhci_writel()
102 static void bcm2835_sdhci_writew(struct sdhci_host *host, u16 val, int reg) in bcm2835_sdhci_writew()
118 static void bcm2835_sdhci_writeb(struct sdhci_host *host, u8 val, int reg) in bcm2835_sdhci_writeb()
129 static u32 bcm2835_sdhci_readl(struct sdhci_host *host, int reg) in bcm2835_sdhci_readl()
136 static u16 bcm2835_sdhci_readw(struct sdhci_host *host, int reg) in bcm2835_sdhci_readw()
146 static u8 bcm2835_sdhci_readb(struct sdhci_host *host, int reg) in bcm2835_sdhci_readb()
[all …]
Dxenon_sdhci.c121 struct sdhci_host host;
131 static int xenon_mmc_phy_init(struct sdhci_host *host) in xenon_mmc_phy_init()
199 static void armada_3700_soc_pad_voltage_set(struct sdhci_host *host) in armada_3700_soc_pad_voltage_set()
209 static void xenon_mmc_phy_set(struct sdhci_host *host) in xenon_mmc_phy_set()
268 static void xenon_mmc_set_acg(struct sdhci_host *host, bool enable) in xenon_mmc_set_acg()
284 static void xenon_mmc_enable_slot(struct sdhci_host *host, u8 slot) in xenon_mmc_enable_slot()
294 static void xenon_mmc_enable_parallel_tran(struct sdhci_host *host, u8 slot) in xenon_mmc_enable_parallel_tran()
303 static void xenon_mmc_disable_tuning(struct sdhci_host *host, u8 slot) in xenon_mmc_disable_tuning()
319 static void xenon_mask_cmd_conflict_err(struct sdhci_host *host) in xenon_mask_cmd_conflict_err()
329 static void xenon_sdhci_set_ios_post(struct sdhci_host *host) in xenon_sdhci_set_ios_post()
[all …]
Datmel_sdhci.c20 struct sdhci_host *host; in atmel_sdhci_init()
23 host = (struct sdhci_host *)calloc(1, sizeof(struct sdhci_host)); in atmel_sdhci_init()
58 struct sdhci_host *host = dev_get_priv(dev); in atmel_sdhci_probe()
125 .priv_auto_alloc_size = sizeof(struct sdhci_host),
Dzynq_sdhci.c27 struct sdhci_host *host;
59 static void arasan_zynqmp_dll_reset(struct sdhci_host *host, u8 deviceid) in arasan_zynqmp_dll_reset()
93 struct sdhci_host *host; in arasan_sdhci_execute_tuning()
166 static void arasan_sdhci_set_tapdelay(struct sdhci_host *host) in arasan_sdhci_set_tapdelay()
179 static void arasan_sdhci_set_control_reg(struct sdhci_host *host) in arasan_sdhci_set_control_reg()
234 struct sdhci_host *host; in arasan_sdhci_probe()
290 priv->host = calloc(1, sizeof(struct sdhci_host)); in arasan_sdhci_ofdata_to_platdata()
Dkona_sdhci.c22 static int init_kona_mmc_core(struct sdhci_host *host) in init_kona_mmc_core()
82 struct sdhci_host *host = NULL; in kona_sdhci_init()
84 host = (struct sdhci_host *)malloc(sizeof(struct sdhci_host)); in kona_sdhci_init()
Dsdhci.c22 static void sdhci_reset(struct sdhci_host *host, u8 mask) in sdhci_reset()
40 static void sdhci_cmd_done(struct sdhci_host *host, struct mmc_cmd *cmd) in sdhci_cmd_done()
57 static void sdhci_transfer_pio(struct sdhci_host *host, struct mmc_data *data) in sdhci_transfer_pio()
70 static int sdhci_transfer_data(struct sdhci_host *host, struct mmc_data *data, in sdhci_transfer_data()
147 struct sdhci_host *host = mmc->priv;
316 struct sdhci_host *host = mmc->priv;
331 struct sdhci_host *host = mmc->priv;
423 static void sdhci_set_power(struct sdhci_host *host, unsigned short power)
462 struct sdhci_host *host = mmc->priv;
510 struct sdhci_host *host = mmc->priv;
[all …]
Dsti_sdhci.c38 struct sdhci_host *host = dev_get_priv(dev); in sti_mmc_core_config()
74 struct sdhci_host *host = dev_get_priv(dev); in sti_sdhci_probe()
115 struct sdhci_host *host = dev_get_priv(dev); in sti_sdhci_ofdata_to_platdata()
146 .priv_auto_alloc_size = sizeof(struct sdhci_host),
Dpic32_sdhci.c17 static int pic32_sdhci_get_cd(struct sdhci_host *host) in pic32_sdhci_get_cd()
33 struct sdhci_host *host = dev_get_priv(dev); in pic32_sdhci_probe()
78 .priv_auto_alloc_size = sizeof(struct sdhci_host),
Drockchip_sdhci.c29 struct sdhci_host host;
38 struct sdhci_host *host = &prv->host; in arasan_sdhci_probe()
86 struct sdhci_host *host = dev_get_priv(dev); in arasan_sdhci_ofdata_to_platdata()
Dmsm_sdhci.c44 struct sdhci_host host;
91 struct sdhci_host *host = &prv->host; in msm_sdc_probe()
169 struct sdhci_host *host = &priv->host; in msm_ofdata_to_platdata()
Dpci_mmc.c21 struct sdhci_host host;
30 struct sdhci_host *host = &priv->host; in pci_mmc_probe()
Dtangier_sdhci.c34 struct sdhci_host *host = dev_get_priv(dev); in sdhci_tangier_probe()
78 .priv_auto_alloc_size = sizeof(struct sdhci_host),
Dmv_sdhci.c46 static inline void mv_sdhci_writeb(struct sdhci_host *host, u8 val, int reg) in mv_sdhci_writeb()
69 struct sdhci_host *host = NULL; in mv_sdh_init()
Dsdhci-cadence.c132 static void sdhci_cdns_set_control_reg(struct sdhci_host *host) in sdhci_cdns_set_control_reg()
243 struct sdhci_host *host = dev_get_priv(dev); in sdhci_cdns_probe()
295 .priv_auto_alloc_size = sizeof(struct sdhci_host),