• Home
  • Raw
  • Download

Lines Matching refs:mmc

95 	struct mmc_host *mmc;  member
190 mmc_signal_sdio_irq(ushc->mmc); in int_callback()
194 mmc_detect_change(ushc->mmc, msecs_to_jiffies(100)); in int_callback()
249 mmc_request_done(ushc->mmc, req); in csw_callback()
252 static void ushc_request(struct mmc_host *mmc, struct mmc_request *req) in ushc_request() argument
254 struct ushc_data *ushc = mmc_priv(mmc); in ushc_request()
321 mmc_request_done(mmc, req); in ushc_request()
375 static void ushc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in ushc_set_ios() argument
377 struct ushc_data *ushc = mmc_priv(mmc); in ushc_set_ios()
384 static int ushc_get_cd(struct mmc_host *mmc) in ushc_get_cd() argument
386 struct ushc_data *ushc = mmc_priv(mmc); in ushc_get_cd()
391 static void ushc_enable_sdio_irq(struct mmc_host *mmc, int enable) in ushc_enable_sdio_irq() argument
393 struct ushc_data *ushc = mmc_priv(mmc); in ushc_enable_sdio_irq()
412 mmc_free_host(ushc->mmc); in ushc_clean_up()
425 struct mmc_host *mmc; in ushc_probe() local
429 mmc = mmc_alloc_host(sizeof(struct ushc_data), &intf->dev); in ushc_probe()
430 if (mmc == NULL) in ushc_probe()
432 ushc = mmc_priv(mmc); in ushc_probe()
436 ushc->mmc = mmc; in ushc_probe()
449 mmc->ops = &ushc_ops; in ushc_probe()
451 mmc->f_min = 400000; in ushc_probe()
452 mmc->f_max = 50000000; in ushc_probe()
453 mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34; in ushc_probe()
454 mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ; in ushc_probe()
455 mmc->caps |= (ushc->caps & USHC_GET_CAPS_HIGH_SPD) ? MMC_CAP_SD_HIGHSPEED : 0; in ushc_probe()
457 mmc->max_seg_size = 512*511; in ushc_probe()
458 mmc->max_segs = 1; in ushc_probe()
459 mmc->max_req_size = 512*511; in ushc_probe()
460 mmc->max_blk_size = 512; in ushc_probe()
461 mmc->max_blk_count = 511; in ushc_probe()
516 ret = mmc_add_host(ushc->mmc); in ushc_probe()
522 mmc_remove_host(ushc->mmc); in ushc_probe()
546 mmc_remove_host(ushc->mmc); in ushc_disconnect()