Home
last modified time | relevance | path

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

/linux/sound/core/
H A Dcontrol.c126 scoped_guard(rwsem_write, &card->controls_rwsem) { in snd_ctl_release()
470 lockdep_assert_held_write(&card->controls_rwsem); in __snd_ctl_add_replace()
523 scoped_guard(rwsem_write, &card->controls_rwsem) in snd_ctl_add_replace()
583 lockdep_assert_held_write(&card->controls_rwsem); in __snd_ctl_remove()
625 guard(rwsem_write)(&card->controls_rwsem); in snd_ctl_remove()
644 guard(rwsem_write)(&card->controls_rwsem); in snd_ctl_remove_id()
669 guard(rwsem_write)(&card->controls_rwsem); in snd_ctl_remove_user_ctl()
701 down_write(&card->controls_rwsem); in snd_ctl_activate_id()
720 downgrade_write(&card->controls_rwsem); in snd_ctl_activate_id()
722 up_read(&card->controls_rwsem); in snd_ctl_activate_id()
[all …]
H A Dcontrol_led.c254 guard(rwsem_write)(&card->controls_rwsem); in snd_ctl_led_set_id()
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.c318 init_rwsem(&card->controls_rwsem); in snd_card_init()
/linux/sound/core/oss/
H A Dmixer_oss.c522 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_get_volume1_vol()
558 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_get_volume1_sw()
621 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_put_volume1_vol()
661 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_put_volume1_sw()
803 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_get_recsrc2()
848 guard(rwsem_read)(&card->controls_rwsem); in snd_mixer_oss_put_recsrc2()
896 scoped_guard(rwsem_read, &card->controls_rwsem) { in snd_mixer_oss_build_test()
1019 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()
/linux/sound/soc/fsl/
H A Dfsl_xcvr.c257 lockdep_assert_held(&card->snd_card->controls_rwsem); in fsl_xcvr_activate_ctl()
737 down_read(&card->snd_card->controls_rwsem); in fsl_xcvr_startup()
741 up_read(&card->snd_card->controls_rwsem); in fsl_xcvr_startup()
762 down_read(&card->snd_card->controls_rwsem); in fsl_xcvr_shutdown()
768 up_read(&card->snd_card->controls_rwsem); in fsl_xcvr_shutdown()
/linux/include/sound/
H A Dcore.h122 struct rw_semaphore controls_rwsem; /* controls lock (list and values) */ member
/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.c1428 down_read(&card->controls_rwsem);
1463 up_read(&card->controls_rwsem); in sst_fill_widget_module_info()
1468 up_read(&card->controls_rwsem); in sst_fill_widget_module_info()