Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/vga/vga_switcheroo.c vga_switcheroo_power_switch() -> (struct vga_switcheroo_handler)->power_state()

Type Parameter Key Value
PARAM_VALUE 1 state 0-1
DATA_SOURCE 1 state $1
HARD_MAX 1 state 1
NOCHECK_CALL
LOCK2 global &vgasr_mutex

drivers/gpu/vga/vga_switcheroo.c vga_switchoff() -> (struct vga_switcheroo_handler)->power_state()

Type Parameter Key Value
PARAM_VALUE 1 state 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &vgasr_mutex

drivers/gpu/vga/vga_switcheroo.c vga_switchon() -> (struct vga_switcheroo_handler)->power_state()

Type Parameter Key Value
PARAM_VALUE 1 state 1
BIT_INFO 0 id 0x0,0xfffffeff
NOCHECK_CALL
LOCK2 global &vgasr_mutex