Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/char/tpm/tpm_tis_core.c __tpm_tis_disable_interrupts() -> tpm_tis_write32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->phy_ops 4096-ptr_max
PARAM_VALUE 0 data->phy_ops->read_bytes 4096-ptr_max
PARAM_VALUE 1 addr 0,8-s32max,2147483656-4294963208
PARAM_VALUE 2 value 0-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BIT_INFO 1 addr 0x8,0xfffff008
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 value 0-255[c]
UNITS 0 data unit_byte

drivers/char/tpm/tpm_tis_core.c tis_int_handler() -> tpm_tis_write32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->locality s32min-s32max
PARAM_VALUE 0 data->locality_count 0-4294967295
PARAM_VALUE 0 data->locality_count_mutex.dep_map->name 0-255
PARAM_VALUE 0 data->locality_count_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 data->locality_count_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 data->locality_count_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 data->locality_count_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 data->phy_ops 4096-ptr_max
PARAM_VALUE 0 data->phy_ops->read_bytes 4096-ptr_max
PARAM_VALUE 1 addr 0,16-s32max
PARAM_VALUE 2 value 1-u32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BIT_INFO 1 addr 0x10,0xfffff010
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 value 1-255
UNITS 0 data unit_byte

drivers/char/tpm/tpm_tis_core.c tpm_tis_core_init() -> tpm_tis_write32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->chip 4096-ptr_max
PARAM_VALUE 0 data->chip->cdev.count 0
PARAM_VALUE 0 data->chip->cdev.dev 0
PARAM_VALUE 0 data->chip->cdev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 data->chip->cdev.kobj.kset 0
PARAM_VALUE 0 data->chip->cdev.kobj.ktype 1499647686170447872
PARAM_VALUE 0 data->chip->cdev.kobj.name 0
PARAM_VALUE 0 data->chip->cdev.kobj.parent 0
PARAM_VALUE 0 data->chip->cdev.kobj.release.cpu 0
PARAM_VALUE 0 data->chip->cdev.kobj.release.work.func 0
PARAM_VALUE 0 data->chip->cdev.kobj.release.wq 0
PARAM_VALUE 0 data->chip->cdev.kobj.sd 0
PARAM_VALUE 0 data->chip->cdev.kobj.state_in_sysfs 0
PARAM_VALUE 0 data->chip->cdev.kobj.uevent_suppress 0
PARAM_VALUE 0 data->chip->cdev.list.next 4096-ptr_max
PARAM_VALUE 0 data->chip->cdev.list.prev 4096-ptr_max
PARAM_VALUE 0 data->chip->cdev.ops 6127033536071868416
PARAM_VALUE 0 data->chip->cdev.owner 0
PARAM_VALUE 0 data->chip->dev.class 6166208466010873856
PARAM_VALUE 0 data->chip->dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 data->chip->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.dma_uses_io_tlb 0
PARAM_VALUE 0 data->chip->dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 data->chip->dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 data->chip->dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 data->chip->dev.kobj.name 1-u64max
PARAM_VALUE 0 data->chip->dev.kobj.state_in_sysfs 0
PARAM_VALUE 0 data->chip->dev.kobj.state_initialized 1
PARAM_VALUE 0 data->chip->dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.links.status 0
PARAM_VALUE 0 data->chip->dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.numa_node (-1)
PARAM_VALUE 0 data->chip->dev.parent 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.power.deferred_resume 0
PARAM_VALUE 0 data->chip->dev.power.disable_depth 1
PARAM_VALUE 0 data->chip->dev.power.early_init 1
PARAM_VALUE 0 data->chip->dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.power.idle_notification 0
PARAM_VALUE 0 data->chip->dev.power.ignore_children 0
PARAM_VALUE 0 data->chip->dev.power.is_late_suspended 0
PARAM_VALUE 0 data->chip->dev.power.is_prepared 0
PARAM_VALUE 0 data->chip->dev.power.is_suspended 0
PARAM_VALUE 0 data->chip->dev.power.last_status (-1)
PARAM_VALUE 0 data->chip->dev.power.qos 0
PARAM_VALUE 0 data->chip->dev.power.request 0
PARAM_VALUE 0 data->chip->dev.power.request_pending 0
PARAM_VALUE 0 data->chip->dev.power.runtime_auto 1
PARAM_VALUE 0 data->chip->dev.power.runtime_error 0
PARAM_VALUE 0 data->chip->dev.power.runtime_status 2
PARAM_VALUE 0 data->chip->dev.power.timer_expires 0
PARAM_VALUE 0 data->chip->dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 data->chip->dev.release 3169904972951449600
PARAM_VALUE 0 data->chip->dev_num 0-s32max
PARAM_VALUE 0 data->chip->hwrng.quality 0
PARAM_VALUE 0 data->chip->locality (-1)
PARAM_VALUE 0 data->chip->ops 7635111729754771456
PARAM_VALUE 0 data->chip->ops_sem.count.counter 0
PARAM_VALUE 0 data->chip->ops_sem.first_waiter 0
PARAM_VALUE 0 data->chip->ops_sem.magic 4096-ptr_max
PARAM_VALUE 0 data->chip->ops_sem.osq.tail.counter 0
PARAM_VALUE 0 data->chip->ops_sem.owner.counter 0
PARAM_VALUE 0 data->chip->timeout_a 0-536870912
PARAM_VALUE 0 data->chip->timeout_b 0-536870912
PARAM_VALUE 0 data->chip->timeout_c 0-536870912
PARAM_VALUE 0 data->chip->timeout_d 0-536870912
PARAM_VALUE 0 data->chip->tpm_mutex.first_waiter 0
PARAM_VALUE 0 data->chip->tpm_mutex.magic 4096-ptr_max
PARAM_VALUE 0 data->chip->tpm_mutex.osq.tail.counter 0
PARAM_VALUE 0 data->chip->tpm_mutex.owner.counter 0
PARAM_VALUE 0 data->chip->work_space.buf_size 16384
PARAM_VALUE 0 data->chip->work_space.context_buf 4096-ptr_max
PARAM_VALUE 0 data->chip->work_space.session_buf 4096-ptr_max
PARAM_VALUE 0 data->did_vid 0
PARAM_VALUE 0 data->ilb_base_addr 0,4096-ptr_max
PARAM_VALUE 0 data->locality_count 0
PARAM_VALUE 0 data->locality_count_mutex.dep_map->name 0-255
PARAM_VALUE 0 data->locality_count_mutex.first_waiter 0
PARAM_VALUE 0 data->locality_count_mutex.magic 4096-ptr_max
PARAM_VALUE 0 data->phy_ops 4096-ptr_max
PARAM_VALUE 0 data->phy_ops->read_bytes 4096-ptr_max
PARAM_VALUE 0 data->rng_quality 0
PARAM_VALUE 0 data->timeout_max 500,15000
PARAM_VALUE 0 data->timeout_min 100,14700
PARAM_VALUE 1 addr 8
PARAM_VALUE 2 value 0-s32max
BUF_SIZE 0 data->chip 9120
DATA_SOURCE 0 data $1
FUZZY_MAX 0 data->timeout_max 15000
FUZZY_MAX 0 data->timeout_min 14700
BIT_INFO 0 data->phy_ops 0x0,0x7fffffffffffffff
BIT_INFO 0 data->timeout_max 0x90,0xffffffffffffffff
BIT_INFO 0 data->timeout_min 0x64,0xffffffffffffffff
HARD_MAX 0 data->timeout_max 15000
HARD_MAX 0 data->timeout_min 14700
MEM_ZERO 0 data
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 data->did_vid 0
HOST_DATA 2 value 0-390[c]

drivers/char/tpm/tpm_tis_core.c tpm_tis_probe_irq_single() -> tpm_tis_write32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->irq s32min-(-2),1-s32max
PARAM_VALUE 0 data->locality 0
PARAM_VALUE 0 data->locality_count 0-4294967295
PARAM_VALUE 0 data->locality_count_mutex.dep_map->name 0-255
PARAM_VALUE 0 data->locality_count_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 data->locality_count_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 data->locality_count_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 data->locality_count_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 data->phy_ops 4096-ptr_max
PARAM_VALUE 0 data->phy_ops->read_bytes 4096-ptr_max
PARAM_VALUE 0 data->phy_ops->write_bytes 4096-ptr_max
PARAM_VALUE 1 addr 16
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 data->irq 1-255
HOST_DATA 2 value 0-255
UNITS 0 data unit_byte

drivers/char/tpm/tpm_tis_core.c tpm_tis_probe_irq_single() -> tpm_tis_write32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->irq s32min-(-2),1-s32max
PARAM_VALUE 0 data->locality 0
PARAM_VALUE 0 data->locality_count 0-4294967295
PARAM_VALUE 0 data->locality_count_mutex.dep_map->name 0-255
PARAM_VALUE 0 data->locality_count_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 data->locality_count_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 data->locality_count_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 data->locality_count_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 data->phy_ops 4096-ptr_max
PARAM_VALUE 0 data->phy_ops->read_bytes 4096-ptr_max
PARAM_VALUE 0 data->phy_ops->write_bytes 4096-ptr_max
PARAM_VALUE 1 addr 8
PARAM_VALUE 2 value 2147483648-u32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BIT_INFO 2 value 0x80000000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 data->irq 1-255
HOST_DATA 2 value 2147483648-2147484038[c]
UNITS 0 data unit_byte

drivers/char/tpm/tpm_tis_core.c tpm_tis_reenable_interrupts() -> tpm_tis_write32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->phy_ops 4096-ptr_max
PARAM_VALUE 0 data->phy_ops->write_bytes 4096-ptr_max
PARAM_VALUE 1 addr 0,8-s32max,2147483656-4294963208
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BIT_INFO 1 addr 0x8,0xfffff008
BIT_INFO 2 value 0x80000000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
HALF_LOCKED2 &fsm->lock

drivers/char/tpm/tpm_tis_core.c tpm_tis_remove() -> tpm_tis_write32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->phy_ops 4096-ptr_max
PARAM_VALUE 0 data->phy_ops->read_bytes 4096-ptr_max
PARAM_VALUE 1 addr 0,8-s32max,2147483656-4294963208
PARAM_VALUE 2 value 0-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
CAPPED_DATA 2 value 1
BIT_INFO 1 addr 0x8,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 value 0-255
UNITS 0 data unit_byte
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &dev->mutex