Home
last modified time | relevance | path

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

/Linux-v5.15/sound/core/
Dcontrol.c124 down_write(&card->controls_rwsem); in snd_ctl_release()
129 up_write(&card->controls_rwsem); in snd_ctl_release()
428 down_write(&card->controls_rwsem); in snd_ctl_add_replace()
430 up_write(&card->controls_rwsem); in snd_ctl_add_replace()
523 down_write(&card->controls_rwsem); in snd_ctl_remove_id()
526 up_write(&card->controls_rwsem); in snd_ctl_remove_id()
530 up_write(&card->controls_rwsem); in snd_ctl_remove_id()
552 down_write(&card->controls_rwsem); in snd_ctl_remove_user_ctl()
569 up_write(&card->controls_rwsem); in snd_ctl_remove_user_ctl()
593 down_write(&card->controls_rwsem); in snd_ctl_activate_id()
[all …]
Dcontrol_compat.c175 down_read(&card->controls_rwsem); in get_ctl_type()
178 up_read(&card->controls_rwsem); in get_ctl_type()
183 up_read(&card->controls_rwsem); in get_ctl_type()
191 up_read(&card->controls_rwsem); in get_ctl_type()
Dcontrol_led.c253 down_write(&card->controls_rwsem); in snd_ctl_led_set_id()
274 up_write(&card->controls_rwsem); in snd_ctl_led_set_id()
627 down_read(&card->controls_rwsem); in list_show()
644 up_read(&card->controls_rwsem); in list_show()
Dinit.c281 init_rwsem(&card->controls_rwsem); in snd_card_init()
/Linux-v5.15/sound/core/oss/
Dmixer_oss.c520 down_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_vol()
523 up_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_vol()
541 up_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_vol()
559 down_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_sw()
562 up_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_sw()
581 up_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_sw()
625 down_read(&card->controls_rwsem); in snd_mixer_oss_put_volume1_vol()
628 up_read(&card->controls_rwsem); in snd_mixer_oss_put_volume1_vol()
649 up_read(&card->controls_rwsem); in snd_mixer_oss_put_volume1_vol()
668 down_read(&card->controls_rwsem); in snd_mixer_oss_put_volume1_sw()
[all …]
/Linux-v5.15/drivers/staging/greybus/
Daudio_codec.c815 down_write(&card->controls_rwsem); in gbaudio_register_module()
821 up_write(&card->controls_rwsem); in gbaudio_register_module()
827 up_write(&card->controls_rwsem); in gbaudio_register_module()
864 up_write(&card->controls_rwsem); in gbaudio_register_module()
938 down_write(&card->controls_rwsem); in gbaudio_unregister_module()
975 up_write(&card->controls_rwsem); in gbaudio_unregister_module()
978 down_write(&card->controls_rwsem); in gbaudio_unregister_module()
989 up_write(&card->controls_rwsem); in gbaudio_unregister_module()
/Linux-v5.15/sound/soc/codecs/
Dsigmadsp.c681 down_write(&card->controls_rwsem); in sigmadsp_activate_ctrl()
683 up_write(&card->controls_rwsem); in sigmadsp_activate_ctrl()
693 up_write(&card->controls_rwsem); in sigmadsp_activate_ctrl()
/Linux-v5.15/sound/isa/sb/
Demu8000.c1043 down_write(&card->controls_rwsem); in snd_emu8000_create_mixer()
1046 up_write(&card->controls_rwsem); in snd_emu8000_create_mixer()
Dsb16_csp.c1083 down_write(&card->controls_rwsem); in snd_sb_qsound_destroy()
1092 up_write(&card->controls_rwsem); in snd_sb_qsound_destroy()
/Linux-v5.15/include/sound/
Dcore.h100 struct rw_semaphore controls_rwsem; /* controls list lock */ member
/Linux-v5.15/sound/soc/intel/atom/
Dsst-atom-controls.c1442 down_read(&card->controls_rwsem); in sst_fill_widget_module_info()
1477 up_read(&card->controls_rwsem); in sst_fill_widget_module_info()
1482 up_read(&card->controls_rwsem); in sst_fill_widget_module_info()
/Linux-v5.15/sound/pci/emu10k1/
Demufx.c767 down_read(&emu->card->controls_rwsem); in snd_emu10k1_verify_controls()
769 up_read(&emu->card->controls_rwsem); in snd_emu10k1_verify_controls()
773 up_read(&emu->card->controls_rwsem); in snd_emu10k1_verify_controls()
917 down_write(&card->controls_rwsem); in snd_emu10k1_del_controls()
921 up_write(&card->controls_rwsem); in snd_emu10k1_del_controls()