Lines Matching refs:wm

230 static void vfe_wm_start(struct vfe_device *vfe, u8 wm, struct vfe_line *line)  in vfe_wm_start()  argument
252 writel_relaxed(0xf, vfe->base + VFE_BUS_WM_BURST_LIMIT(wm)); in vfe_wm_start()
255 writel_relaxed(val, vfe->base + VFE_BUS_WM_BUFFER_WIDTH_CFG(wm)); in vfe_wm_start()
258 writel_relaxed(val, vfe->base + VFE_BUS_WM_BUFFER_HEIGHT_CFG(wm)); in vfe_wm_start()
261 writel_relaxed(val, vfe->base + VFE_BUS_WM_PACKER_CFG(wm)); // XXX 1 for PLAIN8? in vfe_wm_start()
265 writel_relaxed(val, vfe->base + VFE_BUS_WM_STRIDE(wm)); in vfe_wm_start()
270 writel_relaxed(val, vfe->base + VFE_BUS_WM_CFG(wm)); in vfe_wm_start()
273 static void vfe_wm_stop(struct vfe_device *vfe, u8 wm) in vfe_wm_stop() argument
276 writel_relaxed(0, vfe->base + VFE_BUS_WM_CFG(wm)); in vfe_wm_stop()
279 static void vfe_wm_update(struct vfe_device *vfe, u8 wm, u32 addr, in vfe_wm_update() argument
286 writel_relaxed(addr, vfe->base + VFE_BUS_WM_IMAGE_ADDR(wm)); in vfe_wm_update()
287 writel_relaxed(stride * pix->height, vfe->base + VFE_BUS_WM_FRAME_INC(wm)); in vfe_wm_update()
355 int i, wm; in vfe_isr() local
389 for (wm = 0; wm < MSM_VFE_IMAGE_MASTERS_NUM; wm++) in vfe_isr()
391 if (vfe_bus_status[1] & STATUS1_WM_CLIENT_BUF_DONE(wm)) in vfe_isr()
392 vfe->isr_ops.wm_done(vfe, wm); in vfe_isr()
651 static void vfe_isr_wm_done(struct vfe_device *vfe, u8 wm) in vfe_isr_wm_done() argument
653 struct vfe_line *line = &vfe->line[vfe->wm_output_map[wm]]; in vfe_isr_wm_done()
662 if (vfe->wm_output_map[wm] == VFE_LINE_NONE) { in vfe_isr_wm_done()
667 output = &vfe->line[vfe->wm_output_map[wm]].output; in vfe_isr_wm_done()