Home
last modified time | relevance | path

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

/drivers/gpu/host1x/hw/
Dcdma_hw.c39 static void cdma_timeout_cpu_incr(struct host1x_cdma *cdma, u32 getptr, in cdma_timeout_cpu_incr() argument
54 u32 *p = (u32 *)((u32)pb->mapped + getptr); in cdma_timeout_cpu_incr()
58 (u64)pb->phys + getptr); in cdma_timeout_cpu_incr()
59 getptr = (getptr + 8) & (pb->size_bytes - 1); in cdma_timeout_cpu_incr()
103 static void cdma_timeout_restart(struct host1x_cdma *cdma, u32 getptr) in cdma_timeout_restart() argument
123 host1x_ch_writel(ch, getptr, HOST1X_CHANNEL_DMAPUT); in cdma_timeout_restart()
209 static void cdma_resume(struct host1x_cdma *cdma, u32 getptr) in cdma_resume() argument
217 ch->id, getptr); in cdma_resume()
224 cdma_timeout_restart(cdma, getptr); in cdma_resume()
/drivers/gpu/host1x/
Ddev.h51 void (*resume)(struct host1x_cdma *cdma, u32 getptr);
52 void (*timeout_cpu_incr)(struct host1x_cdma *cdma, u32 getptr,
263 struct host1x_cdma *cdma, u32 getptr) in host1x_hw_cdma_resume() argument
265 host->cdma_op->resume(cdma, getptr); in host1x_hw_cdma_resume()
270 u32 getptr, in host1x_hw_cdma_timeout_cpu_incr() argument
274 host->cdma_op->timeout_cpu_incr(cdma, getptr, syncpt_incrs, syncval, in host1x_hw_cdma_timeout_cpu_incr()