Searched refs:mux_hw_lock (Results 1 – 1 of 1) sorted by relevance
162 struct mutex mux_hw_lock; member177 .mux_hw_lock = __MUTEX_INITIALIZER(vgasr_priv.mux_hw_lock),265 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unregister_handler()273 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unregister_handler()561 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_lock_ddc()594 if (WARN_ON_ONCE(!mutex_is_locked(&vgasr_priv.mux_hw_lock))) in vga_switcheroo_unlock_ddc()603 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unlock_ddc()745 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switchto_stage2()747 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switchto_stage2()864 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_debugfs_write()[all …]