Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/gadget/udc/bdc/bdc_udc.c bdc_udc_exit() -> bdc_ep_disable()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &_dev->mutex
LOCK2 &bdc->lock
LOCK2 flags
TYPE_LOCK (struct bdc)->lock
TYPE_LOCK (struct device)->mutex

drivers/usb/gadget/udc/bdc/bdc_udc.c bdc_uspc_disconnected() -> bdc_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
BIT_INFO 0 ep->flags 0x1,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &bdc->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct bdc)->lock

drivers/usb/gadget/udc/bdc/bdc_ep.c bdc_gadget_ep_disable() -> bdc_ep_disable()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->bdc 4096-ptr_max
PARAM_VALUE 0 ep->bdc->bdc_ep_array 4096-ptr_max
BIT_INFO 0 ep->flags 0x1,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdc->lock
LOCK2 flags
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ep->lock
HALF_LOCKED2 &func->ffs->eps_lock
HALF_LOCKED2 &port->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct bdc)->lock