Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/misc/bh1770glc.c bh1770_lux_calib_store() -> bh1770_get_corr_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &chip->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | chip->lux_calib | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | chip->lux_calib | |
| UNITS | 0 | chip | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &chip->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bh1770_chip)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/misc/bh1770glc.c bh1770_probe() -> bh1770_get_corr_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lux_calib | 8192 |
| PARAM_VALUE | 0 | chip->lux_cf | 2048 |
| PARAM_VALUE | 0 | chip->lux_ga | 1-u32max |
| BUF_SIZE | 0 | chip | 568 |
| BUF_SIZE | 0 | chip->pdata | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | chip->client->irq | 1 |
| DATA_SOURCE | 0 | chip | r devm_kzalloc |
| FUZZY_MAX | 0 | chip->lux_ga | 16384 |
| MEM_ZERO | 0 | chip | |
| MEM_ZERO | 0 | chip->chipname | |
| MEM_ZERO | 0 | chip->client | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->client->irq |