Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c jpeg_v4_0_sw_init() -> amdgpu_jpeg_ras_sw_init()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->external.jpeg_pitch 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->irq.funcs 1-u64max
PARAM_VALUE 0 adev->jpeg.inst->ras_poison_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ras_poison_irq.funcs 1-u64max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->adev 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->adev->num_rings 0-148
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->cond_exe_cpu_addr 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->cond_exe_offs 0,8-512
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->count_dw 0-1073741823
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->doorbell_index 1,3-u32max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->fence_cpu_addr 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->fence_drv.fences 0,16,4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->fence_offs 0,8-512
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->funcs 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->idx 0-148
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->ptr_mask 0-u32max,u64max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->ring_backup 16,4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->rptr_cpu_addr 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->rptr_offs 0,8-512
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->trail_fence_cpu_addr 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->trail_fence_offs 0,8-512
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->use_doorbell 1
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->vm_hub 8
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->vmid_wait 7374952732141793280
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->wptr_cpu_addr 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ring_dec->wptr_offs 0,8-512
PARAM_VALUE 0 adev->jpeg.internal.jpeg_pitch 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.jpeg_pg_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 adev->mman.bdev.pool.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 adev->reg_offset 4096-ptr_max
PARAM_VALUE 0 *adev->jpeg.inst->ring_dec->cond_exe_cpu_addr 1
FUZZY_MAX 0 adev->jpeg.inst->ring_dec->doorbell_index 4
BIT_INFO 0 adev->virt.caps 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 adev->jpeg.inst->irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->jpeg.inst->ras_poison_irq.num_types
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c jpeg_v2_5_sw_init() -> amdgpu_jpeg_ras_sw_init()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.jpeg_pg_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 adev->mman.bdev.pool.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround 0-1
CAPPED_DATA 0 adev->jpeg.num_jpeg_inst 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c jpeg_v4_0_3_sw_init() -> amdgpu_jpeg_ras_sw_init()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ras_poison_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ras_poison_irq.funcs 1-u64max
PARAM_VALUE 0 adev->jpeg.jpeg_pg_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 adev->mman.bdev.pool.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround 0-1
CAPPED_DATA 0 adev->jpeg.num_jpeg_inst 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 adev->jpeg.inst->irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->jpeg.inst->ras_poison_irq.num_types
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c jpeg_v5_0_1_sw_init() -> amdgpu_jpeg_ras_sw_init()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ras_poison_irq.enabled_types 4096-ptr_max
PARAM_VALUE 0 adev->jpeg.inst->ras_poison_irq.funcs 1-u64max
PARAM_VALUE 0 adev->jpeg.jpeg_pg_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 adev->mman.bdev.pool.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround 0-1
CAPPED_DATA 0 adev->jpeg.num_jpeg_inst 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 adev->jpeg.inst->irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->jpeg.inst->ras_poison_irq.num_types
HALF_LOCKED2 &pool->lock