Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/aspeed/aspeed-video.c aspeed_video_init() -> aspeed_video_alloc_buf()

Type Parameter Key Value
PARAM_VALUE 0 video 4096-ptr_max
PARAM_VALUE 0 video->base 4096-ptr_max
PARAM_VALUE 0 video->buffers.next 4096-ptr_max
PARAM_VALUE 0 video->buffers.next->next 4096-ptr_max
PARAM_VALUE 0 video->buffers.prev 4096-ptr_max
PARAM_VALUE 0 video->buffers.prev->next 4096-ptr_max
PARAM_VALUE 0 video->buffers.prev->prev 4096-ptr_max
PARAM_VALUE 0 video->dev 4096-ptr_max
PARAM_VALUE 0 video->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 video->dev->class 0,4096-ptr_max
PARAM_VALUE 0 video->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 video->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 video->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 video->dev->dma_mask 4096-ptr_max
PARAM_VALUE 0 video->dev->dma_mem->pfn_base 0-s64max
PARAM_VALUE 0 video->dev->driver 4096-ptr_max
PARAM_VALUE 0 video->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 video->dev->iommu->max_pasids 0-4294967295
PARAM_VALUE 0 video->dev->of_node 1-u64max
PARAM_VALUE 0 video->eclk 0,4096-ptr_max
PARAM_VALUE 0 video->eclk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 video->eclk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 video->eclk->core->dev->power.request 0-4
PARAM_VALUE 0 video->eclk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 video->eclk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 video->eclk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 video->eclk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 video->eclk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 video->eclk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 video->eclk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 video->eclk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 video->eclk->core->parent->dev->power.request 0-4
PARAM_VALUE 0 video->eclk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 video->eclk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 video->eclk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 video->eclk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 video->eclk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 video->eclk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 video->eclk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 video->eclk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 video->eclk->core->prepare_count 0-4294967295
PARAM_VALUE 0 video->frame_rate 30
PARAM_VALUE 0 video->jpeg_hq_quality 1
PARAM_VALUE 0 video->reset 0,4096-ptr_max
PARAM_VALUE 0 video->vclk 0,4096-ptr_max
PARAM_VALUE 0 video->vclk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 video->vclk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 video->vclk->core->dev->power.request 0-4
PARAM_VALUE 0 video->vclk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 video->vclk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 video->vclk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 video->vclk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 video->vclk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 video->vclk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 video->vclk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 video->vclk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 video->vclk->core->parent->dev->power.request 0-4
PARAM_VALUE 0 video->vclk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 video->vclk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 video->vclk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 video->vclk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 video->vclk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 video->vclk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 video->vclk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 video->vclk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 video->vclk->core->prepare_count 0-4294967295
PARAM_VALUE 0 video->video_lock.dep_map->name 0-255
PARAM_VALUE 0 video->video_lock.first_waiter 0
PARAM_VALUE 0 video->video_lock.magic 4096-ptr_max
PARAM_VALUE 0 video->video_lock.osq.tail.counter 0
PARAM_VALUE 0 video->video_lock.owner.counter 0
PARAM_VALUE 0 video->wait.head.next 4096-ptr_max
PARAM_VALUE 0 video->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 video->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 video->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 video->wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 size 24576
BUF_SIZE 0 video 4320
BUF_SIZE 0 video->dev 1616
BUF_SIZE 0 video->eclk (-1),1-s32max
BUF_SIZE 0 video->gfx (-1),1-s32max
BUF_SIZE 0 video->reset (-1),8,280
BUF_SIZE 0 video->scu (-1),1-s32max
BUF_SIZE 0 video->vclk (-1),1-s32max
DATA_SOURCE 0 video $0
MEM_ZERO 0 video
MEM_ZERO 1 addr
RX_PATH
TASK_NOT_RUNNING

drivers/media/platform/aspeed/aspeed-video.c aspeed_video_set_resolution() -> aspeed_video_alloc_buf()

