Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/usb/gadget/udc/aspeed-vhub/epn.c ast_vhub_epn_disable() -> ast_vhub_nuke()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->epn.enabled 0
PARAM_VALUE 0 ep->vhub 4096-ptr_max
PARAM_VALUE 1 status (-108)
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vhub->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 ast_vhub)->lock

drivers/usb/gadget/udc/aspeed-vhub/ep0.c ast_vhub_ep0_handle_ack() -> ast_vhub_nuke()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ep0.ctlstat 4096-ptr_max
PARAM_VALUE 0 ep->ep0.state 0
PARAM_VALUE 0 ep->vhub 4096-ptr_max
PARAM_VALUE 1 status (-22)
DATA_SOURCE 0 ep $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vhub->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ast_vhub)->lock

drivers/usb/gadget/udc/aspeed-vhub/ep0.c ast_vhub_ep0_handle_ack() -> ast_vhub_nuke()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ep0.ctlstat 4096-ptr_max
PARAM_VALUE 0 ep->ep0.state 2
PARAM_VALUE 0 ep->vhub 4096-ptr_max
PARAM_VALUE 1 status (-22)
DATA_SOURCE 0 ep $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vhub->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ast_vhub)->lock

drivers/usb/gadget/udc/aspeed-vhub/ep0.c ast_vhub_ep0_handle_ack() -> ast_vhub_nuke()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ep0.ctlstat 4096-ptr_max
PARAM_VALUE 0 ep->ep0.state 3
PARAM_VALUE 0 ep->vhub 4096-ptr_max
PARAM_VALUE 1 status (-5)
DATA_SOURCE 0 ep $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vhub->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ast_vhub)->lock

drivers/usb/gadget/udc/aspeed-vhub/ep0.c ast_vhub_ep0_handle_setup() -> ast_vhub_nuke()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->d_idx 0
PARAM_VALUE 0 ep->ep0.state 1-2,4-u32max
PARAM_VALUE 1 status (-5)
DATA_SOURCE 0 ep $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vhub->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ast_vhub)->lock

drivers/usb/gadget/udc/aspeed-vhub/ep0.c ast_vhub_reset_ep0() -> ast_vhub_nuke()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 1 status (-5)
BUF_SIZE 0 ep 288
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vhub->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 &dev->vhub->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ast_vhub)->lock

drivers/usb/gadget/udc/aspeed-vhub/dev.c ast_vhub_dev_nuke() -> ast_vhub_nuke()

Type Parameter Key Value
PARAM_VALUE 0 ep 1-u64max
PARAM_VALUE 1 status (-108)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &d->vhub->lock
LOCK2 flags
HALF_LOCKED2 &gadget->dev.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &udc->connect_lock
TYPE_LOCK (struct ast_vhub)->lock
TYPE_LOCK (struct usb_udc)->connect_lock