Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/dwc2/gadget.c dwc2_gadget_ep_set_wedge() -> dwc2_hsotg_ep_sethalt()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 0 ep->ops->set_wedge 1-u64max
PARAM_VALUE 1 value 1
PARAM_VALUE 2 now 0
DATA_SOURCE 0 ep $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hs->lock
LOCK2 flags
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/gadget.c dwc2_hsotg_ep_sethalt_lock() -> dwc2_hsotg_ep_sethalt()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 1 value 0-1
PARAM_VALUE 2 now 0
BUF_SIZE 0 ep (-1),64,72,640,1744
BUF_SIZE 0 ep (-1),64,72,640,1744
DATA_SOURCE 0 ep $0
DATA_SOURCE 1 value $1
HARD_MAX 1 value 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hs->lock
LOCK2 flags
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock

drivers/usb/dwc2/gadget.c dwc2_hsotg_process_req_feature() -> dwc2_hsotg_ep_sethalt()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 2 now 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 value 0[c]
LOCK2 &hsotg->lock
HALF_LOCKED2 &cdev->lock
HALF_LOCKED2 &pdev->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &priv_dev->lock
HALF_LOCKED2 &udc->lock
HALF_LOCKED2 cdev_flags
HALF_LOCKED2 flags
TYPE_LOCK (struct dwc2_hsotg)->lock