Home
last modified time | relevance | path

Searched refs:active_index (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/staging/media/starfive/camss/
Dstf-capture.c403 u32 active_index; in stf_change_buffer() local
413 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()
/linux-6.12.1/drivers/media/platform/qcom/camss/
Dcamss-vfe-gen1.c614 u32 active_index; in vfe_isr_wm_done() local
618 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()
/linux-6.12.1/include/sound/
Dmixer_oss.h44 unsigned int *active_index);
46 unsigned int active_index);
/linux-6.12.1/sound/core/oss/
Dmixer_oss.c779 static int snd_mixer_oss_get_recsrc2(struct snd_mixer_oss_file *fmixer, unsigned int *active_index) in snd_mixer_oss_get_recsrc2() argument
814 *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() argument
853 if (idx == active_index) in snd_mixer_oss_put_recsrc2()