Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/iio/dac/ti-dac7311.c ti_dac_write_powerdown() -> ti_dac_cmd()

Type Parameter Key Value
PARAM_VALUE 0 ti_dac->lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ti_dac->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ti_dac->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 val 0
CAPPED_DATA 0 &ti_dac->lock 1
DATA_SOURCE 1 cmd r ti_dac_get_power
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ti_dac->lock
TYPE_LOCK (struct ti_dac_chip)->lock

drivers/iio/dac/ti-dac7311.c ti_dac_write_raw() -> ti_dac_cmd()

Type Parameter Key Value
PARAM_VALUE 0 ti_dac 4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ti_dac->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ti_dac->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ti_dac->powerdown 0
PARAM_VALUE 1 cmd 0
CAPPED_DATA 0 &ti_dac->lock 1
CAPPED_DATA 2 val 1
DATA_SOURCE 1 cmd r ti_dac_get_power
DATA_SOURCE 2 val $2
PARAM_COMPARE 0 ti_dac->val != $2
PARAM_COMPARE 2 val != $0->val
NOSPEC 2 val
NOSPEC 2 val
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 val 0-u16max[c]
LOCK2 0 &ti_dac->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct ti_dac_chip)->lock

drivers/iio/dac/ti-dac082s085.c ti_dac_probe() -> ti_dac_cmd()

Type Parameter Key Value
PARAM_VALUE 0 ti_dac 4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.first_waiter 0
PARAM_VALUE 0 ti_dac->lock.magic 4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.osq.tail.counter 0
PARAM_VALUE 0 ti_dac->lock.owner.counter 0
PARAM_VALUE 0 ti_dac->mesg.actual_length 0
PARAM_VALUE 0 ti_dac->mesg.complete 0
PARAM_VALUE 0 ti_dac->mesg.context 0
PARAM_VALUE 0 ti_dac->mesg.frame_length 0
PARAM_VALUE 0 ti_dac->mesg.offload 0
PARAM_VALUE 0 ti_dac->mesg.opt_state 0
PARAM_VALUE 0 ti_dac->mesg.optimized 0
PARAM_VALUE 0 ti_dac->mesg.pre_optimized 0
PARAM_VALUE 0 ti_dac->mesg.prepared 0
PARAM_VALUE 0 ti_dac->mesg.queue.next 0
PARAM_VALUE 0 ti_dac->mesg.queue.prev 0
PARAM_VALUE 0 ti_dac->mesg.spi 4096-ptr_max
PARAM_VALUE 0 ti_dac->mesg.spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ti_dac->mesg.spi->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 ti_dac->mesg.spi->irq 0-s32max
PARAM_VALUE 0 ti_dac->mesg.state 0
PARAM_VALUE 0 ti_dac->mesg.status 0
PARAM_VALUE 0 ti_dac->mesg.transfers.prev 4096-ptr_max
PARAM_VALUE 0 ti_dac->mesg.transfers.prev->next 4096-ptr_max
PARAM_VALUE 0 ti_dac->mesg.transfers.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ti_dac->resolution 8,10,12
PARAM_VALUE 0 ti_dac->vref 4096-ptr_max
PARAM_VALUE 0 ti_dac->vref->enable_count 0-4294967295
PARAM_VALUE 0 ti_dac->vref->rdev 4096-ptr_max
PARAM_VALUE 0 ti_dac->vref->rdev->ena_gpio_state 1
PARAM_VALUE 0 ti_dac->vref->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 ti_dac->vref->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 ti_dac->vref->rdev->reg_data->load 0-4294967295
PARAM_VALUE 0 ti_dac->vref->rdev->reg_data->load_updated 0-1
PARAM_VALUE 0 ti_dac->vref->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ti_dac->vref->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ti_dac->vref->rdev->reg_data->lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->vref->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 ti_dac->vref->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 ti_dac->vref->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 ti_dac->vref->rdev->regmap->async 0-1
PARAM_VALUE 0 ti_dac->vref->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 ti_dac->vref->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 ti_dac->vref->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 ti_dac->vref->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 ti_dac->vref->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 ti_dac->vref->rdev->use_count 0-4294967295
PARAM_VALUE 0 ti_dac->xfer.len 2
PARAM_VALUE 0 ti_dac->xfer.tx_buf 4096-ptr_max
PARAM_VALUE 1 cmd 32
PARAM_VALUE 2 val 0
BUF_SIZE 0 ti_dac->vref s32min,(-1)-s32max
BUF_SIZE 0 ti_dac->xfer.tx_buf 2
CAPPED_DATA 0 ti_dac->vref->rdev 1
CAPPED_DATA 0 ti_dac->vref->rdev->coupling_desc.n_coupled 1
MEM_ZERO 0 &ti_dac->mesg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/dac/ti-dac082s085.c ti_dac_set_powerdown_mode() -> ti_dac_cmd()

Type Parameter Key Value
PARAM_VALUE 0 ti_dac 4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ti_dac->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ti_dac->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ti_dac->powerdown 1
PARAM_VALUE 2 val 0
CAPPED_DATA 0 &ti_dac->lock 1
CAPPED_DATA 1 cmd 1
BIT_INFO 1 cmd 0x30,0xfffffff0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ti_dac->lock
TYPE_LOCK (struct ti_dac_chip)->lock

drivers/iio/dac/ti-dac082s085.c ti_dac_write_powerdown() -> ti_dac_cmd()

Type Parameter Key Value
PARAM_VALUE 0 ti_dac 4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ti_dac->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ti_dac->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 val 0
CAPPED_DATA 0 &ti_dac->lock 1
BIT_INFO 1 cmd 0x30,0xfffffff0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ti_dac->lock
TYPE_LOCK (struct ti_dac_chip)->lock

drivers/iio/dac/ti-dac082s085.c ti_dac_write_powerdown() -> ti_dac_cmd()

Type Parameter Key Value
PARAM_VALUE 0 ti_dac 4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ti_dac->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ti_dac->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ti_dac->val 4096-ptr_max
PARAM_VALUE 1 cmd 16
CAPPED_DATA 0 &ti_dac->lock 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ti_dac->lock
TYPE_LOCK (struct ti_dac_chip)->lock

drivers/iio/dac/ti-dac082s085.c ti_dac_write_raw() -> ti_dac_cmd()

Type Parameter Key Value
PARAM_VALUE 0 ti_dac 4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ti_dac->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ti_dac->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ti_dac->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ti_dac->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ti_dac->powerdown 0
PARAM_VALUE 0 ti_dac->val 4096-ptr_max
CAPPED_DATA 0 &ti_dac->lock 1
CAPPED_DATA 2 val 1
DATA_SOURCE 2 val $2
BIT_INFO 1 cmd 0x10,0xffffffd0
NOSPEC 2 val
NOSPEC 2 val
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 val 0-u16max[c]
LOCK2 0 &ti_dac->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct ti_dac_chip)->lock