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_scale() -> rescale_process_scale()

Type Parameter Key Value
PARAM_VALUE 0 rescale 2101698836825387008
PARAM_VALUE 0 rescale->denominator (-8060),(-10),0,2-3,6,20,53,509,4096,8060,32768,1373754273
PARAM_VALUE 0 rescale->numerator (-1000000),(-42),(-16),(-8),(-6),(-2)-2,5-6,8,16,42,90,261,760-761,1000000,s32max
PARAM_VALUE 0 rescale->offset (-12345),(-1234),0,1234
PARAM_VALUE 2 val 3753470548695736320
PARAM_VALUE 2 *val (-4096),(-10),0-1,3,5,10,12,15,42,90,123,261,427,4096,s32max
PARAM_VALUE 3 val2 3753470548695736324
PARAM_VALUE 3 *val2 (-123456),0-1,3-4,16,20,22,34,509,1234,2727,10000,123456,123456789,1373754273,s32max
BUF_SIZE 2 val 8

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

Type Parameter Key Value
PARAM_VALUE 0 rescale 4096-ptr_max
PARAM_VALUE 0 rescale->source 4096-ptr_max
PARAM_VALUE 0 rescale->source->indio_dev 4096-ptr_max
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.hsdev->mutex_ptr->dep_map->name 0-255
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.hsdev->mutex_ptr->wait_lock.owner (-1)
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.hsdev->pending.attr_usage_id 2098307
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.hsdev->pending.max_raw_size 1-16
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.hsdev->pending.raw_data 8426096008951119872
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.hsdev->pending.ready.done 0-4294967293,4294967295
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.deferred_resume 0-1
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.disable_depth 0-7
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.idle_notification 0-1
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.last_status (-1)
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.request 0-4
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.request_pending 0-1
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.runtime_status 0,2
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.use_autosuspend 1
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.runtime_pm_enable.counter 0-s32max
PARAM_VALUE 0 rescale->source->indio_dev->priv->common_attributes.user_requested_state.counter s32min-s32max
PARAM_VALUE 0 rescale->source->indio_dev->priv->lock.dep_map->name 0-255
PARAM_VALUE 0 rescale->source->indio_dev->priv->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rescale->source->indio_dev->priv->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rescale->source->indio_dev->priv->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rescale->source->indio_dev->priv->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rescale->source->indio_dev->priv->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rescale->source->indio_dev->priv->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rescale->source->indio_dev->priv->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rescale->source->indio_dev->priv->regmap->cache_dirty 0-1
PARAM_VALUE 0 *rescale->source->indio_dev->priv->common_attributes.hsdev->pending.raw_data 0-255
PARAM_VALUE 0 *rescale->source->indio_dev->priv->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 3 val2 1-u64max
BUF_SIZE 2 val (-1),16
BUF_SIZE 2 val (-1),16
BUF_SIZE 3 val2 (-1),4,12
BUF_SIZE 3 val2 (-1),4,12
DATA_SOURCE 2 val $2
DATA_SOURCE 3 val2 $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock