Lines Matching defs:atmel_mci
258 * struct atmel_mci - MMC controller state shared between all slots
340 struct atmel_mci {
385 u32 (*prepare_data)(struct atmel_mci *host, struct mmc_data *data);
386 void (*submit_data)(struct atmel_mci *host, struct mmc_data *data);
387 void (*stop_transfer)(struct atmel_mci *host);
399 * &struct atmel_mci.
410 struct atmel_mci *host;
531 struct atmel_mci *host = s->private;
612 struct atmel_mci *host = slot->host;
706 static inline unsigned int atmci_get_version(struct atmel_mci *host)
719 static inline unsigned int atmci_convert_chksize(struct atmel_mci *host,
736 struct atmel_mci *host;
762 static inline unsigned int atmci_ns_to_clocks(struct atmel_mci *host,
775 static void atmci_set_timeout(struct atmel_mci *host,
855 static void atmci_send_command(struct atmel_mci *host,
874 static void atmci_send_stop_cmd(struct atmel_mci *host, struct mmc_data *data)
885 static void atmci_pdc_set_single_buf(struct atmel_mci *host,
936 static void atmci_pdc_set_both_buf(struct atmel_mci *host, int dir)
946 static void atmci_pdc_cleanup(struct atmel_mci *host)
961 static void atmci_pdc_complete(struct atmel_mci *host)
984 static void atmci_dma_cleanup(struct atmel_mci *host)
999 struct atmel_mci *host = arg;
1048 static u32 atmci_prepare_data(struct atmel_mci *host, struct mmc_data *data)
1088 atmci_prepare_data_pdc(struct atmel_mci *host, struct mmc_data *data)
1134 atmci_prepare_data_dma(struct atmel_mci *host, struct mmc_data *data)
1211 atmci_submit_data(struct atmel_mci *host, struct mmc_data *data)
1220 atmci_submit_data_pdc(struct atmel_mci *host, struct mmc_data *data)
1229 atmci_submit_data_dma(struct atmel_mci *host, struct mmc_data *data)
1240 static void atmci_stop_transfer(struct atmel_mci *host)
1251 static void atmci_stop_transfer_pdc(struct atmel_mci *host)
1256 static void atmci_stop_transfer_dma(struct atmel_mci *host)
1276 static void atmci_start_request(struct atmel_mci *host,
1370 static void atmci_queue_request(struct atmel_mci *host,
1391 struct atmel_mci *host = slot->host;
1424 struct atmel_mci *host = slot->host;
1582 struct atmel_mci *host = slot->host;
1599 static void atmci_request_end(struct atmel_mci *host, struct mmc_request *mrq)
1641 static void atmci_command_complete(struct atmel_mci *host,
1691 struct atmel_mci *host = slot->host;
1765 struct atmel_mci *host = from_tasklet(host, t, tasklet);
1967 static void atmci_read_data_pio(struct atmel_mci *host)
2034 static void atmci_write_data_pio(struct atmel_mci *host)
2102 static void atmci_sdio_interrupt(struct atmel_mci *host, u32 status)
2117 struct atmel_mci *host = dev_id;
2258 static int atmci_init_slot(struct atmel_mci *host,
2383 static int atmci_configure_dma(struct atmel_mci *host)
2425 static void atmci_get_cap(struct atmel_mci *host)
2481 struct atmel_mci *host;
2635 struct atmel_mci *host = platform_get_drvdata(pdev);
2668 struct atmel_mci *host = dev_get_drvdata(dev);
2679 struct atmel_mci *host = dev_get_drvdata(dev);
2697 .name = "atmel_mci",