Lines Matching refs:controls_rwsem
127 down_write(&card->controls_rwsem); in snd_ctl_release()
132 up_write(&card->controls_rwsem); in snd_ctl_release()
472 lockdep_assert_held_write(&card->controls_rwsem); in __snd_ctl_add_replace()
523 down_write(&card->controls_rwsem); in snd_ctl_add_replace()
525 up_write(&card->controls_rwsem); in snd_ctl_add_replace()
583 lockdep_assert_held_write(&card->controls_rwsem); in __snd_ctl_remove()
621 down_write(&card->controls_rwsem); in snd_ctl_remove()
623 up_write(&card->controls_rwsem); in snd_ctl_remove()
643 down_write(&card->controls_rwsem); in snd_ctl_remove_id()
646 up_write(&card->controls_rwsem); in snd_ctl_remove_id()
650 up_write(&card->controls_rwsem); in snd_ctl_remove_id()
672 down_write(&card->controls_rwsem); in snd_ctl_remove_user_ctl()
689 up_write(&card->controls_rwsem); in snd_ctl_remove_user_ctl()
713 down_write(&card->controls_rwsem); in snd_ctl_activate_id()
732 downgrade_write(&card->controls_rwsem); in snd_ctl_activate_id()
734 up_read(&card->controls_rwsem); in snd_ctl_activate_id()
738 up_write(&card->controls_rwsem); in snd_ctl_activate_id()
767 down_write(&card->controls_rwsem); in snd_ctl_rename_id()
770 up_write(&card->controls_rwsem); in snd_ctl_rename_id()
778 up_write(&card->controls_rwsem); in snd_ctl_rename_id()
796 down_write(&card->controls_rwsem); in snd_ctl_rename()
804 up_write(&card->controls_rwsem); in snd_ctl_rename()
839 lockdep_assert_held(&card->controls_rwsem); in snd_ctl_find_numid_locked()
864 down_read(&card->controls_rwsem); in snd_ctl_find_numid()
866 up_read(&card->controls_rwsem); in snd_ctl_find_numid()
890 lockdep_assert_held(&card->controls_rwsem); in snd_ctl_find_id_locked()
925 down_read(&card->controls_rwsem); in snd_ctl_find_id()
927 up_read(&card->controls_rwsem); in snd_ctl_find_id()
968 down_read(&card->controls_rwsem); in snd_ctl_elem_list()
992 up_read(&card->controls_rwsem); in snd_ctl_elem_list()
1243 down_read(&card->controls_rwsem); in snd_ctl_elem_info()
1249 up_read(&card->controls_rwsem); in snd_ctl_elem_info()
1282 down_read(&card->controls_rwsem); in snd_ctl_elem_read()
1326 up_read(&card->controls_rwsem); in snd_ctl_elem_read()
1359 down_write(&card->controls_rwsem); in snd_ctl_elem_write()
1362 up_write(&card->controls_rwsem); in snd_ctl_elem_write()
1370 up_write(&card->controls_rwsem); in snd_ctl_elem_write()
1391 up_write(&card->controls_rwsem); in snd_ctl_elem_write()
1396 downgrade_write(&card->controls_rwsem); in snd_ctl_elem_write()
1398 up_read(&card->controls_rwsem); in snd_ctl_elem_write()
1400 up_write(&card->controls_rwsem); in snd_ctl_elem_write()
1440 down_write(&card->controls_rwsem); in snd_ctl_elem_lock()
1453 up_write(&card->controls_rwsem); in snd_ctl_elem_lock()
1468 down_write(&card->controls_rwsem); in snd_ctl_elem_unlock()
1483 up_write(&card->controls_rwsem); in snd_ctl_elem_unlock()
1582 lockdep_assert_held_write(&ue->card->controls_rwsem); in replace_user_tlv()
1660 lockdep_assert_held_write(&ue->card->controls_rwsem); in snd_ctl_elem_init_enum_names()
1770 down_write(&card->controls_rwsem); in snd_ctl_elem_add()
1840 up_write(&card->controls_rwsem); in snd_ctl_elem_add()
1966 lockdep_assert_held(&file->card->controls_rwsem); in snd_ctl_tlv_ioctl()
2043 down_read(&ctl->card->controls_rwsem); in snd_ctl_ioctl()
2045 up_read(&ctl->card->controls_rwsem); in snd_ctl_ioctl()
2048 down_write(&ctl->card->controls_rwsem); in snd_ctl_ioctl()
2050 up_write(&ctl->card->controls_rwsem); in snd_ctl_ioctl()
2053 down_write(&ctl->card->controls_rwsem); in snd_ctl_ioctl()
2055 up_write(&ctl->card->controls_rwsem); in snd_ctl_ioctl()
2333 down_read(&card->controls_rwsem); in snd_ctl_register_layer()
2335 up_read(&card->controls_rwsem); in snd_ctl_register_layer()
2399 down_read(&card->controls_rwsem); in snd_ctl_dev_register()
2404 up_read(&card->controls_rwsem); in snd_ctl_dev_register()
2425 down_read(&card->controls_rwsem); in snd_ctl_dev_disconnect()
2430 up_read(&card->controls_rwsem); in snd_ctl_dev_disconnect()
2443 down_write(&card->controls_rwsem); in snd_ctl_dev_free()
2453 up_write(&card->controls_rwsem); in snd_ctl_dev_free()