Lines Matching refs:active_buffer
613 ichan->active_buffer = 0; in ipu_enable_channel()
1169 dev_dbg(dev, "IDMAC irq %d, buf %d\n", irq, ichan->active_buffer); in idmac_interrupt()
1196 if (unlikely((ichan->active_buffer && (ready1 >> chan_id) & 1) || in idmac_interrupt()
1197 (!ichan->active_buffer && (ready0 >> chan_id) & 1) in idmac_interrupt()
1203 ichan->active_buffer, ready0, ready1); in idmac_interrupt()
1208 ichan->sg[ichan->active_buffer] = NULL; in idmac_interrupt()
1213 ichan->active_buffer, ready0, ready1); in idmac_interrupt()
1222 sg = &ichan->sg[ichan->active_buffer]; in idmac_interrupt()
1223 sgnext = ichan->sg[!ichan->active_buffer]; in idmac_interrupt()
1236 ichan->active_buffer, curbuf); in idmac_interrupt()
1250 ichan->sg[!ichan->active_buffer] = sgnew; in idmac_interrupt()
1253 ipu_submit_buffer(ichan, descnew, sgnew, !ichan->active_buffer); in idmac_interrupt()
1278 ipu_submit_buffer(ichan, descnew, sgnew, ichan->active_buffer) < 0) { in idmac_interrupt()
1289 ichan->active_buffer = !ichan->active_buffer; in idmac_interrupt()
1387 ipu_select_buffer(chan->chan_id, ichan->active_buffer); in idmac_issue_pending()