Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 18 files:
- drivers/usb/core/hcd.c
- drivers/usb/fotg210/fotg210-hcd.c, line 5239
- drivers/usb/gadget/udc/dummy_hcd.c
- drivers/usb/host/ehci-hcd.c, line 863
- drivers/usb/host/octeon-hcd.c, line 2925
- drivers/usb/host/ohci-hcd.c, line 943
- drivers/usb/host/ohci-hub.c, line 342
- drivers/usb/host/oxu210hp-hcd.c, line 2929
- drivers/usb/host/r8a66597-hcd.c, line 1032
- drivers/usb/host/uhci-hcd.c, line 498
- drivers/usb/host/uhci-pci.c, line 254
- drivers/usb/host/xen-hcd.c
- drivers/usb/host/xhci-mtk.c
- drivers/usb/host/xhci-ring.c, line 2162
- drivers/usb/host/xhci.c
- drivers/usb/musb/musb_host.c, line 2774
- drivers/usb/musb/musb_virthub.c
- drivers/usb/usbip/vhci_hcd.c
Smatch caller information:
drivers/usb/host/uhci-hcd.c uhci_irq() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->is_initialized | 1 |
| 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 |
| 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/uhci-hcd.c uhci_pci_resume() -> usb_hcd_poll_rh_status()
| 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->check_and_reset_hc | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->is_stopped | 9999 |
| PARAM_VALUE | 0 | hcd->hcd_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->hcd_priv->port_c_suspend | 0 |
| PARAM_VALUE | 0 | hcd->hcd_priv->resuming_ports | 0 |
| PARAM_VALUE | 0 | hcd->hcd_priv->rh_state | 0 |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | hcd | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x0,0xffffffffffffffbf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/udc/dummy_hcd.c dummy_hcd_resume() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hcd | unit_byte |
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/gadget/udc/dummy_hcd.c dummy_hub_control() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->dum | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->dum->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->hcd_priv->port_status | 65536-u32max |
| PARAM_VALUE | 0 | hcd->self.mon_bus->cnt_events | 0-4294967295 |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| NOCHECK_CALL |
drivers/usb/gadget/udc/dummy_hcd.c dummy_pullup() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_gadget->dev.mutex | ||
| HALF_LOCKED2 | &_gadget->udc->connect_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/gadget/udc/dummy_hcd.c dummy_udc_resume() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/gadget/udc/dummy_hcd.c dummy_udc_suspend() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/host/xhci-mtk.c xhci_mtk_resume() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/xhci-mtk.c xhci_mtk_resume() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| CAPPED_DATA | 0 | hcd | 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 | |||
| UNITS | 0 | hcd | unit_byte |
drivers/usb/host/xhci-mtk.c xhci_mtk_suspend() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->rh_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | hcd->rh_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | hcd->rh_timer.function | 0 |
| CAPPED_DATA | 0 | &hcd->rh_timer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/xhci-mtk.c xhci_mtk_suspend() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->rh_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | hcd->rh_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | hcd->rh_timer.function | 0 |
| CAPPED_DATA | 0 | hcd | 1 |
| CAPPED_DATA | 0 | hcd->primary_hcd | 1 |
| CAPPED_DATA | 0 | &hcd->rh_timer | 1 |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hcd | unit_byte |
drivers/usb/host/ehci-hcd.c ehci_irq() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 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 |
| 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/usbip/vhci_hcd.c rh_port_connect() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &vdev->ud.sysfs_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct usbip_device)->sysfs_lock |
drivers/usb/usbip/vhci_hcd.c rh_port_disconnect() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &ud->sysfs_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct usbip_device)->sysfs_lock |
drivers/usb/usbip/vhci_hcd.c vhci_hcd_resume() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hcd | unit_byte |
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/usbip/vhci_hcd.c vhci_hub_control() -> usb_hcd_poll_rh_status()
| 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->hcd_priv->vhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->self.mon_bus->cnt_events | 0-4294967295 |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffffff |
| NOCHECK_CALL |
drivers/usb/fotg210/fotg210-hcd.c fotg210_irq() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 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->reset_done | 4096-ptr_max |
| 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/xhci-ring.c handle_port_status() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/host/oxu210hp-hcd.c oxu210_hcd_irq() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 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 |
| 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/xhci.c compliance_mode_recovery() -> usb_hcd_poll_rh_status()
| 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_poll_rh_status()
| 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_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->state | s32min-(-1),1-s32max |
| FUZZY_MAX | 0 | hcd->state | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/musb/musb_host.c musb_host_poke_root_hub() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->status_urb | 1-u64max |
| 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_virthub.c musb_host_finish_resume() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &musb->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct musb)->lock |
drivers/usb/musb/musb_virthub.c musb_port_reset() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &musb->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/musb/musb_virthub.c musb_root_disconnect() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &musb->lock |
drivers/usb/host/xen-hcd.c xenhcd_conn_notify() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/usb/host/xen-hcd.c xenhcd_hub_control() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->hcd_priv->ports | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.mon_bus->cnt_events | 0-4294967295 |
| DATA_SOURCE | 0 | hcd | $0 |
| NOCHECK_CALL |
drivers/usb/host/ohci-hcd.c ohci_bus_resume() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver->bus_resume | 1-u64max |
| PARAM_VALUE | 0 | hcd->hcd_priv->autostop | 0 |
| PARAM_VALUE | 0 | hcd->hcd_priv->hc_control | 4-u32max |
| 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 | 0,2 |
| PARAM_VALUE | 0 | hcd->state | 132 |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x1,0xffffffffffffff9f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/ohci-hcd.c ohci_irq() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| 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/core/hcd.c rh_timer_func() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/r8a66597-hcd.c r8a66597_check_syssts() -> usb_hcd_poll_rh_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags |