Searched refs:active_index (Results 1 – 4 of 4) sorted by relevance
403 u32 active_index; in stf_change_buffer() local413 active_index = output->active_buf; in stf_change_buffer()415 ready_buf = output->buf[active_index]; in stf_change_buffer()418 active_index, output->state); in stf_change_buffer()419 active_index = !active_index; in stf_change_buffer()420 ready_buf = output->buf[active_index]; in stf_change_buffer()424 active_index, output->state); in stf_change_buffer()430 output->buf[active_index] = stf_buf_get_pending(output); in stf_change_buffer()431 if (!output->buf[active_index]) { in stf_change_buffer()435 new_addr = output->buf[active_index]->addr; in stf_change_buffer()
614 u32 active_index; in vfe_isr_wm_done() local618 active_index = vfe->ops_gen1->wm_get_ping_pong_status(vfe, wm); in vfe_isr_wm_done()629 if (output->gen1.active_buf == active_index && 0) { in vfe_isr_wm_done()634 output->gen1.active_buf = active_index; in vfe_isr_wm_done()636 ready_buf = output->buf[!active_index]; in vfe_isr_wm_done()640 !active_index, output->state); in vfe_isr_wm_done()648 output->buf[!active_index] = vfe_buf_get_pending(output); in vfe_isr_wm_done()649 if (!output->buf[!active_index]) { in vfe_isr_wm_done()654 new_addr = output->buf[!active_index]->addr; in vfe_isr_wm_done()658 if (active_index) in vfe_isr_wm_done()
44 unsigned int *active_index);46 unsigned int active_index);
779 static int snd_mixer_oss_get_recsrc2(struct snd_mixer_oss_file *fmixer, unsigned int *active_index) in snd_mixer_oss_get_recsrc2() argument814 *active_index = idx; in snd_mixer_oss_get_recsrc2()821 static int snd_mixer_oss_put_recsrc2(struct snd_mixer_oss_file *fmixer, unsigned int active_index) in snd_mixer_oss_put_recsrc2() argument853 if (idx == active_index) in snd_mixer_oss_put_recsrc2()