Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/iio/industrialio-gts-helper.c, line 701
- drivers/iio/light/apds9306.c, line 1165
- drivers/iio/light/bh1745.c, line 800
- drivers/iio/light/rohm-bu27034.c, line 1276
- drivers/iio/light/veml3235.c, line 417
- drivers/iio/light/veml6030.c
- drivers/iio/test/iio-test-gts.c
Smatch caller information:
drivers/iio/light/bh1745.c bh1745_init() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | max_scale_int | 512 |
| PARAM_VALUE | 2 | max_scale_nano | 0 |
| PARAM_VALUE | 3 | gain_tbl | 6148558763041595392 |
| PARAM_VALUE | 4 | num_gain | 3 |
| PARAM_VALUE | 5 | tim_tbl | 1436938275060879360 |
| PARAM_VALUE | 6 | num_times | 6 |
| PARAM_VALUE | 7 | gts | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | gain_tbl | 24 |
| BUF_SIZE | 5 | tim_tbl | 72 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |
drivers/iio/light/rohm-bu27034.c bu27034_probe() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | max_scale_int | 16 |
| PARAM_VALUE | 2 | max_scale_nano | 0 |
| PARAM_VALUE | 3 | gain_tbl | 8648424495942627328 |
| PARAM_VALUE | 4 | num_gain | 6 |
| PARAM_VALUE | 5 | tim_tbl | 6665542923312730112 |
| PARAM_VALUE | 6 | num_times | 4 |
| PARAM_VALUE | 7 | gts | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | gain_tbl | 48 |
| BUF_SIZE | 5 | tim_tbl | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |
drivers/iio/test/iio-test-gts.c __test_init_iio_gain_scale() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->coherent_dma_mask | u32max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 1 | max_scale_int | 64 |
| PARAM_VALUE | 2 | max_scale_nano | 0 |
| PARAM_VALUE | 3 | gain_tbl | 4096-ptr_max |
| PARAM_VALUE | 4 | num_gain | 3,10 |
| PARAM_VALUE | 5 | tim_tbl | 7893198086797217792 |
| PARAM_VALUE | 6 | num_times | 5 |
| PARAM_VALUE | 7 | gts | 7966931428590403584 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | gain_tbl | 24,80 |
| BUF_SIZE | 3 | gain_tbl | 24,80 |
| BUF_SIZE | 5 | tim_tbl | 60 |
| BUF_SIZE | 5 | tim_tbl | 60 |
| DATA_SOURCE | 0 | dev | r kunit_device_register |
| DATA_SOURCE | 3 | gain_tbl | $2 |
| DATA_SOURCE | 4 | num_gain | $3 |
| DATA_SOURCE | 5 | tim_tbl | $4 |
| DATA_SOURCE | 6 | num_times | $5 |
| DATA_SOURCE | 7 | gts | $1 |
| HARD_MAX | 4 | num_gain | 10 |
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |
drivers/iio/test/iio-test-gts.c test_init_iio_gts_invalid() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-u64max |
| PARAM_VALUE | 0 | dev->coherent_dma_mask | u32max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 1 | max_scale_int | 64 |
| PARAM_VALUE | 2 | max_scale_nano | 0 |
| PARAM_VALUE | 3 | gain_tbl | 6188093633748766720 |
| PARAM_VALUE | 4 | num_gain | 10 |
| PARAM_VALUE | 5 | tim_tbl | 4096-ptr_max |
| PARAM_VALUE | 6 | num_times | 2 |
| PARAM_VALUE | 7 | gts | 7966931428590403584 |
| BUF_SIZE | 0 | dev | (-1),8,96,248,1296,1616 |
| BUF_SIZE | 0 | dev | (-1),8,96,248,1296,1616 |
| BUF_SIZE | 3 | gain_tbl | 80 |
| BUF_SIZE | 5 | tim_tbl | 24 |
| DATA_SOURCE | 0 | dev | r kunit_device_register |
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |
drivers/iio/test/iio-test-gts.c test_init_iio_gts_invalid() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-u64max |
| PARAM_VALUE | 0 | dev->coherent_dma_mask | u32max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 1 | max_scale_int | 64 |
| PARAM_VALUE | 2 | max_scale_nano | 0 |
| PARAM_VALUE | 3 | gain_tbl | 4096-ptr_max |
| PARAM_VALUE | 4 | num_gain | 3 |
| PARAM_VALUE | 5 | tim_tbl | 7893198086797217792 |
| PARAM_VALUE | 6 | num_times | 5 |
| PARAM_VALUE | 7 | gts | 7966931428590403584 |
| PARAM_VALUE | 7 | gts->num_avail_all_scales | 0,3-8,10-1073741823 |
| PARAM_VALUE | 7 | gts->num_avail_time_tables | 0-s32max |
| PARAM_VALUE | 7 | gts->num_hwgain | 0,3-6,10 |
| PARAM_VALUE | 7 | gts->num_itime | 0,2,4-6 |
| BUF_SIZE | 0 | dev | (-1),8,96,248,1296,1616 |
| BUF_SIZE | 0 | dev | (-1),8,96,248,1296,1616 |
| BUF_SIZE | 3 | gain_tbl | 24 |
| BUF_SIZE | 5 | tim_tbl | 60 |
| DATA_SOURCE | 0 | dev | r kunit_device_register |
| NO_OVERFLOW_SIMPLE | 7 | gts->num_avail_time_tables | |
| NO_OVERFLOW_SIMPLE | 7 | gts->num_hwgain | |
| NO_OVERFLOW_SIMPLE | 7 | gts->num_itime | |
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |
drivers/iio/test/iio-test-gts.c test_init_iio_gts_invalid() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-u64max |
| PARAM_VALUE | 0 | dev->coherent_dma_mask | u32max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 1 | max_scale_int | 64 |
| PARAM_VALUE | 2 | max_scale_nano | 0 |
| PARAM_VALUE | 3 | gain_tbl | 4096-ptr_max |
| PARAM_VALUE | 4 | num_gain | 3 |
| PARAM_VALUE | 5 | tim_tbl | 4096-ptr_max |
| PARAM_VALUE | 6 | num_times | 2 |
| PARAM_VALUE | 7 | gts | 7966931428590403584 |
| PARAM_VALUE | 7 | gts->num_avail_all_scales | 0,3-8,10-1073741823 |
| PARAM_VALUE | 7 | gts->num_avail_time_tables | 0-s32max |
| PARAM_VALUE | 7 | gts->num_hwgain | 0,3-6,10 |
| PARAM_VALUE | 7 | gts->num_itime | 0,2,4-6 |
| BUF_SIZE | 0 | dev | (-1),8,96,248,1296,1616 |
| BUF_SIZE | 0 | dev | (-1),8,96,248,1296,1616 |
| BUF_SIZE | 3 | gain_tbl | 24 |
| BUF_SIZE | 5 | tim_tbl | 24 |
| DATA_SOURCE | 0 | dev | r kunit_device_register |
| NO_OVERFLOW_SIMPLE | 7 | gts->num_avail_time_tables | |
| NO_OVERFLOW_SIMPLE | 7 | gts->num_hwgain | |
| NO_OVERFLOW_SIMPLE | 7 | gts->num_itime | |
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |
drivers/iio/light/apds9306.c apds9306_init_iio_gts() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.autosuspend_delay | 5000 |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.qos | 0,4096-u64max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.use_autosuspend | 1 |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 3 | gain_tbl | 3938581369645125632 |
| PARAM_VALUE | 4 | num_gain | 5 |
| PARAM_VALUE | 5 | tim_tbl | 6691740002344378368 |
| PARAM_VALUE | 6 | num_times | 6 |
| PARAM_VALUE | 7 | gts | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | gain_tbl | 40 |
| BUF_SIZE | 5 | tim_tbl | 72 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |
drivers/iio/light/veml6030.c veml6030_hw_init() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | max_scale_int | 2 |
| PARAM_VALUE | 2 | max_scale_nano | 150400000 |
| PARAM_VALUE | 3 | gain_tbl | 1498560839937560576 |
| PARAM_VALUE | 4 | num_gain | 4 |
| PARAM_VALUE | 5 | tim_tbl | 8853647889463660544 |
| PARAM_VALUE | 6 | num_times | 6 |
| PARAM_VALUE | 7 | gts | 4096-ptr_max |
| BUF_SIZE | 3 | gain_tbl | 32 |
| BUF_SIZE | 5 | tim_tbl | 72 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |
drivers/iio/light/veml6030.c veml6035_hw_init() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | max_scale_int | 0 |
| PARAM_VALUE | 2 | max_scale_nano | 409600000 |
| PARAM_VALUE | 3 | gain_tbl | 1329143366952013824 |
| PARAM_VALUE | 4 | num_gain | 6 |
| PARAM_VALUE | 5 | tim_tbl | 8853647889463660544 |
| PARAM_VALUE | 6 | num_times | 6 |
| PARAM_VALUE | 7 | gts | 4096-ptr_max |
| BUF_SIZE | 3 | gain_tbl | 48 |
| BUF_SIZE | 5 | tim_tbl | 72 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |
drivers/iio/light/veml3235.c veml3235_hw_init() -> devm_iio_init_iio_gts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | max_scale_int | 0 |
| PARAM_VALUE | 2 | max_scale_nano | 272640000 |
| PARAM_VALUE | 3 | gain_tbl | 4916622417915494400 |
| PARAM_VALUE | 4 | num_gain | 4 |
| PARAM_VALUE | 5 | tim_tbl | 937784630174175232 |
| PARAM_VALUE | 6 | num_times | 5 |
| PARAM_VALUE | 7 | gts | 4096-ptr_max |
| BUF_SIZE | 3 | gain_tbl | 32 |
| BUF_SIZE | 5 | tim_tbl | 60 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | num_gain | unit_array_size |
| UNITS | 6 | num_times | unit_array_size |