Home
last modified time | relevance | path

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

/drivers/dma/
Dsun6i-dma.c201 struct sun6i_pchan *pchan) in sun6i_dma_dump_chan_regs() argument
203 phys_addr_t reg = virt_to_phys(pchan->base); in sun6i_dma_dump_chan_regs()
214 pchan->idx, &reg, in sun6i_dma_dump_chan_regs()
216 readl(pchan->base + DMA_CHAN_ENABLE), in sun6i_dma_dump_chan_regs()
218 readl(pchan->base + DMA_CHAN_PAUSE), in sun6i_dma_dump_chan_regs()
220 readl(pchan->base + DMA_CHAN_LLI_ADDR), in sun6i_dma_dump_chan_regs()
222 readl(pchan->base + DMA_CHAN_CUR_CFG), in sun6i_dma_dump_chan_regs()
224 readl(pchan->base + DMA_CHAN_CUR_SRC), in sun6i_dma_dump_chan_regs()
226 readl(pchan->base + DMA_CHAN_CUR_DST), in sun6i_dma_dump_chan_regs()
228 readl(pchan->base + DMA_CHAN_CUR_CNT), in sun6i_dma_dump_chan_regs()
[all …]
Dmmp_pdma.c236 static struct mmp_pdma_phy *lookup_phy(struct mmp_pdma_chan *pchan) in lookup_phy() argument
239 struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); in lookup_phy()
258 phy->vchan = pchan; in lookup_phy()
270 static void mmp_pdma_free_phy(struct mmp_pdma_chan *pchan) in mmp_pdma_free_phy() argument
272 struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); in mmp_pdma_free_phy()
276 if (!pchan->phy) in mmp_pdma_free_phy()
280 reg = DRCMR(pchan->drcmr); in mmp_pdma_free_phy()
281 writel(0, pchan->phy->base + reg); in mmp_pdma_free_phy()
284 pchan->phy->vchan = NULL; in mmp_pdma_free_phy()
285 pchan->phy = NULL; in mmp_pdma_free_phy()
Dtimb_dma.c708 struct timb_dma_platform_data_channel *pchan = in td_probe() local
712 if ((i % 2) == pchan->rx) { in td_probe()
725 td_chan->descs = pchan->descriptors; in td_probe()
726 td_chan->desc_elems = pchan->descriptor_elements; in td_probe()
727 td_chan->bytes_per_line = pchan->bytes_per_line; in td_probe()
728 td_chan->direction = pchan->rx ? DMA_DEV_TO_MEM : in td_probe()
733 (pchan->rx ? 0 : TIMBDMA_INSTANCE_TX_OFFSET); in td_probe()
Dpl330.c504 struct dma_pl330_chan *pchan; member
1443 pch = desc->pchan; in dma_pl330_rqcb()
2284 desc->pchan = pch; in pl330_get_desc()
2334 struct dma_pl330_chan *pch = desc->pchan; in get_burst_len()
/drivers/w1/masters/
Dds2482.c278 struct ds2482_w1_chan *pchan = data; in ds2482_w1_touch_bit() local
279 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_touch_bit()
287 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_touch_bit()
310 struct ds2482_w1_chan *pchan = data; in ds2482_w1_triplet() local
311 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_triplet()
319 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_triplet()
340 struct ds2482_w1_chan *pchan = data; in ds2482_w1_write_byte() local
341 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_write_byte()
348 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_write_byte()
364 struct ds2482_w1_chan *pchan = data; in ds2482_w1_read_byte() local
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_chan.c62 nouveau_channel_del(struct nouveau_channel **pchan) in nouveau_channel_del() argument
64 struct nouveau_channel *chan = *pchan; in nouveau_channel_del()
83 *pchan = NULL; in nouveau_channel_del()
88 u32 handle, u32 size, struct nouveau_channel **pchan) in nouveau_channel_prep() argument
97 chan = *pchan = kzalloc(sizeof(*chan), GFP_KERNEL); in nouveau_channel_prep()
118 nouveau_channel_del(pchan); in nouveau_channel_prep()
132 nouveau_channel_del(pchan); in nouveau_channel_prep()
176 nouveau_channel_del(pchan); in nouveau_channel_prep()
185 u32 handle, u32 engine, struct nouveau_channel **pchan) in nouveau_channel_ind() argument
203 *pchan = chan; in nouveau_channel_ind()
[all …]