Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/media/platform/samsung/exynos4-is/fimc-capture.c
- drivers/media/platform/samsung/exynos4-is/fimc-m2m.c
Smatch caller information:
drivers/media/platform/samsung/exynos4-is/fimc-m2m.c fimc_m2m_enum_fmt() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 0 |
| PARAM_VALUE | 1 | mbus_code | 0 |
| PARAM_VALUE | 2 | mask | 2,4 |
| USER_DATA | 3 | index | s32min-s32max[u] |
| UNITS | 3 | index | unit_array_size |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/samsung/exynos4-is/fimc-m2m.c fimc_m2m_s_fmt_mplane() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *pixelformat | 0,8,808534338,825644622,842088770,842091854,842091860,842091865,842093913,842094158,875836498,877807426,909203022,1195528775,1195724874,1213351746,1229141331,1329743698,1345466932,1346520914,1431918169,1448695129-u32max |
| PARAM_VALUE | 1 | mbus_code | 0 |
| PARAM_VALUE | 2 | mask | 2,4 |
| PARAM_VALUE | 3 | index | 0 |
| USER_DATA | 0 | *pixelformat | 0,8,808534338,825644622,842088770,842091854,842091860,842091865 |
| USER_PTR | 0 | pixelformat | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/samsung/exynos4-is/fimc-m2m.c fimc_m2m_set_default_format() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 4996949721021181960 |
| PARAM_VALUE | 0 | *pixelformat | 876758866 |
| PARAM_VALUE | 1 | mbus_code | 0 |
| PARAM_VALUE | 2 | mask | 6 |
| PARAM_VALUE | 3 | index | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fimc->lock | ||
| TYPE_LOCK | (struct fimc_dev)->lock |
drivers/media/platform/samsung/exynos4-is/fimc-m2m.c fimc_try_fmt_mplane() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 4096-ptr_max |
| PARAM_VALUE | 1 | mbus_code | 0 |
| PARAM_VALUE | 2 | mask | 2,4 |
| PARAM_VALUE | 3 | index | 0 |
| USER_DATA | 0 | *pixelformat | 0-u32max[u] |
| USER_PTR | 0 | pixelformat | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/samsung/exynos4-is/fimc-capture.c fimc_cap_enum_fmt() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 0 |
| PARAM_VALUE | 1 | mbus_code | 0 |
| PARAM_VALUE | 2 | mask | 7 |
| USER_DATA | 3 | index | s32min-s32max[u] |
| UNITS | 3 | index | unit_array_size |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/samsung/exynos4-is/fimc-capture.c fimc_capture_try_format() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mbus_code | 0,4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1,7,32 |
| PARAM_VALUE | 3 | index | 0 |
| DATA_SOURCE | 0 | pixelformat | $4 |
| DATA_SOURCE | 1 | mbus_code | $3 |
| FUZZY_MAX | 2 | mask | 32 |
| BIT_INFO | 2 | mask | 0x0,0x27 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *pixelformat | 0-1195724873,1195724875-u32max[u] |
| USER_PTR | 0 | pixelformat | |
| HALF_LOCKED2 | &fimc->lock | ||
| HALF_LOCKED2 | &ve->vdev.entity.graph_obj.mdev->graph_mutex |
drivers/media/platform/samsung/exynos4-is/fimc-capture.c fimc_pipeline_try_format() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 0 |
| PARAM_VALUE | 1 | mbus_code | 0,4180938963333726224 |
| PARAM_VALUE | 1 | *mbus_code | 1-u32max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | index | 1-s32max |
| BUF_SIZE | 1 | mbus_code | 0,4 |
| BIT_INFO | 1 | mbus_code | 0x0,0x3a05add5e918c010 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ve->vdev.entity.graph_obj.mdev->graph_mutex | ||
| TYPE_LOCK | (struct media_device)->graph_mutex |
drivers/media/platform/samsung/exynos4-is/fimc-capture.c fimc_register_capture_device() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 0 |
| PARAM_VALUE | 1 | mbus_code | 0 |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | index | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &list_lock | ||
| HALF_LOCKED2 | global &saa7134_devlist_lock |
drivers/media/platform/samsung/exynos4-is/fimc-capture.c fimc_register_capture_device() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 0 |
| PARAM_VALUE | 1 | mbus_code | 0 |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | index | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &list_lock | ||
| HALF_LOCKED2 | global &saa7134_devlist_lock |
drivers/media/platform/samsung/exynos4-is/fimc-capture.c fimc_register_capture_device() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 0 |
| PARAM_VALUE | 1 | mbus_code | 0 |
| PARAM_VALUE | 2 | mask | 32 |
| PARAM_VALUE | 3 | index | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &list_lock | ||
| HALF_LOCKED2 | global &saa7134_devlist_lock |
drivers/media/platform/samsung/exynos4-is/fimc-capture.c fimc_subdev_enum_mbus_code() -> fimc_find_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pixelformat | 0 |
| PARAM_VALUE | 1 | mbus_code | 0 |
| PARAM_VALUE | 2 | mask | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | index | unit_array_size |
| HALF_LOCKED2 | &pcdev->mlock | ||
| HALF_LOCKED2 | global &list_lock |