Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/vga/
Dvga_switcheroo.c161 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()
[all …]