Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/etnaviv/etnaviv_gpu.c etnaviv_gpu_hw_resume() -> etnaviv_gpu_hw_init()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 0 gpu->clk_bus 0,4096-ptr_max
PARAM_VALUE 0 gpu->clk_bus->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 gpu->clk_bus->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 gpu->clk_bus->core->dev->power.request 0-4
PARAM_VALUE 0 gpu->clk_bus->core->dev->power.request_pending 0-1
PARAM_VALUE 0 gpu->clk_bus->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->clk_bus->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 gpu->clk_bus->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 gpu->clk_bus->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 gpu->clk_bus->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_bus->core->enable_count 0-4294967295
PARAM_VALUE 0 gpu->clk_bus->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 gpu->clk_bus->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 gpu->clk_bus->core->parent->dev->power.request 0-4
PARAM_VALUE 0 gpu->clk_bus->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 gpu->clk_bus->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->clk_bus->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 gpu->clk_bus->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 gpu->clk_bus->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 gpu->clk_bus->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_bus->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 gpu->clk_bus->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 gpu->clk_bus->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 gpu->clk_bus->core->prepare_count 1-4294967295
PARAM_VALUE 0 gpu->clk_bus->core->protect_count 0-4294967295
PARAM_VALUE 0 gpu->clk_core 0,4096-ptr_max
PARAM_VALUE 0 gpu->clk_core->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 gpu->clk_core->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 gpu->clk_core->core->dev->power.request 0-4
PARAM_VALUE 0 gpu->clk_core->core->dev->power.request_pending 0-1
PARAM_VALUE 0 gpu->clk_core->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->clk_core->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 gpu->clk_core->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 gpu->clk_core->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 gpu->clk_core->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->duty.den 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->duty.num 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->new_parent_index 0-254
PARAM_VALUE 0 gpu->clk_core->core->notifier_count 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->num_parents 0-255
PARAM_VALUE 0 gpu->clk_core->core->orphan 0-1
PARAM_VALUE 0 gpu->clk_core->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 gpu->clk_core->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 gpu->clk_core->core->parent->dev->power.request 0-4
PARAM_VALUE 0 gpu->clk_core->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 gpu->clk_core->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->clk_core->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 gpu->clk_core->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 gpu->clk_core->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 gpu->clk_core->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->phase s32min-s32max
PARAM_VALUE 0 gpu->clk_core->core->rpm_enabled 0-1
PARAM_VALUE 0 gpu->clk_reg 0,4096-ptr_max
PARAM_VALUE 0 gpu->clk_reg->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 gpu->clk_reg->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 gpu->clk_reg->core->dev->power.request 0-4
PARAM_VALUE 0 gpu->clk_reg->core->dev->power.request_pending 0-1
PARAM_VALUE 0 gpu->clk_reg->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->clk_reg->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 gpu->clk_reg->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 gpu->clk_reg->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 gpu->clk_reg->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_reg->core->enable_count 0-4294967295
PARAM_VALUE 0 gpu->clk_reg->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 gpu->clk_reg->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 gpu->clk_reg->core->parent->dev->power.request 0-4
PARAM_VALUE 0 gpu->clk_reg->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 gpu->clk_reg->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->clk_reg->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 gpu->clk_reg->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 gpu->clk_reg->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 gpu->clk_reg->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_reg->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 gpu->clk_reg->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 gpu->clk_reg->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 gpu->clk_reg->core->prepare_count 1-4294967295
PARAM_VALUE 0 gpu->clk_reg->core->protect_count 0-4294967295
PARAM_VALUE 0 gpu->clk_shader 0,4096-ptr_max
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.request 0-4
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.request_pending 0-1
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->duty.den 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->duty.num 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->new_parent_index 0-254
PARAM_VALUE 0 gpu->clk_shader->core->notifier_count 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->num_parents 0-255
PARAM_VALUE 0 gpu->clk_shader->core->orphan 0-1
PARAM_VALUE 0 gpu->clk_shader->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 gpu->clk_shader->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 gpu->clk_shader->core->parent->dev->power.request 0-4
PARAM_VALUE 0 gpu->clk_shader->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 gpu->clk_shader->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->clk_shader->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 gpu->clk_shader->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 gpu->clk_shader->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 gpu->clk_shader->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->phase s32min-s32max
PARAM_VALUE 0 gpu->clk_shader->core->rpm_enabled 0-1
PARAM_VALUE 0 gpu->fe_waitcycles 200-u16max
PARAM_VALUE 0 gpu->lock.dep_map->name 0-255
PARAM_VALUE 0 gpu->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gpu->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 gpu->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 gpu->lock.wait_lock.owner (-1)
PARAM_VALUE 0 gpu->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 gpu->state 1
BUF_SIZE 0 gpu s32min-(-2),1-s32max
BUF_SIZE 0 gpu s32min-(-2),1-s32max
CAPPED_DATA 0 &gpu->lock 1
DATA_SOURCE 0 gpu $0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 gpu->clk_core->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 gpu->clk_shader->core->parent->req_rate
UNITS 0 gpu unit_byte
LOCK2 0 &gpu->lock
TYPE_LOCK (struct etnaviv_gpu)->lock

