Home
last modified time | relevance | path

Searched refs:cple (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/dma/qcom/
H A Dqcom_adm.c361 u32 *cple; in adm_prep_slave_sg() local
416 sizeof(*cple) + 2 * ADM_DESC_ALIGN; in adm_prep_slave_sg()
427 cple = PTR_ALIGN(async_desc->cpl, ADM_DESC_ALIGN); in adm_prep_slave_sg()
428 desc = PTR_ALIGN(cple + 1, ADM_DESC_ALIGN); in adm_prep_slave_sg()
449 cple_addr = async_desc->dma_addr + ((void *)cple - async_desc->cpl); in adm_prep_slave_sg()
452 dma_sync_single_for_cpu(adev->dev, cple_addr, sizeof(*cple), in adm_prep_slave_sg()
454 *cple = ADM_CPLE_LP; in adm_prep_slave_sg()
455 *cple |= (async_desc->dma_addr + ADM_DESC_ALIGN) >> 3; in adm_prep_slave_sg()
456 dma_sync_single_for_device(adev->dev, cple_addr, sizeof(*cple), in adm_prep_slave_sg()