Lines Matching refs:active_buffer
616 ichan->active_buffer = 0; in ipu_enable_channel()
1171 dev_dbg(dev, "IDMAC irq %d, buf %d\n", irq, ichan->active_buffer); in idmac_interrupt()
1198 if (unlikely((ichan->active_buffer && (ready1 >> chan_id) & 1) || in idmac_interrupt()
1199 (!ichan->active_buffer && (ready0 >> chan_id) & 1) in idmac_interrupt()
1205 ichan->active_buffer, ready0, ready1); in idmac_interrupt()
1210 ichan->sg[ichan->active_buffer] = NULL; in idmac_interrupt()
1215 ichan->active_buffer, ready0, ready1); in idmac_interrupt()
1224 sg = &ichan->sg[ichan->active_buffer]; in idmac_interrupt()
1225 sgnext = ichan->sg[!ichan->active_buffer]; in idmac_interrupt()
1238 ichan->active_buffer, curbuf); in idmac_interrupt()
1252 ichan->sg[!ichan->active_buffer] = sgnew; in idmac_interrupt()
1255 ipu_submit_buffer(ichan, descnew, sgnew, !ichan->active_buffer); in idmac_interrupt()
1280 ipu_submit_buffer(ichan, descnew, sgnew, ichan->active_buffer) < 0) { in idmac_interrupt()
1291 ichan->active_buffer = !ichan->active_buffer; in idmac_interrupt()
1389 ipu_select_buffer(chan->chan_id, ichan->active_buffer); in idmac_issue_pending()