Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/light/tsl2591.c tsl2591_load_defaults() -> tsl2591_set_als_upper_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->als_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->als_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->als_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->als_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->als_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->als_settings.als_gain | 16 |
| PARAM_VALUE | 0 | chip->als_settings.als_int_time | 2 |
| PARAM_VALUE | 0 | chip->als_settings.als_lower_thresh | 100 |
| PARAM_VALUE | 0 | chip->als_settings.als_persist | 1 |
| PARAM_VALUE | 0 | chip->als_settings.als_upper_thresh | 0-65534 |
| PARAM_VALUE | 0 | chip->client | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | chip->client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->events_enabled | 0 |
| PARAM_VALUE | 1 | als_upper_threshold | 1500 |
| CAPPED_DATA | 0 | chip->client->irq | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->client->irq |
drivers/iio/light/tsl2591.c tsl2591_set_als_lower_threshold() -> tsl2591_set_als_upper_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->als_settings.als_lower_thresh | 0-65533,u16max |
| PARAM_VALUE | 1 | als_upper_threshold | 0-65534 |
| CAPPED_DATA | 0 | chip->als_settings.als_lower_thresh | 1 |
| CAPPED_DATA | 1 | als_upper_threshold | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->client->irq | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &chip->als_mutex |
drivers/iio/light/tsl2591.c tsl2591_write_event_value() -> tsl2591_set_als_upper_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip->als_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->als_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->als_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->als_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->als_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->als_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->als_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | als_upper_threshold | 0-99 |
| CAPPED_DATA | 0 | &chip->als_mutex | 1 |
| DATA_SOURCE | 1 | als_upper_threshold | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &chip->als_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tsl2591_chip)->als_mutex |