Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/light/lm3533-als.c lm3533_als_get_hysteresis() -> lm3533_als_get_threshold()

Type Parameter Key Value
PARAM_VALUE 0 indio_dev 4096-ptr_max
PARAM_VALUE 1 nr 0-3
PARAM_VALUE 2 raising 0
PARAM_VALUE 3 val 8592638653064204288
DATA_SOURCE 0 indio_dev $0
DATA_SOURCE 1 nr $1
FUZZY_MAX 1 nr 3
HARD_MAX 1 nr 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &als->thresh_mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct lm3533_als)->thresh_mutex

drivers/iio/light/lm3533-als.c lm3533_als_get_hysteresis() -> lm3533_als_get_threshold()

Type Parameter Key Value
PARAM_VALUE 0 indio_dev 4096-ptr_max
PARAM_VALUE 0 *indio_dev->priv->lm3533->regmap->cache->data 0-4294967295
PARAM_VALUE 1 nr 0-3
PARAM_VALUE 2 raising 1
PARAM_VALUE 3 val 163019853164572672
DATA_SOURCE 0 indio_dev $0
DATA_SOURCE 1 nr $1
FUZZY_MAX 1 nr 3
HARD_MAX 1 nr 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &als->thresh_mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct lm3533_als)->thresh_mutex

drivers/iio/light/lm3533-als.c show_als_attr() -> lm3533_als_get_threshold()

Type Parameter Key Value
PARAM_VALUE 0 indio_dev 4096-ptr_max
PARAM_VALUE 2 raising 0
PARAM_VALUE 3 val 6562777373955743744
DATA_SOURCE 0 indio_dev r dev_to_iio_dev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/iio/light/lm3533-als.c show_als_attr() -> lm3533_als_get_threshold()

Type Parameter Key Value
PARAM_VALUE 0 indio_dev 4096-ptr_max
PARAM_VALUE 2 raising 1
PARAM_VALUE 3 val 6562777373955743744
DATA_SOURCE 0 indio_dev r dev_to_iio_dev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex