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_debugfs_write() -> (struct vga_switcheroo_handler)->switchto()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 0-1 |
| CAPPED_DATA | 0 | id | 1 |
| FUZZY_MAX | 0 | id | 1 |
| HARD_MAX | 0 | id | 1 |
| LOCK2 | global &vgasr_mutex | ||
| LOCK2 | global &vgasr_priv.mux_hw_lock | ||
| TYPE_LOCK | (struct vgasr_priv)->mux_hw_lock |
drivers/gpu/vga/vga_switcheroo.c vga_switcheroo_runtime_suspend() -> (struct vga_switcheroo_handler)->switchto()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 0 |
| NOCHECK_CALL | |||
| LOCK2 | global &vgasr_mutex | ||
| LOCK2 | global &vgasr_priv.mux_hw_lock | ||
| TYPE_LOCK | (struct vgasr_priv)->mux_hw_lock |
drivers/gpu/vga/vga_switcheroo.c vga_switchto_stage2() -> (struct vga_switcheroo_handler)->switchto()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &vgasr_mutex | ||
| LOCK2 | global &vgasr_priv.mux_hw_lock | ||
| TYPE_LOCK | (struct vgasr_priv)->mux_hw_lock |