Defined in 1 files as a function:
Referenced in 9 files:
- drivers/usb/dwc2/gadget.c
- drivers/usb/fotg210/fotg210-udc.c
- drivers/usb/gadget/udc/fsl_udc_core.c
- drivers/usb/gadget/udc/omap_udc.c
- drivers/usb/gadget/udc/pxa25x_udc.c
- drivers/usb/gadget/udc/pxa27x_udc.c
- drivers/usb/gadget/udc/tegra-xudc.c
- drivers/usb/musb/musb_gadget.c
- drivers/usb/renesas_usbhs/mod_gadget.c
Smatch caller information:
drivers/usb/renesas_usbhs/mod_gadget.c usbhsg_gadget_start() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &gadget->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/renesas_usbhs/mod_gadget.c usbhsg_gadget_stop() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &gadget->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/dwc2/gadget.c dwc2_hsotg_udc_start() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 4096-ptr_max |
| PARAM_VALUE | 1 | periph->speed | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &gadget->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/dwc2/gadget.c dwc2_hsotg_udc_stop() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &gadget->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/gadget/udc/pxa27x_udc.c pxa27x_udc_start() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &g->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/gadget/udc/pxa27x_udc.c pxa27x_udc_start() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | otg | 4096-ptr_max |
| PARAM_VALUE | 0 | otg->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | otg->set_peripheral | 1-u64max |
| PARAM_VALUE | 0 | otg->state | 0-1,3 |
| PARAM_VALUE | 1 | periph | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &g->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/gadget/udc/pxa27x_udc.c pxa27x_udc_stop() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &g->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/gadget/udc/fsl_udc_core.c fsl_udc_start() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &g->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/gadget/udc/fsl_udc_core.c fsl_udc_stop() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &g->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/fotg210/fotg210-udc.c fotg210_udc_start() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 4096-ptr_max |
| PARAM_VALUE | 1 | periph->speed | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &g->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/fotg210/fotg210-udc.c fotg210_udc_stop() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &g->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/musb/musb_gadget.c musb_gadget_start() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | periph | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &musb->lock | ||
| LOCK2 | &udc->connect_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &g->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct musb)->lock | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/musb/musb_gadget.c musb_gadget_stop() -> otg_set_peripheral()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | otg->state | 0 |
| PARAM_VALUE | 1 | periph | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &musb->lock | ||
| LOCK2 | &udc->connect_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &g->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct musb)->lock | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |