Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/dma/
Dst_fdma.c32 static int st_fdma_dreq_get(struct st_fdma_chan *fchan) in st_fdma_dreq_get() argument
34 struct st_fdma_dev *fdev = fchan->fdev; in st_fdma_dreq_get()
35 u32 req_line_cfg = fchan->cfg.req_line; in st_fdma_dreq_get()
66 static void st_fdma_dreq_put(struct st_fdma_chan *fchan) in st_fdma_dreq_put() argument
68 struct st_fdma_dev *fdev = fchan->fdev; in st_fdma_dreq_put()
70 dev_dbg(fdev->dev, "put dreq_line:%#x\n", fchan->dreq_line); in st_fdma_dreq_put()
71 clear_bit(fchan->dreq_line, &fdev->dreq_mask); in st_fdma_dreq_put()
74 static void st_fdma_xfer_desc(struct st_fdma_chan *fchan) in st_fdma_xfer_desc() argument
79 vdesc = vchan_next_desc(&fchan->vchan); in st_fdma_xfer_desc()
83 fchan->fdesc = to_st_fdma_desc(vdesc); in st_fdma_xfer_desc()
[all …]
Dst_fdma.h97 struct st_fdma_chan *fchan; member
184 #define fchan_read(fchan, name) \ argument
185 readl((fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \
186 + (fchan)->vchan.chan.chan_id * 0x4 \
189 #define fchan_write(fchan, val, name) \ argument
190 writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \
191 + (fchan)->vchan.chan.chan_id * 0x4 \
196 #define dreq_write(fchan, val, name) \ argument
197 writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \
198 + fchan->dreq_line * 0x04 \
[all …]