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()
457 return led_classdev_register(mmc_dev(mmc), &host->led); in sdhci_led_register()
687 dma_sync_single_for_device(mmc_dev(host->mmc), in sdhci_pre_dma_transfer()
695 sg_count = dma_map_sg(mmc_dev(host->mmc), in sdhci_pre_dma_transfer()
868 dma_sync_sg_for_cpu(mmc_dev(host->mmc), data->sg, in sdhci_adma_table_post()
1224 host->tx_chan = dma_request_chan(mmc_dev(mmc), "tx"); in sdhci_external_dma_init()
1233 host->rx_chan = dma_request_chan(mmc_dev(mmc), "rx"); in sdhci_external_dma_init()
2607 pm_runtime_get_noresume(mmc_dev(mmc)); in sdhci_enable_sdio_irq()
2614 pm_runtime_put_noidle(mmc_dev(mmc)); in sdhci_enable_sdio_irq()
3006 dma_unmap_sg(mmc_dev(mmc), data->sg, data->sg_len, in sdhci_post_req()
3174 mmc_dev(host->mmc), in sdhci_request_done()
3185 mmc_dev(host->mmc), in sdhci_request_done()
3192 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in sdhci_request_done()
3787 if (!device_may_wakeup(mmc_dev(host->mmc)) || in sdhci_suspend_host()
4089 struct device *dev = mmc_dev(mmc); in sdhci_set_dma_mask()
4139 device_property_read_u64(mmc_dev(host->mmc), in __sdhci_read_caps()
4141 device_property_read_u64(mmc_dev(host->mmc), in __sdhci_read_caps()
4198 host->bounce_buffer = devm_kmalloc(mmc_dev(mmc), in sdhci_allocate_bounce_buffer()
4212 host->bounce_addr = dma_map_single(mmc_dev(mmc), in sdhci_allocate_bounce_buffer()
4216 ret = dma_mapping_error(mmc_dev(mmc), host->bounce_addr); in sdhci_allocate_bounce_buffer()
4218 devm_kfree(mmc_dev(mmc), host->bounce_buffer); in sdhci_allocate_bounce_buffer()
4373 buf = dma_alloc_coherent(mmc_dev(mmc), in sdhci_setup_host()
4385 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_setup_host()
4403 mmc_dev(mmc)->dma_mask = &host->dma_mask; in sdhci_setup_host()
4732 dma_max_mapping_size(mmc_dev(mmc))); in sdhci_setup_host()
4787 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_setup_host()
4805 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_cleanup_host()
4862 mmc_hostname(mmc), host->hw_name, dev_name(mmc_dev(mmc)), in __sdhci_add_host()
4948 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_remove_host()