Lines Matching refs:mmc_data
38 #define host_to_priv(host) container_of((host)->pdata, struct sh_mobile_sdhi, mmc_data)
87 struct tmio_mmc_data mmc_data; member
203 struct tmio_mmc_data *mmc_data; in sh_mobile_sdhi_probe() local
221 mmc_data = &priv->mmc_data; in sh_mobile_sdhi_probe()
249 *mmc_data = *mmd; in sh_mobile_sdhi_probe()
254 mmc_data->alignment_shift = 1; /* 2-byte alignment */ in sh_mobile_sdhi_probe()
255 mmc_data->capabilities |= MMC_CAP_MMC_HIGHSPEED; in sh_mobile_sdhi_probe()
261 mmc_data->flags |= TMIO_MMC_BLKSZ_2BYTES; in sh_mobile_sdhi_probe()
266 mmc_data->flags |= TMIO_MMC_SDIO_IRQ; in sh_mobile_sdhi_probe()
271 mmc_data->flags |= TMIO_MMC_HAVE_CMD12_CTRL; in sh_mobile_sdhi_probe()
276 mmc_data->flags |= TMIO_MMC_SDIO_STATUS_QUIRK; in sh_mobile_sdhi_probe()
280 mmc_data->flags |= of_data->tmio_flags; in sh_mobile_sdhi_probe()
281 mmc_data->capabilities |= of_data->capabilities; in sh_mobile_sdhi_probe()
282 mmc_data->capabilities2 |= of_data->capabilities2; in sh_mobile_sdhi_probe()
283 mmc_data->dma_rx_offset = of_data->dma_rx_offset; in sh_mobile_sdhi_probe()
287 ret = tmio_mmc_host_probe(host, mmc_data); in sh_mobile_sdhi_probe()