Home
last modified time | relevance | path

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

/linux-6.1.9/sound/core/
Dcontrol.c124 down_write(&card->controls_rwsem); in snd_ctl_release()
129 up_write(&card->controls_rwsem); in snd_ctl_release()
518 down_write(&card->controls_rwsem); in snd_ctl_add_replace()
520 up_write(&card->controls_rwsem); in snd_ctl_add_replace()
624 down_write(&card->controls_rwsem); in snd_ctl_remove_id()
627 up_write(&card->controls_rwsem); in snd_ctl_remove_id()
631 up_write(&card->controls_rwsem); in snd_ctl_remove_id()
653 down_write(&card->controls_rwsem); in snd_ctl_remove_user_ctl()
670 up_write(&card->controls_rwsem); in snd_ctl_remove_user_ctl()
694 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()
625 down_read(&card->controls_rwsem); in list_show()
638 up_read(&card->controls_rwsem); in list_show()
Djack.c69 down_write(&card->controls_rwsem); in snd_jack_dev_free()
74 up_write(&card->controls_rwsem); in snd_jack_dev_free()
Dpcm.c817 down_write(&card->controls_rwsem); in free_chmap()
819 up_write(&card->controls_rwsem); in free_chmap()
Dinit.c313 init_rwsem(&card->controls_rwsem); in snd_card_init()
/linux-6.1.9/sound/core/oss/
Dmixer_oss.c542 down_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_vol()
545 up_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_vol()
563 up_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_vol()
581 down_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_sw()
584 up_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_sw()
603 up_read(&card->controls_rwsem); in snd_mixer_oss_get_volume1_sw()
647 down_read(&card->controls_rwsem); in snd_mixer_oss_put_volume1_vol()
650 up_read(&card->controls_rwsem); in snd_mixer_oss_put_volume1_vol()
671 up_read(&card->controls_rwsem); in snd_mixer_oss_put_volume1_vol()
690 down_read(&card->controls_rwsem); in snd_mixer_oss_put_volume1_sw()
[all …]
/linux-6.1.9/drivers/staging/greybus/
Daudio_helper.c186 down_write(&card->controls_rwsem); in gbaudio_remove_component_controls()
189 up_write(&card->controls_rwsem); in gbaudio_remove_component_controls()
Daudio_codec.c821 down_write(&card->controls_rwsem); in gbaudio_register_module()
827 up_write(&card->controls_rwsem); in gbaudio_register_module()
833 up_write(&card->controls_rwsem); in gbaudio_register_module()
870 up_write(&card->controls_rwsem); in gbaudio_register_module()
944 down_write(&card->controls_rwsem); in gbaudio_unregister_module()
981 up_write(&card->controls_rwsem); in gbaudio_unregister_module()
984 down_write(&card->controls_rwsem); in gbaudio_unregister_module()
995 up_write(&card->controls_rwsem); in gbaudio_unregister_module()
/linux-6.1.9/sound/soc/codecs/
Dsigmadsp.c679 down_write(&card->controls_rwsem); in sigmadsp_activate_ctrl()
681 up_write(&card->controls_rwsem); in sigmadsp_activate_ctrl()
691 up_write(&card->controls_rwsem); in sigmadsp_activate_ctrl()
/linux-6.1.9/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-6.1.9/include/sound/
Dcore.h101 struct rw_semaphore controls_rwsem; /* controls list lock */ member
/linux-6.1.9/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-6.1.9/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()
/linux-6.1.9/sound/soc/
Dsoc-topology.c2625 down_write(&card->controls_rwsem); in snd_soc_tplg_component_remove()
2664 up_write(&card->controls_rwsem); in snd_soc_tplg_component_remove()
/linux-6.1.9/sound/pci/hda/
Dhda_codec.c1773 down_write(&codec->card->controls_rwsem); in snd_hda_ctls_clear()
1776 up_write(&codec->card->controls_rwsem); in snd_hda_ctls_clear()