Searched refs:cmd_phys (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/firmware/qcom/ |
H A D | qcom_scm-legacy.c | 147 dma_addr_t cmd_phys; in scm_legacy_call() local 166 cmd_phys = dma_map_single(dev, cmd, alloc_len, DMA_TO_DEVICE); in scm_legacy_call() 167 if (dma_mapping_error(dev, cmd_phys)) { in scm_legacy_call() 174 smc.args[2] = cmd_phys; in scm_legacy_call() 185 dma_sync_single_for_cpu(dev, cmd_phys + sizeof(*cmd) + cmd_len, in scm_legacy_call() 189 dma_sync_single_for_cpu(dev, cmd_phys + sizeof(*cmd) + cmd_len + in scm_legacy_call() 199 dma_unmap_single(dev, cmd_phys, alloc_len, DMA_TO_DEVICE); in scm_legacy_call()
|