Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/video/backlight/lm3533_bl.c store_als_en() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 1 reg 26
PARAM_COMPARE 2 val <= $3
PARAM_COMPARE 3 mask >= $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/video/backlight/lm3533_bl.c store_linear() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 1 reg 26
PARAM_COMPARE 2 val <= $3
PARAM_COMPARE 3 mask >= $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/mfd/lm3533-ctrlbank.c lm3533_ctrlbank_disable() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 1 reg 39
PARAM_VALUE 2 val 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/mfd/lm3533-ctrlbank.c lm3533_ctrlbank_enable() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 1 reg 39
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte

drivers/mfd/lm3533-core.c lm3533_set_boost_freq() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 0 lm3533 4096-ptr_max
PARAM_VALUE 0 lm3533->dev 4096-ptr_max
PARAM_VALUE 0 lm3533->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 lm3533->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 lm3533->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 lm3533->hwen 4096-ptr_max
PARAM_VALUE 0 lm3533->regmap 0-ptr_max
PARAM_VALUE 1 reg 44
PARAM_VALUE 3 mask 1
BUF_SIZE 0 lm3533->dev 1616
BUF_SIZE 0 lm3533->hwen s32min,(-1),1-s32max
CAPPED_DATA 0 lm3533->hwen 1
DATA_SOURCE 0 lm3533 $0
MEM_ZERO 0 lm3533
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 lm3533->irq

drivers/mfd/lm3533-core.c lm3533_set_boost_ovp() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 0 lm3533 4096-ptr_max
PARAM_VALUE 0 lm3533->dev 4096-ptr_max
PARAM_VALUE 0 lm3533->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 lm3533->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 lm3533->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 lm3533->hwen 4096-ptr_max
PARAM_VALUE 0 lm3533->regmap 4096-ptr_max
PARAM_VALUE 0 lm3533->regmap->async 0
PARAM_VALUE 0 lm3533->regmap->cache_dirty 1
PARAM_VALUE 1 reg 44
PARAM_VALUE 3 mask 6
BUF_SIZE 0 lm3533->dev 1616
BUF_SIZE 0 lm3533->hwen s32min,(-1),1-s32max
CAPPED_DATA 0 lm3533->hwen 1
CAPPED_DATA 0 lm3533->regmap->precious_table->n_no_ranges 1
CAPPED_DATA 0 lm3533->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 lm3533->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 lm3533->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 lm3533->regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 lm3533->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 lm3533->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 lm3533 $0
BIT_INFO 2 val 0x0,0xfffffffe
MEM_ZERO 0 lm3533
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 lm3533->irq

drivers/mfd/lm3533-core.c lm3533_set_hvled_config() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 1 reg 16
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
DATA_SOURCE 0 lm3533 $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/mfd/lm3533-core.c lm3533_set_lvled_config() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 1 reg 16-17
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
DATA_SOURCE 0 lm3533 $0
FUZZY_MAX 1 reg 17
BIT_INFO 1 reg 0x10,0x11
HARD_MAX 1 reg 17
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
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 lm3533_als_disable() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 0 lm3533 4096-ptr_max
PARAM_VALUE 0 lm3533->regmap 4096-ptr_max
PARAM_VALUE 0 lm3533->regmap->async 0
PARAM_VALUE 0 lm3533->regmap->cache_dirty 0-1
PARAM_VALUE 1 reg 49
PARAM_VALUE 2 val 0
PARAM_VALUE 3 mask 1
BUF_SIZE 0 lm3533 s32min-(-1),1-s32max
BUF_SIZE 0 lm3533 s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/iio/light/lm3533-als.c lm3533_als_enable() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 0 lm3533 4096-ptr_max
PARAM_VALUE 0 lm3533->regmap 4096-ptr_max
PARAM_VALUE 0 lm3533->regmap->async 0
PARAM_VALUE 0 lm3533->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 lm3533->regmap->cache_dirty 0-1
PARAM_VALUE 1 reg 49
PARAM_VALUE 2 val 1
PARAM_VALUE 3 mask 1
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
CAPPED_DATA 0 lm3533->regmap->precious_table->n_no_ranges 1
CAPPED_DATA 0 lm3533->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 lm3533->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 lm3533->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 lm3533->regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 lm3533->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 lm3533->regmap->wr_table->n_yes_ranges 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte

drivers/iio/light/lm3533-als.c lm3533_als_set_input_mode() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 0 lm3533 4096-ptr_max
PARAM_VALUE 0 lm3533->regmap->async 0-1
PARAM_VALUE 0 lm3533->regmap->cache_dirty 0-1
PARAM_VALUE 1 reg 49
PARAM_VALUE 2 val 0,2
PARAM_VALUE 3 mask 2
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
FUZZY_MAX 2 val 0
PARAM_COMPARE 2 val <= $3
PARAM_COMPARE 3 mask >= $2
BIT_INFO 2 val 0x0,0x2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte

drivers/iio/light/lm3533-als.c lm3533_als_set_int_mode() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 1 reg 52
PARAM_VALUE 2 val 0-1
PARAM_VALUE 3 mask 1
FUZZY_MAX 2 val 0
PARAM_COMPARE 2 val <= $3
PARAM_COMPARE 3 mask >= $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &of->mutex

drivers/iio/light/lm3533-als.c lm3533_als_setup_irq() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 0 lm3533 4096-ptr_max
PARAM_VALUE 1 reg 52
PARAM_VALUE 2 val 0
PARAM_VALUE 3 mask 1
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
BUF_SIZE 0 lm3533 s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte

drivers/leds/leds-lm3533.c lm3533_led_pattern_enable() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 1 reg 40
PARAM_COMPARE 2 val <= $3
PARAM_COMPARE 3 mask >= $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
LOCK2 &led->mutex
TYPE_LOCK (struct lm3533_led)->mutex

drivers/leds/leds-lm3533.c store_als_channel() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 2 val 0-1
PARAM_VALUE 3 mask 1
DATA_SOURCE 1 reg r lm3533_led_get_lv_reg
FUZZY_MAX 2 val 1
HARD_MAX 2 val 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/leds/leds-lm3533.c store_als_en() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 2 val 0,2
PARAM_VALUE 3 mask 2
DATA_SOURCE 1 reg r lm3533_led_get_lv_reg
FUZZY_MAX 2 val 0
PARAM_COMPARE 2 val <= $3
PARAM_COMPARE 3 mask >= $2
BIT_INFO 2 val 0x0,0x2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/leds/leds-lm3533.c store_linear() -> lm3533_update()

Type Parameter Key Value
PARAM_VALUE 2 val 0,4
PARAM_VALUE 3 mask 4
DATA_SOURCE 1 reg r lm3533_led_get_lv_reg
FUZZY_MAX 2 val 0
PARAM_COMPARE 2 val <= $3
PARAM_COMPARE 3 mask >= $2
BIT_INFO 2 val 0x0,0x4
RX_PATH
TASK_NOT_RUNNING
UNITS 0 lm3533 unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex