Lines Matching defs:atmel_mci
224 * struct atmel_mci - MMC controller state shared between all slots
306 struct atmel_mci {
351 u32 (*prepare_data)(struct atmel_mci *host, struct mmc_data *data);
352 void (*submit_data)(struct atmel_mci *host, struct mmc_data *data);
353 void (*stop_transfer)(struct atmel_mci *host);
365 * &struct atmel_mci.
377 struct atmel_mci *host;
499 struct atmel_mci *host = s->private;
580 struct atmel_mci *host = slot->host;
662 static inline unsigned int atmci_get_version(struct atmel_mci *host)
675 static inline unsigned int atmci_convert_chksize(struct atmel_mci *host,
692 struct atmel_mci *host;
718 static inline unsigned int atmci_ns_to_clocks(struct atmel_mci *host,
731 static void atmci_set_timeout(struct atmel_mci *host,
811 static void atmci_send_command(struct atmel_mci *host,
830 static void atmci_send_stop_cmd(struct atmel_mci *host, struct mmc_data *data)
841 static void atmci_pdc_set_single_buf(struct atmel_mci *host,
892 static void atmci_pdc_set_both_buf(struct atmel_mci *host, int dir)
902 static void atmci_pdc_cleanup(struct atmel_mci *host)
917 static void atmci_pdc_complete(struct atmel_mci *host)
940 static void atmci_dma_cleanup(struct atmel_mci *host)
955 struct atmel_mci *host = arg;
1004 static u32 atmci_prepare_data(struct atmel_mci *host, struct mmc_data *data)
1044 atmci_prepare_data_pdc(struct atmel_mci *host, struct mmc_data *data)
1090 atmci_prepare_data_dma(struct atmel_mci *host, struct mmc_data *data)
1168 atmci_submit_data(struct atmel_mci *host, struct mmc_data *data)
1177 atmci_submit_data_pdc(struct atmel_mci *host, struct mmc_data *data)
1186 atmci_submit_data_dma(struct atmel_mci *host, struct mmc_data *data)
1197 static void atmci_stop_transfer(struct atmel_mci *host)
1208 static void atmci_stop_transfer_pdc(struct atmel_mci *host)
1213 static void atmci_stop_transfer_dma(struct atmel_mci *host)
1233 static void atmci_start_request(struct atmel_mci *host,
1327 static void atmci_queue_request(struct atmel_mci *host,
1348 struct atmel_mci *host = slot->host;
1381 struct atmel_mci *host = slot->host;
1540 struct atmel_mci *host = slot->host;
1557 static void atmci_request_end(struct atmel_mci *host, struct mmc_request *mrq)
1599 static void atmci_command_complete(struct atmel_mci *host,
1650 struct atmel_mci *host = slot->host;
1724 struct atmel_mci *host = (struct atmel_mci *)priv;
1926 static void atmci_read_data_pio(struct atmel_mci *host)
1993 static void atmci_write_data_pio(struct atmel_mci *host)
2061 static void atmci_sdio_interrupt(struct atmel_mci *host, u32 status)
2076 struct atmel_mci *host = dev_id;
2217 static int atmci_init_slot(struct atmel_mci *host,
2354 static int atmci_configure_dma(struct atmel_mci *host)
2396 static void atmci_get_cap(struct atmel_mci *host)
2452 struct atmel_mci *host;
2606 struct atmel_mci *host = platform_get_drvdata(pdev);
2641 struct atmel_mci *host = dev_get_drvdata(dev);
2652 struct atmel_mci *host = dev_get_drvdata(dev);
2670 .name = "atmel_mci",