Home
last modified time | relevance | path

Searched refs:mmc_dev (Results 1 – 25 of 28) sorted by relevance

12

/linux-3.4.99/drivers/mmc/host/
Dimxmmc.c123 dev_dbg(mmc_dev(host->mmc), "imxmci_stop_clock blocked, no luck\n"); in imxmci_stop_clock()
178 dev_err(mmc_dev(host->mmc), "imxmci_start_clock blocked, no luck\n"); in imxmci_start_clock()
208 dev_dbg(mmc_dev(host->mmc), "busy wait timeout in %s, STATUS = 0x%x (0x%x)\n", in imxmci_busy_wait_for_status()
220 dev_info(mmc_dev(host->mmc), "busy wait for %d usec in %s, STATUS = 0x%x (0x%x)\n", in imxmci_busy_wait_for_status()
273 host->dma_nents = dma_map_sg(mmc_dev(host->mmc), data->sg, in imxmci_setup_data()
285 host->dma_nents = dma_map_sg(mmc_dev(host->mmc), data->sg, in imxmci_setup_data()
302 dev_err(mmc_dev(host->mmc), "imxmci_setup_data datasz 0x%x > 0x%x dm_size\n", in imxmci_setup_data()
379 dev_dbg(mmc_dev(host->mmc), "CMD%02d (0x%02x) mask set to 0x%04x\n", in imxmci_start_cmd()
415 dma_unmap_sg(mmc_dev(host->mmc), data->sg, host->dma_nents, in imxmci_finish_data()
420 dev_dbg(mmc_dev(host->mmc), "request failed. status: 0x%08x\n", stat); in imxmci_finish_data()
[all …]
Dmmci.c206 pm_runtime_mark_last_busy(mmc_dev(host->mmc)); in mmci_request_end()
207 pm_runtime_put_autosuspend(mmc_dev(host->mmc)); in mmci_request_end()
258 dev_info(mmc_dev(host->mmc), "no DMA platform data\n"); in mmci_dma_setup()
280 dev_err(mmc_dev(host->mmc), "no RX DMA channel\n"); in mmci_dma_setup()
288 dev_warn(mmc_dev(host->mmc), "no TX DMA channel\n"); in mmci_dma_setup()
303 dev_info(mmc_dev(host->mmc), "DMA channels RX %s, TX %s\n", in mmci_dma_setup()
382 dev_err(mmc_dev(host->mmc), "buggy DMA detected. Taking evasive action.\n"); in mmci_dma_unmap()
389 dev_err(mmc_dev(host->mmc), "error during DMA transfer!\n"); in mmci_dma_data_error()
478 dev_vdbg(mmc_dev(host->mmc), in mmci_dma_start_data()
570 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in mmci_post_request()
[all …]
Ddavinci_mmc.c293 dev_dbg(mmc_dev(host->mmc), "CMD%d, arg 0x%08x%s\n", in mmc_davinci_start_command()
334 dev_dbg(mmc_dev(host->mmc), "unknown resp_type %04x\n", in mmc_davinci_start_command()
436 dev_warn(mmc_dev(host->mmc), "DMA %s error\n", in mmc_davinci_dma_cb()
568 host->sg_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in mmc_davinci_start_dma_transfer()
576 dma_unmap_sg(mmc_dev(host->mmc), in mmc_davinci_start_dma_transfer()
615 dev_warn(mmc_dev(host->mmc), "alloc %s channel err %d\n", in davinci_acquire_dma_channels()
625 dev_warn(mmc_dev(host->mmc), "alloc %s channel err %d\n", in davinci_acquire_dma_channels()
638 dev_dbg(mmc_dev(host->mmc), "dma PaRAM alloc --> %d\n", in davinci_acquire_dma_channels()
674 dev_dbg(mmc_dev(host->mmc), "%s %s, %d blocks of %d bytes\n", in mmc_davinci_prepare_data()
678 dev_dbg(mmc_dev(host->mmc), " DTO %d cycles + %d ns\n", in mmc_davinci_prepare_data()
[all …]
Dbfin_sdh.c121 dev_dbg(mmc_dev(host->mmc), "%s enter flags: 0x%x\n", __func__, data->flags); in sdh_setup_data()
154 host->dma_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, host->dma_dir); in sdh_setup_data()
165 dev_dbg(mmc_dev(host->mmc), "%d: start_addr:0x%lx, " in sdh_setup_data()
195 dev_dbg(mmc_dev(host->mmc), "%s exit\n", __func__); in sdh_setup_data()
204 dev_dbg(mmc_dev(host->mmc), "%s enter cmd: 0x%p\n", __func__, cmd); in sdh_start_cmd()
235 dev_dbg(mmc_dev(host->mmc), "%s enter\n", __func__); in sdh_finish_request()
247 dev_dbg(mmc_dev(host->mmc), "%s enter cmd: %p\n", __func__, cmd); in sdh_cmd_done()
286 dev_dbg(mmc_dev(host->mmc), "%s enter stat: 0x%x\n", __func__, stat); in sdh_data_done()
291 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sdh_data_done()
328 dev_dbg(mmc_dev(host->mmc), "%s enter, mrp:%p, cmd:%p\n", __func__, mrq, mrq->cmd); in sdh_request()
[all …]
Dmxcmmc.c158 host->vcc = regulator_get(mmc_dev(host->mmc), "vmmc"); in mxcmci_init_ocr()
165 dev_warn(mmc_dev(host->mmc), in mxcmci_init_ocr()
190 host->pdata->setpower(mmc_dev(host->mmc), vdd); in mxcmci_set_power()
202 dev_dbg(mmc_dev(host->mmc), "mxcmci_softreset\n"); in mxcmci_softreset()
299 dev_err(mmc_dev(host->mmc), "unhandled response type 0x%x\n", in mxcmci_start_cmd()
354 dev_dbg(mmc_dev(host->mmc), "request failed. status: 0x%08x\n", in mxcmci_finish_data()
357 dev_err(mmc_dev(host->mmc), "%s: -EILSEQ\n", __func__); in mxcmci_finish_data()
362 dev_err(mmc_dev(host->mmc), in mxcmci_finish_data()
366 dev_err(mmc_dev(host->mmc), in mxcmci_finish_data()
371 dev_err(mmc_dev(host->mmc), in mxcmci_finish_data()
[all …]
Dsdhci-tegra.c248 dev_err(mmc_dev(host->mmc), "missing platform data\n"); in sdhci_tegra_probe()
255 dev_err(mmc_dev(host->mmc), "failed to allocate tegra_host\n"); in sdhci_tegra_probe()
268 dev_err(mmc_dev(host->mmc), in sdhci_tegra_probe()
279 dev_err(mmc_dev(host->mmc), in sdhci_tegra_probe()
291 dev_err(mmc_dev(host->mmc), "request irq error\n"); in sdhci_tegra_probe()
300 dev_err(mmc_dev(host->mmc), in sdhci_tegra_probe()
308 clk = clk_get(mmc_dev(host->mmc), NULL); in sdhci_tegra_probe()
310 dev_err(mmc_dev(host->mmc), "clk err\n"); in sdhci_tegra_probe()
Dmxs-mmc.c170 mmc_dev(host->mmc)->platform_data; in mxs_mmc_get_ro()
241 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_request_done()
317 dma_map_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_prep_dma()
334 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_prep_dma()
370 dev_warn(mmc_dev(host->mmc), in mxs_mmc_bc()
411 dev_warn(mmc_dev(host->mmc), in mxs_mmc_ac()
539 dev_warn(mmc_dev(host->mmc), in mxs_mmc_adtc()
562 dev_warn(mmc_dev(host->mmc), in mxs_mmc_start_cmd()
593 dev_err(mmc_dev(host->mmc), in mxs_mmc_set_clk_rate()
608 dev_dbg(mmc_dev(host->mmc), in mxs_mmc_set_clk_rate()
[all …]
Domap.c226 host->pdata->switch_slot(mmc_dev(slot->mmc), slot->id); in mmc_omap_select_slot()
307 return slot->pdata->get_cover_state(mmc_dev(slot->mmc), in mmc_omap_cover_is_open()
365 dev_err(mmc_dev(host->mmc), "Invalid response type: %04x\n", mmc_resp_type(cmd)); in mmc_omap_start_command()
419 dma_unmap_sg(mmc_dev(host->mmc), data->sg, host->sg_len, in mmc_omap_release_dma()
606 dev_dbg(mmc_dev(host->mmc), "Aborting stuck command CMD%d\n", in mmc_omap_abort_command()
720 dev_info(mmc_dev(host->slots[0]->mmc), in mmc_omap_irq()
743 dev_dbg(mmc_dev(host->mmc), "MMC IRQ %04x (CMD %d): ", in mmc_omap_irq()
760 dev_dbg(mmc_dev(host->mmc), "data timeout (CMD%d)\n", in mmc_omap_irq()
771 dev_dbg(mmc_dev(host->mmc), in mmc_omap_irq()
776 dev_dbg(mmc_dev(host->mmc), "data CRC error\n"); in mmc_omap_irq()
[all …]
Dsdhci-pxav3.c53 struct platform_device *pdev = to_platform_device(mmc_dev(host->mmc)); in pxav3_set_private_registers()
84 dev_dbg(mmc_dev(host->mmc), in pxav3_gen_init_74_clocks()
113 dev_warn(mmc_dev(host->mmc), "74 clock interrupt not cleared\n"); in pxav3_gen_init_74_clocks()
154 dev_dbg(mmc_dev(host->mmc), in pxav3_set_uhs_signaling()
Domap_hsmmc.c448 dev_dbg(mmc_dev(host->mmc), "MMC Clock is not stoped\n"); in omap_hsmmc_stop_clock()
497 dev_dbg(mmc_dev(host->mmc), "Set clock to %uHz\n", ios->clock); in omap_hsmmc_set_clock()
572 dev_dbg(mmc_dev(host->mmc), "context was %slost\n", in omap_hsmmc_context_restore()
634 dev_dbg(mmc_dev(host->mmc), "context is restored\n"); in omap_hsmmc_context_restore()
743 dev_dbg(mmc_dev(host->mmc), "%s: CMD%d, argument 0x%08x\n", in omap_hsmmc_start_command()
886 dma_unmap_sg(mmc_dev(host->mmc), host->data->sg, in omap_hsmmc_dma_cleanup()
921 dev_dbg(mmc_dev(host->mmc), "%s\n", res); in omap_hsmmc_dbg_report_irq()
963 dev_err(mmc_dev(host->mmc), in omap_hsmmc_reset_controller_fsm()
983 dev_dbg(mmc_dev(host->mmc), "IRQ Status is %x\n", status); in omap_hsmmc_do_irq()
1023 dev_dbg(mmc_dev(host->mmc), in omap_hsmmc_do_irq()
[all …]
Dsdhci-esdhc-imx.c464 clk = clk_get(mmc_dev(host->mmc), NULL); in sdhci_esdhc_imx_probe()
466 dev_err(mmc_dev(host->mmc), "clk err\n"); in sdhci_esdhc_imx_probe()
493 dev_err(mmc_dev(host->mmc), "no board data!\n"); in sdhci_esdhc_imx_probe()
505 dev_warn(mmc_dev(host->mmc), in sdhci_esdhc_imx_probe()
521 dev_err(mmc_dev(host->mmc), in sdhci_esdhc_imx_probe()
530 dev_err(mmc_dev(host->mmc), "request irq error\n"); in sdhci_esdhc_imx_probe()
Dpxamci.c83 host->vcc = regulator_get(mmc_dev(host->mmc), "vmmc"); in pxamci_init_ocr()
90 dev_warn(mmc_dev(host->mmc), in pxamci_init_ocr()
128 host->pdata->setpower(mmc_dev(host->mmc), vdd); in pxamci_set_power()
149 dev_err(mmc_dev(host->mmc), "unable to stop clock\n"); in pxamci_stop_clock()
209 host->dma_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in pxamci_setup_data()
359 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in pxamci_data_done()
457 return !!host->pdata->get_ro(mmc_dev(mmc)); in pxamci_get_ro()
512 dev_err(mmc_dev(mmc), "unable to set power\n"); in pxamci_set_ios()
531 dev_dbg(mmc_dev(mmc), "PXAMCI: clkrt = %x cmdat = %x\n", in pxamci_set_ios()
Dsdhci.c484 host->align_addr = dma_map_single(mmc_dev(host->mmc), in sdhci_adma_table_pre()
486 if (dma_mapping_error(mmc_dev(host->mmc), host->align_addr)) in sdhci_adma_table_pre()
490 host->sg_count = dma_map_sg(mmc_dev(host->mmc), in sdhci_adma_table_pre()
568 dma_sync_single_for_device(mmc_dev(host->mmc), in sdhci_adma_table_pre()
572 host->adma_addr = dma_map_single(mmc_dev(host->mmc), in sdhci_adma_table_pre()
574 if (dma_mapping_error(mmc_dev(host->mmc), host->adma_addr)) in sdhci_adma_table_pre()
581 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in sdhci_adma_table_pre()
584 dma_unmap_single(mmc_dev(host->mmc), host->align_addr, in sdhci_adma_table_pre()
606 dma_unmap_single(mmc_dev(host->mmc), host->adma_addr, in sdhci_adma_table_post()
609 dma_unmap_single(mmc_dev(host->mmc), host->align_addr, in sdhci_adma_table_post()
[all …]
Dcb710-mmc.h32 struct platform_device *pdev = container_of(mmc_dev(mmc), in cb710_mmc_to_slot()
Dsdhci-esdhc.h65 dev_dbg(mmc_dev(host->mmc), "desired SD clock: %d, actual: %d\n", in esdhc_set_clock()
Dsdhci-cns3xxx.c29 struct device *dev = mmc_dev(host->mmc); in sdhci_cns3xxx_set_clock()
Dsdhci-pxav2.c53 struct platform_device *pdev = to_platform_device(mmc_dev(host->mmc)); in pxav2_set_private_registers()
Dau1xmmc.c349 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, host->dma.dir); in au1xmmc_data_complete()
633 host->dma.len = dma_map_sg(mmc_dev(host->mmc), data->sg, in au1xmmc_prepare_data()
685 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in au1xmmc_prepare_data()
1062 ret = led_classdev_register(mmc_dev(mmc), led); in au1xmmc_probe()
Dmsm_sdcc.c268 dma_unmap_sg(mmc_dev(host->mmc), host->dma.sg, host->dma.num_ents, in msmsdcc_dma_complete_tlet()
389 n = dma_map_sg(mmc_dev(host->mmc), host->dma.sg, in msmsdcc_config_dma()
1017 pwr |= host->plat->translate_vdd(mmc_dev(mmc), ios->vdd); in msmsdcc_set_ios()
1093 status = host->plat->status(mmc_dev(host->mmc)); in msmsdcc_check_status()
1342 host->oldstat = host->plat->status(mmc_dev(host->mmc)); in msmsdcc_probe()
Dwbsd.c1397 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()
Dmvsdio.c129 host->sg_frags = dma_map_sg(mmc_dev(host->mmc), data->sg, in mvsd_setup_data()
295 dma_unmap_sg(mmc_dev(host->mmc), data->sg, host->sg_frags, in mvsd_finish_data()
Dvia-sdmmc.c493 count = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in via_sdc_preparedata()
637 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in via_sdc_finish_data()
/linux-3.4.99/drivers/mmc/card/
Dqueue.c170 if (mmc_dev(host)->dma_mask && *mmc_dev(host)->dma_mask) in mmc_init_queue()
171 limit = *mmc_dev(host)->dma_mask; in mmc_init_queue()
Dblock.c449 dev_err(mmc_dev(card->host), "%s: cmd error %d\n", in mmc_blk_ioctl_cmd()
455 dev_err(mmc_dev(card->host), "%s: data error %d\n", in mmc_blk_ioctl_cmd()
/linux-3.4.99/include/linux/mmc/
Dhost.h338 #define mmc_dev(x) ((x)->parent) macro

12