Home
last modified time | relevance | path

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

/drivers/gpu/vga/
Dvga_switcheroo.c159 struct mutex mux_hw_lock; member
175 .mux_hw_lock = __MUTEX_INITIALIZER(vgasr_priv.mux_hw_lock),
245 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unregister_handler()
253 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unregister_handler()
504 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_lock_ddc()
537 if (WARN_ON_ONCE(!mutex_is_locked(&vgasr_priv.mux_hw_lock))) in vga_switcheroo_unlock_ddc()
546 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unlock_ddc()
688 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switchto_stage2()
690 mutex_unlock(&vgasr_priv.mux_hw_lock); in vga_switchto_stage2()
805 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_debugfs_write()
[all …]