Searched refs:mux_hw_lock (Results 1 – 1 of 1) sorted by relevance
161 struct mutex mux_hw_lock; member176 .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()[all …]