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()
421 return led_classdev_register(mmc_dev(mmc), &host->led); in sdhci_led_register()
651 dma_sync_single_for_device(mmc_dev(host->mmc), in sdhci_pre_dma_transfer()
659 sg_count = dma_map_sg(mmc_dev(host->mmc), in sdhci_pre_dma_transfer()
832 dma_sync_sg_for_cpu(mmc_dev(host->mmc), data->sg, in sdhci_adma_table_post()
1188 host->tx_chan = dma_request_chan(mmc_dev(mmc), "tx"); in sdhci_external_dma_init()
1197 host->rx_chan = dma_request_chan(mmc_dev(mmc), "rx"); in sdhci_external_dma_init()
2531 pm_runtime_get_noresume(mmc_dev(mmc)); in sdhci_enable_sdio_irq()
2538 pm_runtime_put_noidle(mmc_dev(mmc)); in sdhci_enable_sdio_irq()
2931 dma_unmap_sg(mmc_dev(mmc), data->sg, data->sg_len, in sdhci_post_req()
3105 mmc_dev(host->mmc), in sdhci_request_done()
3116 mmc_dev(host->mmc), in sdhci_request_done()
3123 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in sdhci_request_done()
3701 if (!device_may_wakeup(mmc_dev(host->mmc)) || in sdhci_suspend_host()
3995 struct device *dev = mmc_dev(mmc); in sdhci_set_dma_mask()
4045 device_property_read_u64(mmc_dev(host->mmc), in __sdhci_read_caps()
4047 device_property_read_u64(mmc_dev(host->mmc), in __sdhci_read_caps()
4104 host->bounce_buffer = devm_kmalloc(mmc_dev(mmc), in sdhci_allocate_bounce_buffer()
4118 host->bounce_addr = dma_map_single(mmc_dev(mmc), in sdhci_allocate_bounce_buffer()
4122 ret = dma_mapping_error(mmc_dev(mmc), host->bounce_addr); in sdhci_allocate_bounce_buffer()
4124 devm_kfree(mmc_dev(mmc), host->bounce_buffer); in sdhci_allocate_bounce_buffer()
4279 buf = dma_alloc_coherent(mmc_dev(mmc), in sdhci_setup_host()
4291 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_setup_host()
4309 mmc_dev(mmc)->dma_mask = &host->dma_mask; in sdhci_setup_host()
4638 dma_max_mapping_size(mmc_dev(mmc))); in sdhci_setup_host()
4693 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_setup_host()
4711 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_cleanup_host()
4768 mmc_hostname(mmc), host->hw_name, dev_name(mmc_dev(mmc)), in __sdhci_add_host()
4854 dma_free_coherent(mmc_dev(mmc), host->align_buffer_sz + in sdhci_remove_host()