Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c thc_i2c_subip_pio_read() -> prepare_pio()

Type Parameter Key Value
PARAM_VALUE 0 dev->dma_ctx->use_write_interrupts 0-1
PARAM_VALUE 0 dev->thc_bus_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner (-1)
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->thc_regmap->async 0-1
PARAM_VALUE 0 dev->thc_regmap->cache_dirty 0-1
PARAM_VALUE 1 pio_op 18
PARAM_VALUE 2 address 0,4,20,24,28,32,36,40,48,56,60,108,124,136,140,144
PARAM_VALUE 3 size 1-u32max
BUF_SIZE 0 dev (-1),408
BUF_SIZE 0 dev (-1),408
BUF_SIZE 0 dev->dev (-1),1616
CAPPED_DATA 0 &dev->thc_bus_lock 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 address $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &dev->thc_bus_lock
TYPE_LOCK (struct thc_device)->thc_bus_lock

drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c thc_i2c_subip_pio_write() -> prepare_pio()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
PARAM_VALUE 0 dev->dma_ctx->use_write_interrupts 0-1
PARAM_VALUE 0 dev->thc_bus_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner (-1)
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->thc_regmap->async 0
PARAM_VALUE 0 dev->thc_regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 dev->thc_regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 dev->thc_regmap->cache_dirty 0-1
PARAM_VALUE 1 pio_op 19
PARAM_VALUE 2 address 0,4,20,24,28,32,36,40,48,56,60,108,124,136,140,144
PARAM_VALUE 3 size 4
BUF_SIZE 0 dev (-1),408
BUF_SIZE 0 dev (-1),408
BUF_SIZE 0 dev->dev (-1),1616
CAPPED_DATA 0 dev->thc_regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 dev->thc_regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 &dev->thc_bus_lock 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 address $1
DATA_SOURCE 3 size $2
FUZZY_MAX 2 address 40
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
LOCK2 0 &dev->thc_bus_lock
TYPE_LOCK (struct thc_device)->thc_bus_lock

drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c thc_tic_pio_read() -> prepare_pio()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dma_ctx->use_write_interrupts 0-1
PARAM_VALUE 0 dev->thc_bus_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner (-1)
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->thc_regmap 4096-ptr_max
PARAM_VALUE 0 dev->thc_regmap->async 0
PARAM_VALUE 0 dev->thc_regmap->cache->cached_rbnode->node.__rb_parent_color 0-1,4096-s64max
PARAM_VALUE 0 dev->thc_regmap->cache_dirty 0-1
PARAM_VALUE 1 pio_op 4,20
PARAM_VALUE 3 size 2,4,28
CAPPED_DATA 0 dev->thc_regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 dev->thc_regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 dev->thc_regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 &dev->thc_bus_lock 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 address $1
DATA_SOURCE 3 size $2
FUZZY_MAX 1 pio_op 20
BIT_INFO 1 pio_op 0x4,0x14
HARD_MAX 1 pio_op 20
HARD_MAX 3 size 28
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->dev->power.wakeirq->irq
UNITS 3 size unit_byte
LOCK2 0 &dev->thc_bus_lock
TYPE_LOCK (struct thc_device)->thc_bus_lock

drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c thc_tic_pio_write() -> prepare_pio()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dma_ctx->use_write_interrupts 0-1
PARAM_VALUE 0 dev->thc_bus_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner (-1)
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->thc_regmap 4096-ptr_max
PARAM_VALUE 0 dev->thc_regmap->async 0
PARAM_VALUE 0 dev->thc_regmap->cache->cached_rbnode->node.__rb_parent_color 0-1,4096-s64max
PARAM_VALUE 0 dev->thc_regmap->cache_dirty 0-1
PARAM_VALUE 0 dev->thc_regmap->lock 0-s64max
PARAM_VALUE 0 dev->thc_regmap->unlock 0-s64max
PARAM_VALUE 1 pio_op 6,24
PARAM_VALUE 3 size 4
CAPPED_DATA 0 dev->thc_regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 dev->thc_regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 dev->thc_regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 dev->thc_regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 &dev->thc_bus_lock 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 address $1
DATA_SOURCE 3 size $2
FUZZY_MAX 1 pio_op 24
BIT_INFO 1 pio_op 0x0,0x1e
HARD_MAX 1 pio_op 24
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
LOCK2 0 &dev->thc_bus_lock
TYPE_LOCK (struct thc_device)->thc_bus_lock

drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c thc_tic_pio_write_and_read() -> prepare_pio()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev 4096-ptr_max
PARAM_VALUE 0 dev->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev->dma_mask 4096-ptr_max
PARAM_VALUE 0 dev->dev->msi.data 1-u64max
PARAM_VALUE 0 dev->dev->power.request 0-4
PARAM_VALUE 0 dev->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->dma_ctx 4096-ptr_max
PARAM_VALUE 0 dev->dma_ctx->dma_config 4096-ptr_max
PARAM_VALUE 0 dev->dma_ctx->use_write_interrupts 1
PARAM_VALUE 0 dev->i2c_subip_regs 1-u64max
PARAM_VALUE 0 dev->mmio_addr 4096-ptr_max
PARAM_VALUE 0 dev->pio_int_supported 0
PARAM_VALUE 0 dev->port_type 1
PARAM_VALUE 0 dev->swdma_complete_wait.head.next 4096-ptr_max
PARAM_VALUE 0 dev->swdma_complete_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->swdma_complete_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 dev->swdma_complete_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->swdma_complete_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->thc_bus_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->thc_bus_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->thc_bus_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner (-1)
PARAM_VALUE 0 dev->thc_bus_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->thc_regmap 4096-ptr_max
PARAM_VALUE 0 dev->thc_regmap->async 0
PARAM_VALUE 0 dev->thc_regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 dev->thc_regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 dev->thc_regmap->cache->cached_rbnode->node.__rb_parent_color 0-1,4096-s64max
PARAM_VALUE 0 dev->thc_regmap->cache_dirty 0-1
PARAM_VALUE 0 dev->write_complete_wait.head.next 4096-ptr_max
PARAM_VALUE 0 dev->write_complete_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->write_complete_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 dev->write_complete_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->write_complete_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 *dev->thc_regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 pio_op 28
PARAM_VALUE 3 size 30
CAPPED_DATA 0 dev->thc_regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 dev->thc_regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 dev->thc_regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 dev->thc_regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 &dev->thc_bus_lock 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 address $1
DATA_SOURCE 3 size $4
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
LOCK2 0 &dev->thc_bus_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct thc_device)->thc_bus_lock