Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/usb/core/hcd-pci.c, line 516
- drivers/usb/core/hcd.c
- drivers/usb/fotg210/fotg210-hcd.c, line 5220
- drivers/usb/host/ehci-hcd.c, line 845
- drivers/usb/host/isp116x-hcd.c, line 615
- drivers/usb/host/ohci-hcd.c
- drivers/usb/host/oxu210hp-hcd.c
- drivers/usb/host/uhci-hcd.c, line 487
- drivers/usb/host/xhci-ring.c, line 1406
Smatch caller information:
drivers/usb/host/uhci-hcd.c uhci_irq() -> usb_hc_died()
| 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->dead | 1 |
| PARAM_VALUE | 0 | hcd->hcd_priv->is_initialized | 1 |
| 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->reset_hc | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->resuming_ports | 0 |
| PARAM_VALUE | 0 | hcd->hcd_priv->rh_state | 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 | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct uhci_hcd)->lock |
drivers/usb/core/hcd-pci.c resume_common() -> usb_hc_died()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver->pci_resume | 1-u64max |
| PARAM_VALUE | 0 | hcd->shared_hcd | 0,4096-ptr_max |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | hcd->primary_hcd | 1 |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| BIT_INFO | 0 | hcd->flags | 0x0,0xffffffffffffff9f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hcd | unit_byte |
drivers/usb/host/isp116x-hcd.c isp116x_irq() -> usb_hc_died()
| 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 |
| PARAM_VALUE | 0 | hcd->state | 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 | &isp116x->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct isp116x)->lock |
drivers/usb/host/ehci-hcd.c ehci_irq() -> usb_hc_died()
| 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 |
| 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/fotg210/fotg210-hcd.c fotg210_irq() -> usb_hc_died()
| 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-u32max |
| 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 xhci_hc_died() -> usb_hc_died()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &xhci->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/oxu210hp-hcd.c disable_periodic() -> usb_hc_died()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &oxu->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/host/oxu210hp-hcd.c enable_periodic() -> usb_hc_died()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &oxu->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/host/oxu210hp-hcd.c oxu210_hcd_irq() -> usb_hc_died()
| 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/host/ohci-hcd.c io_watchdog_func() -> usb_hc_died()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ohci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ohci_hcd)->lock |
drivers/usb/host/ohci-hcd.c ohci_irq() -> usb_hc_died()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->rh_state | 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_irq() -> usb_hc_died()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->rh_state | 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/core/hcd.c hcd_bus_resume() -> usb_hc_died()
| 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->self.sysdev | 4096-ptr_max |
| CAPPED_DATA | 0 | hcd | 1 |
| DATA_SOURCE | 0 | hcd | r bus_to_hcd |
| BIT_INFO | 0 | hcd->flags | 0x0,0xffffffffffffff9f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hcd->hcd_priv->hc_control | 0-4294967295 |
| HOST_DATA | 0 | hcd->hcd_priv->rhdesca | 0-4294967295[c] |
| HOST_DATA | 0 | hcd->hcd_priv->rhdescb | 0-4294967295[c] |
| HOST_DATA | 0 | hcd->hcd_priv->rhstatus | 0-4294967295[c] |
drivers/usb/core/hcd.c register_root_hub() -> usb_hc_died()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->rh_registered | 1 |
| PARAM_VALUE | 0 | hcd->self.root_hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->bus->b_hnp_enable | 1 |
| PARAM_VALUE | 0 | hcd->self.root_hub->bus->devmap | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->bus->devnum_next | 2 |
| PARAM_VALUE | 0 | hcd->self.root_hub->config | 1-u64max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.fwnode->suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hcd->self.root_hub->devnum | 1 |
| PARAM_VALUE | 0 | hcd->self.root_hub->ep0.desc.wMaxPacketSize | 64 |
| PARAM_VALUE | 0 | hcd->self.root_hub->ep0.ep_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->ep0.ep_dev->dev.power.async_suspend | 1 |
| PARAM_VALUE | 0 | hcd->self.root_hub->rawdescriptors | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->state | 0,2,5-8 |
| PARAM_VALUE | 0 | *hcd->self.root_hub->rawdescriptors | 4096-ptr_max |
| DATA_SOURCE | 0 | hcd | $0 |
| BIT_INFO | 0 | hcd->flags | 0x40,0xffffffffffffffff |
| NOCHECK_CALL | |||
| LOCK2 | global &usb_bus_idr_lock |