Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/iio/test/iio-test-rescale.c iio_rescale_test_offset() -> rescale_process_offset()

Type Parameter Key Value
PARAM_VALUE 0 rescale 3404361622195613696
PARAM_VALUE 0 rescale->offset (-12345),(-1234),0,1234
PARAM_VALUE 5 val 6851812456543055872
PARAM_VALUE 5 *val (-4096),(-10),0-1,3,5,10,12,15,42,90,123,261,427,4096,s32max
PARAM_VALUE 6 val2 6851812456543055876
PARAM_VALUE 6 *val2 (-123456),0-1,3-4,16,20,22,34,509,1234,2727,10000,123456,123456789,1373754273,s32max
BUF_SIZE 5 val 8

drivers/iio/afe/iio-rescale.c rescale_read_raw() -> rescale_process_offset()

Type Parameter Key Value
PARAM_VALUE 0 rescale 4096-ptr_max
PARAM_VALUE 6 val2 1-u64max
BUF_SIZE 5 val (-1),16
BUF_SIZE 5 val (-1),16
BUF_SIZE 6 val2 (-1),4,12
BUF_SIZE 6 val2 (-1),4,12
DATA_SOURCE 1 scale_type r iio_read_channel_scale
DATA_SOURCE 5 val $2
DATA_SOURCE 6 val2 $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/iio/afe/iio-rescale.c rescale_read_raw() -> rescale_process_offset()

Type Parameter Key Value
PARAM_VALUE 0 rescale 4096-ptr_max
PARAM_VALUE 1 scale_type 10
PARAM_VALUE 2 scale 1
PARAM_VALUE 3 scale2 1
PARAM_VALUE 6 val2 1-u64max
BUF_SIZE 5 val (-1),16
BUF_SIZE 5 val (-1),16
BUF_SIZE 6 val2 (-1),4,12
BUF_SIZE 6 val2 (-1),4,12
DATA_SOURCE 5 val $2
DATA_SOURCE 6 val2 $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock