Lines Matching refs:active_buffer
613 ichan->active_buffer = 0; in ipu_enable_channel()
1168 dev_dbg(dev, "IDMAC irq %d, buf %d\n", irq, ichan->active_buffer); in idmac_interrupt()
1195 if (unlikely((ichan->active_buffer && (ready1 >> chan_id) & 1) || in idmac_interrupt()
1196 (!ichan->active_buffer && (ready0 >> chan_id) & 1) in idmac_interrupt()
1202 ichan->active_buffer, ready0, ready1); in idmac_interrupt()
1207 ichan->sg[ichan->active_buffer] = NULL; in idmac_interrupt()
1212 ichan->active_buffer, ready0, ready1); in idmac_interrupt()
1221 sg = &ichan->sg[ichan->active_buffer]; in idmac_interrupt()
1222 sgnext = ichan->sg[!ichan->active_buffer]; in idmac_interrupt()
1235 ichan->active_buffer, curbuf); in idmac_interrupt()
1249 ichan->sg[!ichan->active_buffer] = sgnew; in idmac_interrupt()
1252 ipu_submit_buffer(ichan, descnew, sgnew, !ichan->active_buffer); in idmac_interrupt()
1277 ipu_submit_buffer(ichan, descnew, sgnew, ichan->active_buffer) < 0) { in idmac_interrupt()
1288 ichan->active_buffer = !ichan->active_buffer; in idmac_interrupt()
1386 ipu_select_buffer(chan->chan_id, ichan->active_buffer); in idmac_issue_pending()