Home
last modified time | relevance | path

Searched refs:controls_rwsem (Results 1 – 10 of 10) sorted by relevance

/linux/sound/core/
H A Dcontrol.c123 scoped_guard(rwsem_write, &card->controls_rwsem) { in snd_ctl_release()
467 lockdep_assert_held_write(&card->controls_rwsem); in __snd_ctl_add_replace()
520 scoped_guard(rwsem_write, &card->controls_rwsem) in snd_ctl_add_replace()
580 lockdep_assert_held_write(&card->controls_rwsem); in __snd_ctl_remove()
622 guard(rwsem_write)(&card->controls_rwsem); in snd_ctl_remove()
641 guard(rwsem_write)(&card->controls_rwsem); in snd_ctl_remove_id()
666 guard(rwsem_write)(&card->controls_rwsem); in snd_ctl_remove_user_ctl()
698 down_write(&card->controls_rwsem); in snd_ctl_activate_id()
717 downgrade_write(&card->controls_rwsem); in snd_ctl_activate_id()
719 up_read(&card->controls_rwsem); in snd_ctl_activate_id()
[all …]
H A Dcontrol_led.c256 guard(rwsem_write)(&card->controls_rwsem); in DEFINE_FREE()
608 guard(rwsem_read)(&card->controls_rwsem); in list_show()
H A Dcontrol_compat.c174 guard(rwsem_read)(&card->controls_rwsem); in get_ctl_type()
H A Dinit.c317 init_rwsem(&card->controls_rwsem); in snd_card_init()
/linux/sound/core/oss/
H A Dmixer_oss.c525 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_get_volume1_vol()
561 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_get_volume1_sw()
624 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_put_volume1_vol()
664 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_put_volume1_sw()
806 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_get_recsrc2()
851 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_put_recsrc2()
899 scoped_guard(rwsem_read, &card->controls_rwsem) { in snd_mixer_oss_build_test()
1022 guard(rwsem_read)(&mixer->card->controls_rwsem); in snd_mixer_oss_build_input()
/linux/sound/soc/sdca/
H A Dsdca_jack.c40 struct rw_semaphore *rwsem = &card->snd_card->controls_rwsem; in sdca_jack_process()
H A Dsdca_interrupts.c
/linux/sound/soc/fsl/
H A Dfsl_xcvr.c194 lockdep_assert_held(&card->snd_card->controls_rwsem); in fsl_xcvr_activate_ctl()
667 down_read(&card->snd_card->controls_rwsem); in fsl_xcvr_startup()
671 up_read(&card->snd_card->controls_rwsem); in fsl_xcvr_startup()
692 down_read(&card->snd_card->controls_rwsem); in fsl_xcvr_shutdown()
698 up_read(&card->snd_card->controls_rwsem); in fsl_xcvr_shutdown()
/linux/include/sound/
H A Dcore.h101 struct rw_semaphore controls_rwsem; /* controls lock (list and values) */ member
/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.c1437 down_read(&card->controls_rwsem); in sst_fill_widget_module_info()
1472 up_read(&card->controls_rwsem); in sst_fill_widget_module_info()
1477 up_read(&card->controls_rwsem); in sst_fill_widget_module_info()