Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/misc/tsl2550.c tsl2550_remove() -> tsl2550_set_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.kobj.sd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 1 | state | 0 |
| DATA_SOURCE | 0 | client | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/misc/tsl2550.c tsl2550_resume() -> tsl2550_set_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/misc/tsl2550.c tsl2550_store_power_state() -> tsl2550_set_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | state | 0-1 |
| NO_OVERFLOW_SIMPLE | 1 | state | |
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tsl2550_data)->update_lock |
drivers/misc/tsl2550.c tsl2550_suspend() -> tsl2550_set_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |