Lines Matching refs:tmio_mmc_host
118 struct tmio_mmc_host;
121 void (*start)(struct tmio_mmc_host *host, struct mmc_data *data);
122 void (*enable)(struct tmio_mmc_host *host, bool enable);
123 void (*request)(struct tmio_mmc_host *host,
125 void (*release)(struct tmio_mmc_host *host);
126 void (*abort)(struct tmio_mmc_host *host);
127 void (*dataend)(struct tmio_mmc_host *host);
130 void (*end)(struct tmio_mmc_host *host); /* held host->lock */
131 bool (*dma_irq)(struct tmio_mmc_host *host);
134 struct tmio_mmc_host { struct
181 int (*clk_enable)(struct tmio_mmc_host *host); argument
182 void (*set_clock)(struct tmio_mmc_host *host, unsigned int clock); argument
185 void (*clk_disable)(struct tmio_mmc_host *host); argument
188 int (*write16_hook)(struct tmio_mmc_host *host, int addr); argument
189 void (*reset)(struct tmio_mmc_host *host, bool preserve); argument
190 bool (*check_retune)(struct tmio_mmc_host *host, struct mmc_request *mrq); argument
191 void (*fixup_request)(struct tmio_mmc_host *host, struct mmc_request *mrq); argument
192 unsigned int (*get_timeout_cycles)(struct tmio_mmc_host *host); argument
197 struct tmio_mmc_host *tmio_mmc_host_alloc(struct platform_device *pdev, argument
199 void tmio_mmc_host_free(struct tmio_mmc_host *host);
200 int tmio_mmc_host_probe(struct tmio_mmc_host *host);
201 void tmio_mmc_host_remove(struct tmio_mmc_host *host);
202 void tmio_mmc_do_data_irq(struct tmio_mmc_host *host);
204 void tmio_mmc_enable_mmc_irqs(struct tmio_mmc_host *host, u32 i);
205 void tmio_mmc_disable_mmc_irqs(struct tmio_mmc_host *host, u32 i);
213 static inline u16 sd_ctrl_read16(struct tmio_mmc_host *host, int addr) in sd_ctrl_read16()
218 static inline void sd_ctrl_read16_rep(struct tmio_mmc_host *host, int addr, in sd_ctrl_read16_rep()
224 static inline u32 sd_ctrl_read16_and_16_as_32(struct tmio_mmc_host *host, in sd_ctrl_read16_and_16_as_32()
231 static inline void sd_ctrl_read32_rep(struct tmio_mmc_host *host, int addr, in sd_ctrl_read32_rep()
237 static inline void sd_ctrl_write16(struct tmio_mmc_host *host, int addr, in sd_ctrl_write16()
248 static inline void sd_ctrl_write16_rep(struct tmio_mmc_host *host, int addr, in sd_ctrl_write16_rep()
254 static inline void sd_ctrl_write32_as_16_and_16(struct tmio_mmc_host *host, in sd_ctrl_write32_as_16_and_16()
264 static inline void sd_ctrl_write32(struct tmio_mmc_host *host, int addr, u32 val) in sd_ctrl_write32()
269 static inline void sd_ctrl_write32_rep(struct tmio_mmc_host *host, int addr, in sd_ctrl_write32_rep()