Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/vga/vga_switcheroo.c set_audio_state() -> (struct vga_switcheroo_client_ops)->set_gpu_state()

Type Parameter Key Value
PARAM_VALUE 1 state 0-1
DATA_SOURCE 1 state $1
CONTAINER 0 *(-0-24+0) $(-1)
HARD_MAX 1 state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &vgasr_mutex

drivers/gpu/vga/vga_switcheroo.c vga_switchoff() -> (struct vga_switcheroo_client_ops)->set_gpu_state()

Type Parameter Key Value
PARAM_VALUE 1 state 0
CONTAINER 0 *(-0-24+0) $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &vgasr_mutex

drivers/gpu/vga/vga_switcheroo.c vga_switchon() -> (struct vga_switcheroo_client_ops)->set_gpu_state()

Type Parameter Key Value
PARAM_VALUE 1 state 1
CONTAINER 0 *(-0-24+0) $(-1)
NOCHECK_CALL
LOCK2 global &vgasr_mutex