Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc_dma/
Dfileops.c99 acd->mapped_entry_count = dma_map_sg(&ldev->pldev->dev, acd->sgt.sgl, acd->sgt.nents, ldev->dir); in kpc_dma_transfer()
100 if (acd->mapped_entry_count <= 0) { in kpc_dma_transfer()
101 dev_err(&priv->ldev->pldev->dev, "Couldn't dma_map_sg (%d)\n", acd->mapped_entry_count); in kpc_dma_transfer()
106 for_each_sg(acd->sgt.sgl, sg, acd->mapped_entry_count, i) { in kpc_dma_transfer()
114 …t = %d num_descrs_needed = %d num_descrs_avail = %d\n", acd->mapped_entry_count, desc_needed… in kpc_dma_transfer()
116 …%d num_descrs_avail = %d TOO MANY to ever complete!\n", acd->mapped_entry_count, desc_needed… in kpc_dma_transfer()
121 … num_descrs_avail = %d Too many to complete right now.\n", acd->mapped_entry_count, desc_needed… in kpc_dma_transfer()
129 for_each_sg(acd->sgt.sgl, sg, acd->mapped_entry_count, i) { in kpc_dma_transfer()
145 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer()
157 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer()
[all …]
Dkpc_dma_driver.h94 int mapped_entry_count; member