Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/media/common/saa7146/saa7146_hlp.c calculate_video_dma_grab_packed() -> saa7146_format_by_fourcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ext->irq_func | 0,479621887653994496,1748493141421207552,2600447457569038336,4354905254047903744 |
| PARAM_VALUE | 0 | dev->vv_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vv_data->standard | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vv_data->standard->h_offset | 1,6,8,20,64,72 |
| PARAM_VALUE | 0 | dev->vv_data->standard->v_field | (-1073741824)-1073741823 |
| PARAM_VALUE | 0 | dev->vv_data->standard->v_offset | 16,20-23,27-28 |
| PARAM_VALUE | 0 | dev->vv_data->vbi_dmaq.curr->activate | 2640400242592911360,7346624659697291264 |
| PARAM_VALUE | 0 | dev->vv_data->video_dmaq.curr->activate | 2640400242592911360,7346624659697291264 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dev->slock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct saa7146_dev)->slock |
drivers/media/common/saa7146/saa7146_hlp.c calculate_video_dma_grab_planar() -> saa7146_format_by_fourcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ext->irq_func | 0,479621887653994496,1748493141421207552,2600447457569038336,4354905254047903744 |
| PARAM_VALUE | 0 | dev->vv_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vv_data->standard | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vv_data->standard->h_offset | 1,6,8,20,64,72 |
| PARAM_VALUE | 0 | dev->vv_data->standard->v_field | (-1073741824)-1073741823 |
| PARAM_VALUE | 0 | dev->vv_data->standard->v_offset | 16,20-23,27-28 |
| PARAM_VALUE | 0 | dev->vv_data->vbi_dmaq.curr->activate | 2640400242592911360,7346624659697291264 |
| PARAM_VALUE | 0 | dev->vv_data->video_dmaq.curr->activate | 2640400242592911360,7346624659697291264 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dev->slock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct saa7146_dev)->slock |
drivers/media/common/saa7146/saa7146_hlp.c saa7146_set_capture() -> saa7146_format_by_fourcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ext->irq_func | 0,479621887653994496,1748493141421207552,2600447457569038336,4354905254047903744 |
| PARAM_VALUE | 0 | dev->vv_data->vbi_dmaq.curr->activate | 2640400242592911360,7346624659697291264 |
| PARAM_VALUE | 0 | dev->vv_data->video_dmaq.curr->activate | 2640400242592911360,7346624659697291264 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dev->slock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct saa7146_dev)->slock |
drivers/media/common/saa7146/saa7146_video.c buf_init() -> saa7146_format_by_fourcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vv_data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/common/saa7146/saa7146_video.c saa7146_pgtable_build() -> saa7146_format_by_fourcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pci->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->pci->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->pci->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->pci->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pci->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->pci->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dev->pci->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | dev->vv_data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/common/saa7146/saa7146_video.c video_begin() -> saa7146_format_by_fourcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vv_data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/common/saa7146/saa7146_video.c video_end() -> saa7146_format_by_fourcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vv_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->vv_data->video_dmaq.timeout.flags | 0-4194302 |
| BUF_SIZE | 0 | dev | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | dev | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | (-1),5-9,12 |
| STR_LEN | 0 | dev | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |
drivers/media/common/saa7146/saa7146_video.c vidioc_try_fmt_vid_cap() -> saa7146_format_by_fourcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | r video_drvdata |
| USER_DATA | 1 | fourcc | s32min-s32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |