Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 20 files:
- drivers/staging/greybus/usb.c, line 74
- drivers/usb/core/hcd.c, line 2410
- drivers/usb/dwc2/hcd.c
- drivers/usb/fotg210/fotg210-hcd.c, line 5192
- drivers/usb/gadget/udc/dummy_hcd.c, line 2074
- drivers/usb/host/ehci-fsl.c, line 551
- drivers/usb/host/ehci-hcd.c, line 802
- drivers/usb/host/ehci-hub.c, line 207
- drivers/usb/host/isp116x-hcd.c, line 627
- drivers/usb/host/max3421-hcd.c, line 1623
- drivers/usb/host/ohci-hcd.c
- drivers/usb/host/ohci-hub.c, line 407
- drivers/usb/host/oxu210hp-hcd.c, line 2884
- drivers/usb/host/r8a66597-hcd.c
- drivers/usb/host/uhci-hub.c, line 206
- drivers/usb/host/xen-hcd.c, line 419
- drivers/usb/host/xhci-ring.c, line 2046
- drivers/usb/host/xhci.c
- drivers/usb/musb/musb_host.c
- drivers/usb/usbip/vhci_hcd.c, line 258
Smatch caller information:
drivers/usb/host/max3421-hcd.c max3421_hub_status_data() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->port_status | 65536-u32max |
| PARAM_VALUE | 0 | hcd->hcd_priv->rh_state | 1 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &max3421_hcd->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | 0 | &hcd->hcd_priv->lock | |
| TYPE_LOCK | (struct max3421_hcd)->lock |
drivers/usb/host/uhci-hcd.c uhci_hub_status_data() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->dead | 0 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &uhci->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | 0 | &hcd->hcd_priv->lock | |
| TYPE_LOCK | (struct uhci_hcd)->lock |
drivers/usb/gadget/udc/dummy_hcd.c dummy_hub_status() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->port_status | 65536-u32max |
| PARAM_VALUE | 0 | hcd->hcd_priv->rh_state | 1 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dum_hcd->dum->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | 0 | &hcd->hcd_priv->lock | |
| TYPE_LOCK | (struct dummy)->lock |
drivers/usb/host/isp116x-hcd.c isp116x_irq() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->addr_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->board | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->board->delay | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->data_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &isp116x->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct isp116x)->lock |
drivers/staging/greybus/usb.c hcd_start() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->state | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| NOCHECK_CALL |
drivers/usb/host/ehci-hcd.c ehci_adjust_port_wakeup_flags() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ehci->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c ehci_irq() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->hcd_priv->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->rh_state | 1 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ehci->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/usbip/vhci_hcd.c vhci_hub_status() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->port_status | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->state | 4 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vhci->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | 0 | &hcd->hcd_priv->lock | |
| TYPE_LOCK | (struct vhci)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_irq() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->hcd_priv->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->rh_state | 1 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fotg210->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/host/xhci-ring.c handle_port_status() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->state | 4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &xhci->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/oxu210hp-hcd.c oxu210_hcd_irq() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->hcd_priv->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->state | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &oxu->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct oxu_hcd)->lock |
drivers/usb/dwc2/hcd.c _dwc2_hcd_start() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->state | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &hsotg->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd.c dwc2_hcd_connect() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hsotg->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc2/hcd.c dwc2_hcd_rem_wakeup() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/xhci.c compliance_mode_recovery() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->state | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/xhci.c xhci_resume() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->reset_resume | 1 |
| PARAM_VALUE | 0 | hcd->state | 4 |
| PARAM_VALUE | 0 | hcd->uses_new_polling | 1 |
| CAPPED_DATA | 0 | hcd->primary_hcd | 1 |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/xhci.c xhci_resume() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->reset_resume | 1 |
| PARAM_VALUE | 0 | hcd->state | 4 |
| PARAM_VALUE | 0 | hcd->uses_new_polling | 1 |
| CAPPED_DATA | 0 | hcd->primary_hcd | 1 |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/xhci.c xhci_resume() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/xhci.c xhci_resume() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->state | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/musb/musb_host.c musb_host_poke_root_hub() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->status_urb | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &musb->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct musb)->lock |
drivers/usb/musb/musb_host.c musb_host_resume_root_hub() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &musb->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct musb)->lock |
drivers/usb/host/xen-hcd.c xenhcd_hub_status_data() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->ports | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->state | 4 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &info->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | 0 | &hcd->hcd_priv->lock | |
| TYPE_LOCK | (struct xenhcd_info)->lock |
drivers/usb/host/ohci-hcd.c ohci_irq() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->autostop | 0 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/host/ohci-hcd.c ohci_resume() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->regs | 4096-ptr_max |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hcd | unit_byte |
drivers/usb/host/ohci-hcd.c ohci_root_hub_state_changes() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ohci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ohci_hcd)->lock |
drivers/usb/host/r8a66597-hcd.c r8a66597_check_syssts() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &r8a66597->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/host/r8a66597-hcd.c r8a66597_irq() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &r8a66597->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct r8a66597)->lock |
drivers/usb/host/r8a66597-hcd.c r8a66597_irq() -> usb_hcd_resume_root_hub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &r8a66597->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct r8a66597)->lock |