Lines Matching refs:mux_hw_lock
161 struct mutex mux_hw_lock; member
176 .mux_hw_lock = __MUTEX_INITIALIZER(vgasr_priv.mux_hw_lock),
264 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unregister_handler()
272 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unregister_handler()
563 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_lock_ddc()
596 if (WARN_ON_ONCE(!mutex_is_locked(&vgasr_priv.mux_hw_lock))) in vga_switcheroo_unlock_ddc()
605 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unlock_ddc()
741 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switchto_stage2()
743 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switchto_stage2()
860 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_debugfs_write()
862 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_debugfs_write()
1024 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_runtime_suspend()
1026 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_runtime_suspend()