Lines Matching refs:tmio_mmc_host
114 struct tmio_mmc_host;
117 void (*start)(struct tmio_mmc_host *host, struct mmc_data *data);
118 void (*enable)(struct tmio_mmc_host *host, bool enable);
119 void (*request)(struct tmio_mmc_host *host,
121 void (*release)(struct tmio_mmc_host *host);
122 void (*abort)(struct tmio_mmc_host *host);
123 void (*dataend)(struct tmio_mmc_host *host);
126 void (*end)(struct tmio_mmc_host *host); /* held host->lock */
129 struct tmio_mmc_host { struct
176 int (*clk_enable)(struct tmio_mmc_host *host); argument
177 void (*set_clock)(struct tmio_mmc_host *host, unsigned int clock); argument
180 void (*clk_disable)(struct tmio_mmc_host *host); argument
183 int (*write16_hook)(struct tmio_mmc_host *host, int addr); argument
184 void (*reset)(struct tmio_mmc_host *host); argument
185 bool (*check_retune)(struct tmio_mmc_host *host, struct mmc_request *mrq); argument
186 void (*fixup_request)(struct tmio_mmc_host *host, struct mmc_request *mrq); argument
187 unsigned int (*get_timeout_cycles)(struct tmio_mmc_host *host); argument
189 void (*prepare_hs400_tuning)(struct tmio_mmc_host *host); argument
190 void (*hs400_downgrade)(struct tmio_mmc_host *host); argument
191 void (*hs400_complete)(struct tmio_mmc_host *host); argument
196 struct tmio_mmc_host *tmio_mmc_host_alloc(struct platform_device *pdev, argument
198 void tmio_mmc_host_free(struct tmio_mmc_host *host);
199 int tmio_mmc_host_probe(struct tmio_mmc_host *host);
200 void tmio_mmc_host_remove(struct tmio_mmc_host *host);
201 void tmio_mmc_do_data_irq(struct tmio_mmc_host *host);
203 void tmio_mmc_enable_mmc_irqs(struct tmio_mmc_host *host, u32 i);
204 void tmio_mmc_disable_mmc_irqs(struct tmio_mmc_host *host, u32 i);
226 static inline u16 sd_ctrl_read16(struct tmio_mmc_host *host, int addr) in sd_ctrl_read16()
231 static inline void sd_ctrl_read16_rep(struct tmio_mmc_host *host, int addr, in sd_ctrl_read16_rep()
237 static inline u32 sd_ctrl_read16_and_16_as_32(struct tmio_mmc_host *host, in sd_ctrl_read16_and_16_as_32()
244 static inline void sd_ctrl_read32_rep(struct tmio_mmc_host *host, int addr, in sd_ctrl_read32_rep()
250 static inline void sd_ctrl_write16(struct tmio_mmc_host *host, int addr, in sd_ctrl_write16()
261 static inline void sd_ctrl_write16_rep(struct tmio_mmc_host *host, int addr, in sd_ctrl_write16_rep()
267 static inline void sd_ctrl_write32_as_16_and_16(struct tmio_mmc_host *host, in sd_ctrl_write32_as_16_and_16()
277 static inline void sd_ctrl_write32(struct tmio_mmc_host *host, int addr, u32 val) in sd_ctrl_write32()
282 static inline void sd_ctrl_write32_rep(struct tmio_mmc_host *host, int addr, in sd_ctrl_write32_rep()