Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/test/iio-test-gts.c test_iio_find_closest_gain_low() -> __test_init_iio_gain_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gts | 7966931428590403584 |
| PARAM_VALUE | 2 | g_table | 6188093633748766720 |
| PARAM_VALUE | 3 | num_g | 10 |
| PARAM_VALUE | 4 | i_table | 7893198086797217792 |
| PARAM_VALUE | 5 | num_i | 5 |
| BUF_SIZE | 2 | g_table | 80 |
| BUF_SIZE | 4 | i_table | 60 |
| DATA_SOURCE | 0 | test | $0 |
drivers/iio/test/iio-test-gts.c test_iio_find_closest_gain_low() -> __test_init_iio_gain_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 3130991638909333504,8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99,335 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->log->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | gts | 7966931428590403584 |
| PARAM_VALUE | 1 | gts->avail_all_scales_table | 4096-ptr_max |
| PARAM_VALUE | 1 | gts->avail_time_tables | 4096-ptr_max |
| PARAM_VALUE | 1 | gts->hwgain_table | 0 |
| PARAM_VALUE | 1 | gts->itime_table | 0 |
| PARAM_VALUE | 1 | gts->num_avail_all_scales | 3-8,10-1073741823 |
| PARAM_VALUE | 1 | gts->num_avail_time_tables | 1-s32max |
| PARAM_VALUE | 1 | gts->num_hwgain | 0 |
| PARAM_VALUE | 1 | gts->num_itime | 0 |
| PARAM_VALUE | 1 | gts->per_time_avail_scale_tables | 4096-ptr_max |
| PARAM_VALUE | 2 | g_table | 4096-ptr_max |
| PARAM_VALUE | 3 | num_g | 3 |
| PARAM_VALUE | 4 | i_table | 7893198086797217792 |
| PARAM_VALUE | 5 | num_i | 5 |
| BUF_SIZE | 0 | test->last_seen.file | (-1),32 |
| BUF_SIZE | 2 | g_table | 24 |
| BUF_SIZE | 4 | i_table | 60 |
| DATA_SOURCE | 0 | test | $0 |
| FUZZY_MAX | 0 | test->last_seen.line | 335 |
| STR_LEN | 0 | test->last_seen.file | (-1),31 |
| MEM_ZERO | 1 | gts | |
| NO_OVERFLOW_SIMPLE | 1 | gts->num_avail_time_tables | |
| NO_OVERFLOW_SIMPLE | 1 | gts->num_hwgain | |
| NO_OVERFLOW_SIMPLE | 1 | gts->num_itime | |
| UNITS | 3 | num_g | unit_array_size |
| UNITS | 5 | num_i | unit_array_size |
drivers/iio/test/iio-test-gts.c test_iio_gts_avail_test() -> __test_init_iio_gain_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gts | 7966931428590403584 |
| PARAM_VALUE | 2 | g_table | 6188093633748766720 |
| PARAM_VALUE | 3 | num_g | 10 |
| PARAM_VALUE | 4 | i_table | 7893198086797217792 |
| PARAM_VALUE | 5 | num_i | 5 |
| BUF_SIZE | 2 | g_table | 80 |
| BUF_SIZE | 4 | i_table | 60 |
| DATA_SOURCE | 0 | test | $0 |
drivers/iio/test/iio-test-gts.c test_iio_gts_find_gain_for_scale_using_time() -> __test_init_iio_gain_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gts | 7966931428590403584 |
| PARAM_VALUE | 2 | g_table | 6188093633748766720 |
| PARAM_VALUE | 3 | num_g | 10 |
| PARAM_VALUE | 4 | i_table | 7893198086797217792 |
| PARAM_VALUE | 5 | num_i | 5 |
| BUF_SIZE | 2 | g_table | 80 |
| BUF_SIZE | 4 | i_table | 60 |
| DATA_SOURCE | 0 | test | $0 |
drivers/iio/test/iio-test-gts.c test_iio_gts_find_new_gain_sel_by_old_gain_time() -> __test_init_iio_gain_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gts | 7966931428590403584 |
| PARAM_VALUE | 2 | g_table | 6188093633748766720 |
| PARAM_VALUE | 3 | num_g | 10 |
| PARAM_VALUE | 4 | i_table | 7893198086797217792 |
| PARAM_VALUE | 5 | num_i | 5 |
| BUF_SIZE | 2 | g_table | 80 |
| BUF_SIZE | 4 | i_table | 60 |
| DATA_SOURCE | 0 | test | $0 |
drivers/iio/test/iio-test-gts.c test_iio_gts_total_gain_to_scale() -> __test_init_iio_gain_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gts | 7966931428590403584 |
| PARAM_VALUE | 2 | g_table | 6188093633748766720 |
| PARAM_VALUE | 3 | num_g | 10 |
| PARAM_VALUE | 4 | i_table | 7893198086797217792 |
| PARAM_VALUE | 5 | num_i | 5 |
| BUF_SIZE | 2 | g_table | 80 |
| BUF_SIZE | 4 | i_table | 60 |
| DATA_SOURCE | 0 | test | $0 |