Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/dac/ad5592r-base.c ad5592r_gpio_direction_input() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
DATA_SOURCE 0 st r gpiochip_get_data
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+899) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 _T->flags

drivers/iio/dac/ad5592r-base.c ad5592r_gpio_direction_input() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops 4096-ptr_max
PARAM_VALUE 1 reg 10
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
DATA_SOURCE 0 st r gpiochip_get_data
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+900) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 _T->flags

drivers/iio/dac/ad5592r-base.c ad5592r_gpio_direction_output() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops 4096-ptr_max
PARAM_VALUE 1 reg 9
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
DATA_SOURCE 0 st r gpiochip_get_data
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+901) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_gpio_direction_output() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
DATA_SOURCE 0 st r gpiochip_get_data
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+899) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_gpio_direction_output() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops 4096-ptr_max
PARAM_VALUE 1 reg 10
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
DATA_SOURCE 0 st r gpiochip_get_data
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+900) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_gpio_set() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops 4096-ptr_max
PARAM_VALUE 1 reg 9
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
DATA_SOURCE 0 st r gpiochip_get_data
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+901) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_probe() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->dev 4096-ptr_max
PARAM_VALUE 0 st->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 st->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 st->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 st->lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.first_waiter 0
PARAM_VALUE 0 st->lock.magic 4096-ptr_max
PARAM_VALUE 0 st->lock.osq.tail.counter 0
PARAM_VALUE 0 st->lock.owner.counter 0
PARAM_VALUE 0 st->num_channels 8
PARAM_VALUE 0 st->ops 664629768328314880,7909358863396687872
PARAM_VALUE 0 st->reg 0,4096-ptr_max
PARAM_VALUE 0 st->reg->enable_count 0-4294967295
PARAM_VALUE 0 st->reg->rdev 4096-ptr_max
PARAM_VALUE 0 st->reg->rdev->ena_gpio_state 1
PARAM_VALUE 0 st->reg->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 st->reg->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 st->reg->rdev->reg_data->enabled_updated 0
PARAM_VALUE 0 st->reg->rdev->reg_data->load 0-4294967295
PARAM_VALUE 0 st->reg->rdev->reg_data->load_updated 0-1
PARAM_VALUE 0 st->reg->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 st->reg->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.dep_map->name 0-255
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 st->reg->rdev->reg_data->regmap->async 0
PARAM_VALUE 0 st->reg->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 st->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 st->reg->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 st->reg->rdev->reg_data->regmap->cache_dirty 0-1
PARAM_VALUE 0 st->reg->rdev->reg_data->uv_updated 0
PARAM_VALUE 0 st->reg->rdev->regmap->async 0-1
PARAM_VALUE 0 st->reg->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 st->reg->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 st->reg->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 st->reg->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 st->reg->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 st->reg->rdev->use_count 0-4294967295
PARAM_VALUE 1 reg 11
PARAM_VALUE 2 value 0,512
BUF_SIZE 0 st->reg s32min,(-1)-s32max
CAPPED_DATA 0 st->reg->rdev 1
FUZZY_MAX 2 value 512
BIT_INFO 2 value 0x0,0x200
HARD_MAX 2 value 512
RX_PATH
TASK_NOT_RUNNING

drivers/iio/dac/ad5592r-base.c ad5592r_reset() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->dev 4096-ptr_max
PARAM_VALUE 0 st->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 st->lock.dep_map->name 0-255
PARAM_VALUE 0 st->lock.first_waiter 0
PARAM_VALUE 0 st->lock.magic 4096-ptr_max
PARAM_VALUE 0 st->lock.osq.tail.counter 0
PARAM_VALUE 0 st->lock.owner.counter 0
PARAM_VALUE 0 st->num_channels 8
PARAM_VALUE 0 st->ops 664629768328314880,7909358863396687872
PARAM_VALUE 0 st->reg 0,4096-ptr_max
PARAM_VALUE 0 st->reg->enable_count 0-4294967295
PARAM_VALUE 0 st->reg->rdev->ena_gpio_state 1
PARAM_VALUE 0 st->reg->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 st->reg->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 st->reg->rdev->reg_data->load 0-4294967295
PARAM_VALUE 0 st->reg->rdev->reg_data->load_updated 0-1
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.dep_map->name 0-255
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 st->reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 st->reg->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 st->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 st->reg->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 st->reg->rdev->reg_data->regmap->cache_dirty 0-1
PARAM_VALUE 0 st->reg->rdev->regmap->async 0-1
PARAM_VALUE 0 st->reg->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 st->reg->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 st->reg->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 st->reg->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 st->reg->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 st->reg->rdev->use_count 0-4294967295
PARAM_VALUE 1 reg 15
PARAM_VALUE 2 value 3500
BUF_SIZE 0 st->reg s32min,(-1)-s32max
CAPPED_DATA 0 st->reg->rdev 1
DATA_SOURCE 0 st $0
CONTAINER 0 -16-840+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_set_channel_modes() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops->reg_write 4096-ptr_max
PARAM_VALUE 1 reg 6
BUF_SIZE 0 st->reg s32min,(-1)-s32max
CAPPED_DATA 0 st->num_channels 1
DATA_SOURCE 0 st $0
CONTAINER 0 -16-840+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_set_channel_modes() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops->reg_write 4096-ptr_max
PARAM_VALUE 1 reg 13
BUF_SIZE 0 st->reg s32min,(-1)-s32max
CAPPED_DATA 0 st->num_channels 1
DATA_SOURCE 0 st $0
CONTAINER 0 -16-840+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_set_channel_modes() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops->reg_write 4096-ptr_max
PARAM_VALUE 1 reg 5
BUF_SIZE 0 st->reg s32min,(-1)-s32max
CAPPED_DATA 0 st->num_channels 1
DATA_SOURCE 0 st $0
CONTAINER 0 -16-840+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_set_channel_modes() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops->reg_write 4096-ptr_max
PARAM_VALUE 1 reg 4
BUF_SIZE 0 st->reg s32min,(-1)-s32max
CAPPED_DATA 0 st->num_channels 1
DATA_SOURCE 0 st $0
CONTAINER 0 -16-840+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_set_channel_modes() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops->reg_write 4096-ptr_max
PARAM_VALUE 1 reg 9
BUF_SIZE 0 st->reg s32min,(-1)-s32max
CAPPED_DATA 0 st->num_channels 1
DATA_SOURCE 0 st $0
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+901) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_set_channel_modes() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops->reg_write 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 st->reg s32min,(-1)-s32max
CAPPED_DATA 0 st->num_channels 1
DATA_SOURCE 0 st $0
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+899) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_set_channel_modes() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops->reg_write 4096-ptr_max
PARAM_VALUE 1 reg 10
BUF_SIZE 0 st->reg s32min,(-1)-s32max
CAPPED_DATA 0 st->num_channels 1
DATA_SOURCE 0 st $0
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+900) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/iio/dac/ad5592r-base.c ad5592r_write_raw() -> (struct ad5592r_rw_ops)->reg_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->ops 4096-ptr_max
PARAM_VALUE 0 st->scale_avail 4096-ptr_max
PARAM_VALUE 1 reg 3
CONTAINER 0 -16-840+0 $(-1)
CONTAINER 2 *(-16-840+880) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex