Defined in 1 files as a macro:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/iommu/sun50i-iommu.c sun50i_iommu_disable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 32
PARAM_VALUE 2 value 0
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 iommu unit_byte
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 &group->mutex
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_disable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 80
PARAM_VALUE 2 value 0
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 iommu unit_byte
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 &group->mutex
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_enable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 80
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain 112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_enable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 112
PARAM_VALUE 2 value 63
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain 112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_enable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 48
PARAM_VALUE 2 value 0
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain 112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_enable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 256
PARAM_VALUE 2 value 196671
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain 112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_enable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 176
PARAM_VALUE 2 value 268369920
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain 112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_enable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 180
PARAM_VALUE 2 value 2730
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain 112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_enable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 180
PARAM_VALUE 2 value 89456640
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain 112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_enable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 64
PARAM_VALUE 2 value 1
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain 112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_enable() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 32
PARAM_VALUE 2 value 1
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain 112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_flush_all_tlb() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 1-u64max
PARAM_VALUE 1 offset 128
PARAM_VALUE 2 value 196671
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu s32min-(-1),1-s32max
BUF_SIZE 0 iommu->domain (-1),112
DATA_SOURCE 0 iommu $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &iommu->iommu_lock
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_irq() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 260
PARAM_VALUE 2 value 1-u32max
DATA_SOURCE 0 iommu $1
DATA_SOURCE 2 value r iommu_read
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 iommu->domain->handler_token->base.arg->crashstate->rbbm_status 0-4294967295
HOST_DATA 2 value 1-u32max
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_irq() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 16
DATA_SOURCE 0 iommu $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 iommu->domain->handler_token->base.arg->crashstate->rbbm_status 0-4294967295
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_irq() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 16
PARAM_VALUE 2 value u32max
DATA_SOURCE 0 iommu $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 iommu->domain->handler_token->base.arg->crashstate->rbbm_status 0-4294967295
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_zap_iova() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 144
DATA_SOURCE 0 iommu $0
DATA_SOURCE 2 value $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 value 0-u32max
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_zap_iova() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 148
PARAM_VALUE 2 value 4294963200
DATA_SOURCE 0 iommu $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_zap_iova() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 152
PARAM_VALUE 2 value 1
DATA_SOURCE 0 iommu $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_zap_ptw_cache() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 160
DATA_SOURCE 0 iommu $0
DATA_SOURCE 2 value $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 value 0-u32max
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_zap_ptw_cache() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 168
PARAM_VALUE 2 value 1
DATA_SOURCE 0 iommu $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_zap_range() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 1 offset 64
PARAM_VALUE 2 value 0
DATA_SOURCE 0 iommu $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock

drivers/iommu/sun50i-iommu.c sun50i_iommu_zap_range() -> iommu_write()

Type Parameter Key Value
PARAM_VALUE 0 iommu 4096-ptr_max
PARAM_VALUE 1 offset 64
PARAM_VALUE 2 value 1
DATA_SOURCE 0 iommu $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &iommu->iommu_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sun50i_iommu)->iommu_lock