• Home
  • Raw
  • Download

Lines Matching refs:mmc

197 	pr_err("%s: Resetting chip\n", mmc_hostname(host->mmc));  in wbsd_reset()
232 mmc_request_done(host->mmc, mrq); in wbsd_request_end()
726 mmc_hostname(host->mmc), count); in wbsd_finish_data()
754 static void wbsd_request(struct mmc_host *mmc, struct mmc_request *mrq) in wbsd_request() argument
756 struct wbsd_host *host = mmc_priv(mmc); in wbsd_request()
808 mmc_hostname(host->mmc), cmd->opcode); in wbsd_request()
851 static void wbsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in wbsd_set_ios() argument
853 struct wbsd_host *host = mmc_priv(mmc); in wbsd_set_ios()
924 static int wbsd_get_ro(struct mmc_host *mmc) in wbsd_get_ro() argument
926 struct wbsd_host *host = mmc_priv(mmc); in wbsd_get_ro()
1033 mmc_hostname(host->mmc)); in wbsd_tasklet_card()
1050 mmc_detect_change(host->mmc, msecs_to_jiffies(delay)); in wbsd_tasklet_card()
1201 struct mmc_host *mmc; in wbsd_alloc_mmc() local
1207 mmc = mmc_alloc_host(sizeof(struct wbsd_host), dev); in wbsd_alloc_mmc()
1208 if (!mmc) in wbsd_alloc_mmc()
1211 host = mmc_priv(mmc); in wbsd_alloc_mmc()
1212 host->mmc = mmc; in wbsd_alloc_mmc()
1219 mmc->ops = &wbsd_ops; in wbsd_alloc_mmc()
1220 mmc->f_min = 375000; in wbsd_alloc_mmc()
1221 mmc->f_max = 24000000; in wbsd_alloc_mmc()
1222 mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34; in wbsd_alloc_mmc()
1223 mmc->caps = MMC_CAP_4_BIT_DATA; in wbsd_alloc_mmc()
1238 mmc->max_segs = 128; in wbsd_alloc_mmc()
1243 mmc->max_req_size = 65536; in wbsd_alloc_mmc()
1249 mmc->max_seg_size = mmc->max_req_size; in wbsd_alloc_mmc()
1255 mmc->max_blk_size = 4087; in wbsd_alloc_mmc()
1261 mmc->max_blk_count = mmc->max_req_size; in wbsd_alloc_mmc()
1263 dev_set_drvdata(dev, mmc); in wbsd_alloc_mmc()
1270 struct mmc_host *mmc; in wbsd_free_mmc() local
1273 mmc = dev_get_drvdata(dev); in wbsd_free_mmc()
1274 if (!mmc) in wbsd_free_mmc()
1277 host = mmc_priv(mmc); in wbsd_free_mmc()
1282 mmc_free_host(mmc); in wbsd_free_mmc()
1397 host->dma_addr = dma_map_single(mmc_dev(host->mmc), host->dma_buffer, in wbsd_request_dma()
1421 dma_unmap_single(mmc_dev(host->mmc), host->dma_addr, in wbsd_request_dma()
1439 dma_unmap_single(mmc_dev(host->mmc), host->dma_addr, in wbsd_release_dma()
1651 struct mmc_host *mmc = NULL; in wbsd_init() local
1658 mmc = dev_get_drvdata(dev); in wbsd_init()
1659 host = mmc_priv(mmc); in wbsd_init()
1721 mmc_add_host(mmc); in wbsd_init()
1723 pr_info("%s: W83L51xD", mmc_hostname(mmc)); in wbsd_init()
1740 struct mmc_host *mmc = dev_get_drvdata(dev); in wbsd_shutdown() local
1743 if (!mmc) in wbsd_shutdown()
1746 host = mmc_priv(mmc); in wbsd_shutdown()
1748 mmc_remove_host(mmc); in wbsd_shutdown()
1821 return mmc_suspend_host(host->mmc); in wbsd_suspend()
1830 return mmc_resume_host(host->mmc); in wbsd_resume()
1836 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_suspend() local
1840 if (mmc == NULL) in wbsd_platform_suspend()
1845 host = mmc_priv(mmc); in wbsd_platform_suspend()
1858 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_resume() local
1861 if (mmc == NULL) in wbsd_platform_resume()
1866 host = mmc_priv(mmc); in wbsd_platform_resume()
1882 struct mmc_host *mmc = dev_get_drvdata(&pnp_dev->dev); in wbsd_pnp_suspend() local
1885 if (mmc == NULL) in wbsd_pnp_suspend()
1890 host = mmc_priv(mmc); in wbsd_pnp_suspend()
1897 struct mmc_host *mmc = dev_get_drvdata(&pnp_dev->dev); in wbsd_pnp_resume() local
1900 if (mmc == NULL) in wbsd_pnp_resume()
1905 host = mmc_priv(mmc); in wbsd_pnp_resume()