Defined in 2 files as a member:
- drivers/media/platform/st/sti/delta/delta.h, line 352 (as a member)
- include/linux/usb/gadget.h, line 338 (as a member)
Defined in 3 files as a function:
- drivers/media/platform/amlogic/meson-ge2d/ge2d.c, line 160 (as a function)
- drivers/media/platform/samsung/s5p-g2d/g2d.c, line 85 (as a function)
- drivers/media/platform/st/stm32/dma2d/dma2d.c, line 105 (as a function)
Referenced in 41 files:
- drivers/media/platform/amlogic/meson-ge2d/ge2d.c
- drivers/media/platform/samsung/s5p-g2d/g2d.c
- drivers/media/platform/st/sti/delta/delta-mjpeg-dec.c, line 455
- drivers/media/platform/st/sti/delta/delta-v4l2.c
- drivers/media/platform/st/stm32/dma2d/dma2d.c
- drivers/usb/cdns3/cdns3-gadget.c, line 3135
- drivers/usb/cdns3/cdnsp-gadget.c, line 1616
- drivers/usb/chipidea/udc.c, line 2032
- drivers/usb/dwc2/gadget.c, line 4788
- drivers/usb/dwc3/gadget.c, line 3207
- drivers/usb/gadget/function/uvc_video.c, line 51
- drivers/usb/gadget/udc/aspeed-vhub/dev.c, line 467
- drivers/usb/gadget/udc/aspeed_udc.c, line 1338
- drivers/usb/gadget/udc/at91_udc.c, line 989
- drivers/usb/gadget/udc/atmel_usba_udc.c, line 1105
- drivers/usb/gadget/udc/bcm63xx_udc.c, line 1871
- drivers/usb/gadget/udc/cdns2/cdns2-gadget.c, line 2159
- drivers/usb/gadget/udc/core.c, line 494
- drivers/usb/gadget/udc/dummy_hcd.c, line 978
- drivers/usb/gadget/udc/fsl_qe_udc.c, line 1891
- drivers/usb/gadget/udc/fsl_udc_core.c, line 1234
- drivers/usb/gadget/udc/goku_udc.c, line 1033
- drivers/usb/gadget/udc/gr_udc.c, line 1934
- drivers/usb/gadget/udc/lpc32xx_udc.c, line 2485
- drivers/usb/gadget/udc/m66592-udc.c, line 1509
- drivers/usb/gadget/udc/net2280.c, line 1618
- drivers/usb/gadget/udc/omap_udc.c, line 1314
- drivers/usb/gadget/udc/pch_udc.c, line 1235
- drivers/usb/gadget/udc/pxa25x_udc.c, line 1209
- drivers/usb/gadget/udc/pxa27x_udc.c, line 1620
- drivers/usb/gadget/udc/r8a66597-udc.c, line 1801
- drivers/usb/gadget/udc/renesas_usb3.c, line 2434
- drivers/usb/gadget/udc/renesas_usbf.c, line 3166
- drivers/usb/gadget/udc/snps_udc_core.c, line 1428
- drivers/usb/gadget/udc/tegra-xudc.c, line 2187
- drivers/usb/gadget/udc/udc-xilinx.c, line 1435
- drivers/usb/isp1760/isp1760-udc.c, line 1329
- drivers/usb/mtu3/mtu3_gadget.c, line 627
- drivers/usb/musb/musb_gadget.c, line 1672
- drivers/usb/renesas_usbhs/mod_gadget.c, line 1051
- drivers/usb/usbip/vudc_dev.c, line 219
Smatch caller information:
drivers/media/platform/samsung/s5p-g2d/g2d.c g2d_buf_prepare() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->req_queue_mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/samsung/s5p-g2d/g2d.c g2d_queue_setup() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| STR_LEN | 0 | ctx | (-1) |
| STR_LEN | 0 | ctx | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/samsung/s5p-g2d/g2d.c vidioc_g_fmt() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r file2ctx |
| USER_DATA | 1 | type | 0-u32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/samsung/s5p-g2d/g2d.c vidioc_g_selection() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-8,11-u32max |
| DATA_SOURCE | 0 | ctx | r file2ctx |
| FUZZY_MAX | 1 | type | 2 |
| USER_DATA | 1 | type | 0-8,11-u32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/samsung/s5p-g2d/g2d.c vidioc_s_fmt() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r file2ctx |
| USER_DATA | 1 | type | 0-u32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/samsung/s5p-g2d/g2d.c vidioc_s_selection() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1-2 |
| DATA_SOURCE | 0 | ctx | r file2ctx |
| USER_DATA | 1 | type | 1-2[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/samsung/s5p-g2d/g2d.c vidioc_try_selection() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-8,11-u32max |
| DATA_SOURCE | 0 | ctx | r file2ctx |
| FUZZY_MAX | 1 | type | 2 |
| USER_DATA | 1 | type | 0-8,11-u32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c ge2d_buf_prepare() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->req_queue_mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c ge2d_queue_setup() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| STR_LEN | 0 | ctx | (-1) |
| STR_LEN | 0 | ctx | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c vidioc_g_fmt() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r file_to_ge2d_ctx |
| USER_DATA | 1 | type | 0-u32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c vidioc_g_selection() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1-2 |
| DATA_SOURCE | 0 | ctx | r file_to_ge2d_ctx |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c vidioc_s_fmt_cap() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| DATA_SOURCE | 0 | ctx | r file_to_ge2d_ctx |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c vidioc_s_fmt_out() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| DATA_SOURCE | 0 | ctx | r file_to_ge2d_ctx |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c vidioc_s_fmt_out() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| DATA_SOURCE | 0 | ctx | r file_to_ge2d_ctx |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c vidioc_s_selection() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1-2 |
| DATA_SOURCE | 0 | ctx | r file_to_ge2d_ctx |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c vidioc_setup_cap_fmt() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/st/stm32/dma2d/dma2d.c device_run() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| PARAM_COMPARE | 0 | &ctx->fh.m2m_ctx->cap_q_ctx.rdy_queue | != $0->fh.m2m_ctx->cap_q_ctx.rdy_queue.next |
| PARAM_COMPARE | 0 | &ctx->fh.m2m_ctx->out_q_ctx.rdy_queue | != $0->fh.m2m_ctx->out_q_ctx.rdy_queue.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->ctrl_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct dma2d_dev)->ctrl_lock |
drivers/media/platform/st/stm32/dma2d/dma2d.c device_run() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| PARAM_COMPARE | 0 | &ctx->fh.m2m_ctx->cap_q_ctx.rdy_queue | != $0->fh.m2m_ctx->cap_q_ctx.rdy_queue.next |
| PARAM_COMPARE | 0 | &ctx->fh.m2m_ctx->out_q_ctx.rdy_queue | != $0->fh.m2m_ctx->out_q_ctx.rdy_queue.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->ctrl_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct dma2d_dev)->ctrl_lock |
drivers/media/platform/st/stm32/dma2d/dma2d.c dma2d_buf_prepare() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->req_queue_mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/st/stm32/dma2d/dma2d.c dma2d_queue_setup() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| STR_LEN | 0 | ctx | (-1) |
| STR_LEN | 0 | ctx | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/st/stm32/dma2d/dma2d.c dma2d_s_ctrl() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ctx->dev->ctrl_lock | |
| TYPE_LOCK | (struct dma2d_dev)->ctrl_lock |
drivers/media/platform/st/stm32/dma2d/dma2d.c dma2d_start_streaming() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/st/stm32/dma2d/dma2d.c vidioc_g_fmt() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r file2ctx |
| USER_DATA | 1 | type | 0-u32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/st/stm32/dma2d/dma2d.c vidioc_s_fmt() -> get_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | r file2ctx |
| USER_DATA | 0 | ctx->colorspace | 0-u32max[u] |
| USER_DATA | 0 | ctx->quant | 0-u32max[u] |
| USER_DATA | 0 | ctx->xfer_func | 0-u32max[u] |
| USER_DATA | 0 | ctx->ycbcr_enc | 0-u32max[u] |
| USER_DATA | 1 | type | 0-1,3-u32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |