Lines Matching refs:mmc_dev
191 pm_runtime_get_noresume(mmc_dev(host->mmc)); in sdhci_runtime_pm_bus_on()
199 pm_runtime_put_noidle(mmc_dev(host->mmc)); in sdhci_runtime_pm_bus_off()
462 return led_classdev_register(mmc_dev(mmc), &host->led); in sdhci_led_register()
682 dma_sync_single_for_device(mmc_dev(host->mmc), in sdhci_pre_dma_transfer()
690 sg_count = dma_map_sg(mmc_dev(host->mmc), in sdhci_pre_dma_transfer()
859 dma_sync_sg_for_cpu(mmc_dev(host->mmc), data->sg, in sdhci_adma_table_post()
1215 host->tx_chan = dma_request_chan(mmc_dev(mmc), "tx"); in sdhci_external_dma_init()
1224 host->rx_chan = dma_request_chan(mmc_dev(mmc), "rx"); in sdhci_external_dma_init()
2588 pm_runtime_get_noresume(mmc_dev(mmc)); in sdhci_enable_sdio_irq()
2595 pm_runtime_put_noidle(mmc_dev(mmc)); in sdhci_enable_sdio_irq()
2987 dma_unmap_sg(mmc_dev(mmc), data->sg, data->sg_len, in sdhci_post_req()
3155 mmc_dev(host->mmc), in sdhci_request_done()
3166 mmc_dev(host->mmc), in sdhci_request_done()
3173 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in sdhci_request_done()
3764 if (!device_may_wakeup(mmc_dev(host->mmc)) || in sdhci_suspend_host()
4066 struct device *dev = mmc_dev(mmc); in sdhci_set_dma_mask()
4116 device_property_read_u64(mmc_dev(host->mmc), in __sdhci_read_caps()
4118 device_property_read_u64(mmc_dev(host->mmc), in __sdhci_read_caps()
4172 host->bounce_buffer = devm_kmalloc(mmc_dev(mmc), in sdhci_allocate_bounce_buffer()
4186 host->bounce_addr = dma_map_single(mmc_dev(mmc), in sdhci_allocate_bounce_buffer()
4190 ret = dma_mapping_error(mmc_dev(mmc), host->bounce_addr); in sdhci_allocate_bounce_buffer()
4192 devm_kfree(mmc_dev(mmc), host->bounce_buffer); in sdhci_allocate_bounce_buffer()
4347 buf = dma_alloc_coherent(mmc_dev(mmc), in sdhci_setup_host()
4359 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_setup_host()
4377 mmc_dev(mmc)->dma_mask = &host->dma_mask; in sdhci_setup_host()
4706 dma_max_mapping_size(mmc_dev(mmc))); in sdhci_setup_host()
4761 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_setup_host()
4779 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_cleanup_host()
4836 mmc_hostname(mmc), host->hw_name, dev_name(mmc_dev(mmc)), in __sdhci_add_host()
4922 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_remove_host()