Searched refs:ipu_buf_num (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/staging/media/imx/ |
D | imx-ic-prpencvf.c | 71 int ipu_buf_num; /* ipu double buffer index: 0-1 */ member 205 done = priv->active_vb2_buf[priv->ipu_buf_num]; in prp_vb2_buf_done() 222 priv->active_vb2_buf[priv->ipu_buf_num] = next; in prp_vb2_buf_done() 225 priv->active_vb2_buf[priv->ipu_buf_num] = NULL; in prp_vb2_buf_done() 228 if (ipu_idmac_buffer_is_ready(ch, priv->ipu_buf_num)) in prp_vb2_buf_done() 229 ipu_idmac_clear_buffer(ch, priv->ipu_buf_num); in prp_vb2_buf_done() 234 ipu_cpmem_set_buffer(ch, priv->ipu_buf_num, phys); in prp_vb2_buf_done() 256 ipu_idmac_select_buffer(channel, priv->ipu_buf_num); in prp_eof_interrupt() 258 priv->ipu_buf_num ^= 1; in prp_eof_interrupt() 679 priv->ipu_buf_num = 0; in prp_start()
|
D | imx-media-csi.c | 89 int ipu_buf_num; /* ipu double buffer index: 0-1 */ member 273 done = priv->active_vb2_buf[priv->ipu_buf_num]; in csi_vb2_buf_done() 290 priv->active_vb2_buf[priv->ipu_buf_num] = next; in csi_vb2_buf_done() 293 priv->active_vb2_buf[priv->ipu_buf_num] = NULL; in csi_vb2_buf_done() 296 if (ipu_idmac_buffer_is_ready(priv->idmac_ch, priv->ipu_buf_num)) in csi_vb2_buf_done() 297 ipu_idmac_clear_buffer(priv->idmac_ch, priv->ipu_buf_num); in csi_vb2_buf_done() 302 ipu_cpmem_set_buffer(priv->idmac_ch, priv->ipu_buf_num, phys); in csi_vb2_buf_done() 324 ipu_idmac_select_buffer(priv->idmac_ch, priv->ipu_buf_num); in csi_idmac_eof_interrupt() 326 priv->ipu_buf_num ^= 1; in csi_idmac_eof_interrupt() 617 priv->ipu_buf_num = 0; in csi_idmac_start()
|