Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/usb/chipidea/host.c, line 331
- drivers/usb/host/ehci-brcm.c, line 91
- drivers/usb/host/ehci-grlib.c, line 60
- drivers/usb/host/ehci-hcd.c, line 1276
- drivers/usb/host/ehci-hub.c
- drivers/usb/host/ehci-ppc-of.c, line 61
- drivers/usb/host/ehci-ps3.c, line 73
- drivers/usb/host/ehci-sh.c, line 62
- drivers/usb/host/ehci-xilinx-of.c, line 96
Smatch caller information:
drivers/usb/chipidea/host.c ci_ehci_hub_control() -> ehci_hub_control()
| 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->port_status | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.controller | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.mon_bus->cnt_events | 0-4294967295 |
| BUF_SIZE | 4 | buf | (-1),15-u16max |
| BUF_SIZE | 4 | buf | (-1),15-u16max |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | typeReq | $1 |
| DATA_SOURCE | 2 | wValue | $2 |
| DATA_SOURCE | 3 | wIndex | $3 |
| DATA_SOURCE | 4 | buf | $4 |
| DATA_SOURCE | 5 | wLength | $5 |
drivers/usb/host/ehci-hcd.c ehci_handover_companion_ports() -> ehci_hub_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | typeReq | 8963 |
| PARAM_VALUE | 2 | wValue | 4 |
| PARAM_VALUE | 3 | wIndex | 1-15 |
| PARAM_VALUE | 4 | buf | 0 |
| PARAM_VALUE | 5 | wLength | 0 |
| DATA_SOURCE | 0 | hcd | r ehci_to_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/ehci-hcd.c ehci_handover_companion_ports() -> ehci_hub_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | typeReq | 41728 |
| PARAM_VALUE | 2 | wValue | 0 |
| PARAM_VALUE | 3 | wIndex | 1-15 |
| PARAM_VALUE | 4 | buf | 5334814838690467840 |
| PARAM_VALUE | 5 | wLength | 4 |
| BUF_SIZE | 4 | buf | 4 |
| DATA_SOURCE | 0 | hcd | r ehci_to_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 5 | wLength | unit_byte |
drivers/usb/host/ehci-brcm.c ehci_brcm_hub_control() -> ehci_hub_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->regs->port_status | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->reset_done | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.mon_bus->cnt_events | 0-4294967295 |
| BUF_SIZE | 4 | buf | (-1),15-u16max |
| BUF_SIZE | 4 | buf | (-1),15-u16max |
| CAPPED_DATA | 3 | wIndex | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | typeReq | $1 |
| DATA_SOURCE | 2 | wValue | $2 |
| DATA_SOURCE | 3 | wIndex | $3 |
| DATA_SOURCE | 4 | buf | $4 |
| DATA_SOURCE | 5 | wLength | $5 |
| HALF_LOCKED2 | flags |
drivers/usb/core/hcd.c rh_call_control() -> (struct hc_driver)->hub_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.mon_bus->cnt_events | 0-4294967295 |
| PARAM_VALUE | 0 | hcd->self.mon_bus->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | typeReq | 0,2,4,6-8,10,12-512,514,516-s16max,32769-32775,32777,32779-33279,33281-u16max |
| PARAM_VALUE | 4 | buf | 4096-ptr_max |
| BUF_SIZE | 4 | buf | 15-u16max |
| BUF_SIZE | 4 | buf | 15-u16max |
| CAPPED_DATA | 5 | wLength | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 4 | buf | r _kzalloc_noprof |
| CONTAINER | 0 | -160-568+0 | $(-1) |
| CONSTRAINT | 5 | wLength | <=624 |
| BIT_INFO | 1 | typeReq | 0x0,0xff |
drivers/usb/host/ohci-da8xx.c ohci_da8xx_hub_control() -> drivers/usb/host/ohci-da8xx.c ptr orig_ohci_hub_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.mon_bus->cnt_events | 0-4294967295 |
| BUF_SIZE | 4 | buf | (-1),15-u16max |
| BUF_SIZE | 4 | buf | (-1),15-u16max |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | typeReq | $1 |
| DATA_SOURCE | 2 | wValue | $2 |
| DATA_SOURCE | 3 | wIndex | $3 |
| DATA_SOURCE | 4 | buf | $4 |
| DATA_SOURCE | 5 | wLength | $5 |