drivers/gpu/drm/etnaviv/etnaviv_gpu.c etnaviv_gpu_init() -> etnaviv_gpu_hw_init()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 0 gpu->buffer.size 4096
PARAM_VALUE 0 gpu->buffer.suballoc 4096-ptr_max
PARAM_VALUE 0 gpu->buffer.vaddr 4096-ptr_max
PARAM_VALUE 0 gpu->clk_core->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->duty.den 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->duty.num 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->new_parent_index 0-254
PARAM_VALUE 0 gpu->clk_core->core->notifier_count 0-4294967295
PARAM_VALUE 0 gpu->clk_core->core->num_parents 0-255
PARAM_VALUE 0 gpu->clk_core->core->orphan 0-1
PARAM_VALUE 0 gpu->clk_core->core->phase s32min-s32max
PARAM_VALUE 0 gpu->clk_core->core->rpm_enabled 0-1
PARAM_VALUE 0 gpu->clk_shader->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->duty.den 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->duty.num 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->new_parent_index 0-254
PARAM_VALUE 0 gpu->clk_shader->core->notifier_count 0-4294967295
PARAM_VALUE 0 gpu->clk_shader->core->num_parents 0-255
PARAM_VALUE 0 gpu->clk_shader->core->orphan 0-1
PARAM_VALUE 0 gpu->clk_shader->core->phase s32min-s32max
PARAM_VALUE 0 gpu->clk_shader->core->rpm_enabled 0-1
PARAM_VALUE 0 gpu->dev 4096-ptr_max
PARAM_VALUE 0 gpu->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 gpu->dev->class 0,4096-ptr_max
PARAM_VALUE 0 gpu->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 gpu->dev->power.request 0-4
PARAM_VALUE 0 gpu->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 gpu->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->dev->type 0,4096-ptr_max
PARAM_VALUE 0 gpu->drm 4096-ptr_max
PARAM_VALUE 0 gpu->drm->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 gpu->drm->dev_private 4096-ptr_max
PARAM_VALUE 0 gpu->drm->dev_private->mmu_global->use 0-4294967295
PARAM_VALUE 0 gpu->drm->dev_private->mmu_global->version 0-1
PARAM_VALUE 0 gpu->event_free.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 gpu->event_free.wait.lock.owner (-1)
PARAM_VALUE 0 gpu->event_free.wait.lock.owner_cpu u32max
PARAM_VALUE 0 gpu->event_free.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 gpu->event_free.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 gpu->event_free.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 gpu->event_free.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 gpu->event_free.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 gpu->exec_state (-1)
PARAM_VALUE 0 gpu->fe_waitcycles 200-u16max
PARAM_VALUE 0 gpu->identity.minor_features7 2097152-u32max
PARAM_VALUE 0 gpu->identity.model 1-u32max
PARAM_VALUE 0 gpu->idle_mask 255,s32max
PARAM_VALUE 0 gpu->lock.dep_map->name 0-255
PARAM_VALUE 0 gpu->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gpu->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gpu->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 gpu->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 gpu->lock.wait_lock.owner (-1)
PARAM_VALUE 0 gpu->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 gpu->mmu_context 0
PARAM_VALUE 0 gpu->rst 0,4096-ptr_max
PARAM_VALUE 0 gpu->rst->array 0-1
PARAM_VALUE 0 gpu->rst->deassert_count.counter s32min-s32max
PARAM_VALUE 0 gpu->state 2
CAPPED_DATA 0 gpu->drm->dev->cma_area->nranges 1
CAPPED_DATA 0 gpu->drm->dev_private->mmu_global->version 1
CAPPED_DATA 0 gpu->idle_mask 1
CAPPED_DATA 0 &gpu->lock 1
DATA_SOURCE 0 gpu $0
MEM_ZERO 0 gpu->event_bitmap
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 gpu->identity.features 0-u32max
HOST_DATA 0 gpu->identity.minor_features0 0-u32max
HOST_DATA 0 gpu->identity.minor_features1 0-u32max
HOST_DATA 0 gpu->identity.minor_features2 0-u32max
HOST_DATA 0 gpu->identity.minor_features3 0-u32max
HOST_DATA 0 gpu->identity.minor_features4 0-u32max
HOST_DATA 0 gpu->identity.minor_features5 0-u32max
NO_OVERFLOW_SIMPLE 0 gpu->clk_core->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 gpu->clk_shader->core->parent->req_rate
LOCK2 global &component_mutex
LOCK2 0 &gpu->lock
TYPE_LOCK (struct etnaviv_gpu)->lock

drivers/gpu/drm/etnaviv/etnaviv_gpu.c etnaviv_gpu_recover_hang() -> etnaviv_gpu_hw_init()

Type Parameter Key Value
PARAM_VALUE 0 gpu 4096-ptr_max
PARAM_VALUE 0 gpu->dev 4096-ptr_max
PARAM_VALUE 0 gpu->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 gpu->dev->class 0,4096-ptr_max
PARAM_VALUE 0 gpu->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 gpu->dev->power.request 0-4
PARAM_VALUE 0 gpu->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 gpu->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 gpu->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gpu->dev->type 0,4096-ptr_max
PARAM_VALUE 0 gpu->event_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gpu->lock.dep_map->name 0-255
PARAM_VALUE 0 gpu->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gpu->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gpu->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 gpu->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 gpu->lock.wait_lock.owner (-1)
PARAM_VALUE 0 gpu->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 gpu->sched.free_guilty 1
PARAM_VALUE 0 gpu->sched.pause_submit 1
PARAM_VALUE 0 gpu->sched.work_tdr.work.entry.next 1-u64max
PARAM_VALUE 0 gpu->sched.work_tdr.work.entry.prev 1-u64max
CAPPED_DATA 0 &gpu->lock 1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 gpu->clk_core->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 gpu->clk_shader->core->parent->req_rate
LOCK2 0 &gpu->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct etnaviv_gpu)->lock