Type Parameter Key Value
PARAM_VALUE 0 video 4096-ptr_max
PARAM_VALUE 0 video->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 video->srcs 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
BUF_SIZE 0 video s32min-(-2),1-s32max
BUF_SIZE 0 video s32min-(-2),1-s32max
BUF_SIZE 1 addr 48
DATA_SOURCE 0 video $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 video->active_timings.cea861_vic 0-255[u]
USER_DATA 0 video->active_timings.flags 0-u32max[u]
USER_DATA 0 video->active_timings.hbackporch 0-u32max[u]
USER_DATA 0 video->active_timings.hdmi_vic 0-255[u]
USER_DATA 0 video->active_timings.height 0-u32max[u]
USER_DATA 0 video->active_timings.hfrontporch 0-u32max[u]
USER_DATA 0 video->active_timings.hsync 0-u32max[u]
USER_DATA 0 video->active_timings.il_vbackporch 0-u32max[u]
USER_DATA 0 video->active_timings.il_vfrontporch 0-u32max[u]
USER_DATA 0 video->active_timings.il_vsync 0-u32max[u]
USER_DATA 0 video->active_timings.interlaced 0-u32max[u]
USER_DATA 0 video->active_timings.picture_aspect.denominator 0-u32max[u]
USER_DATA 0 video->active_timings.picture_aspect.numerator 0-u32max[u]
USER_DATA 0 video->active_timings.pixelclock 0-u64max[u]
USER_DATA 0 video->active_timings.polarities 0-u32max[u]
USER_DATA 0 video->active_timings.standards 0-u32max[u]
USER_DATA 0 video->active_timings.vbackporch 0-u32max[u]
USER_DATA 0 video->active_timings.vfrontporch 0-u32max[u]
USER_DATA 0 video->active_timings.vsync 0-u32max[u]
USER_DATA 0 video->active_timings.width 0-u32max[u]
USER_DATA 0 video->input 0
USER_DATA 2 size 0-u32max[c]
UNITS 2 size unit_byte
HALF_LOCKED2 0 &video->video_lock

drivers/media/platform/aspeed/aspeed-video.c aspeed_video_set_resolution() -> aspeed_video_alloc_buf()

Type Parameter Key Value
PARAM_VALUE 0 video 4096-ptr_max
PARAM_VALUE 0 video->dev 4096-ptr_max
PARAM_VALUE 0 video->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 video->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 video->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 video->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 video->dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 video->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 video->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 video->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 video->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 video->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 video->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 video->dev->iommu->pci_32bit_workaround 0
PARAM_VALUE 0 video->srcs 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
BUF_SIZE 0 video s32min-(-2),1-s32max
BUF_SIZE 0 video s32min-(-2),1-s32max
CAPPED_DATA 0 video->dev 1
DATA_SOURCE 0 video $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 video->active_timings.cea861_vic 0-255[u]
USER_DATA 0 video->active_timings.flags 0-u32max[u]
USER_DATA 0 video->active_timings.hbackporch 0-u32max[u]
USER_DATA 0 video->active_timings.hdmi_vic 0-255[u]
USER_DATA 0 video->active_timings.height 0-u32max[u]
USER_DATA 0 video->active_timings.hfrontporch 0-u32max[u]
USER_DATA 0 video->active_timings.hsync 0-u32max[u]
USER_DATA 0 video->active_timings.il_vbackporch 0-u32max[u]
USER_DATA 0 video->active_timings.il_vfrontporch 0-u32max[u]
USER_DATA 0 video->active_timings.il_vsync 0-u32max[u]
USER_DATA 0 video->active_timings.interlaced 0-u32max[u]
USER_DATA 0 video->active_timings.picture_aspect.denominator 0-u32max[u]
USER_DATA 0 video->active_timings.picture_aspect.numerator 0-u32max[u]
USER_DATA 0 video->active_timings.pixelclock 0-u64max[u]
USER_DATA 0 video->active_timings.polarities 0-u32max[u]
USER_DATA 0 video->active_timings.standards 0-u32max[u]
USER_DATA 0 video->active_timings.vbackporch 0-u32max[u]
USER_DATA 0 video->active_timings.vfrontporch 0-u32max[u]
USER_DATA 0 video->active_timings.vsync 0-u32max[u]
USER_DATA 0 video->active_timings.width 0-u32max[u]
USER_DATA 0 video->input 0
USER_DATA 2 size 0-u32max[c]
UNITS 2 size unit_byte
HALF_LOCKED2 0 &video->video_lock

drivers/media/platform/aspeed/aspeed-video.c aspeed_video_start_frame() -> aspeed_video_alloc_buf()

Type Parameter Key Value
PARAM_VALUE 0 video 4096-ptr_max
PARAM_VALUE 0 video->bcd.size 0
PARAM_VALUE 0 video->format 1-u32max
PARAM_VALUE 0 video->v4l2_input_status 0
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 1 addr->size 0
PARAM_VALUE 2 size 36864
BUF_SIZE 0 video s32min-(-1),1-s32max
BUF_SIZE 0 video s32min-(-1),1-s32max
DATA_SOURCE 0 video $0
RX_PATH
TASK_NOT_RUNNING