Defined in 1 files as a function:
Referenced in 8 files:
- drivers/usb/dwc3/core.c, line 2146
- drivers/usb/early/xhci-dbc.c
- drivers/usb/host/pci-quirks.c, line 1178
- drivers/usb/host/xhci-dbgcap.c, line 1583
- drivers/usb/host/xhci-debugfs.c
- drivers/usb/host/xhci-ext-caps.c
- drivers/usb/host/xhci-hub.c, line 780
- drivers/usb/host/xhci-mem.c
Smatch caller information:
drivers/usb/dwc3/core.c dwc3_get_num_ports() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 2 |
| DATA_SOURCE | 0 | base | r ioremap |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/xhci-mem.c xhci_setup_port_arrays() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 2 |
| BUF_SIZE | 0 | base | 4 |
| BUF_SIZE | 0 | base | 4 |
drivers/usb/host/xhci-mem.c xhci_setup_port_arrays() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1-u32max |
| PARAM_VALUE | 2 | id | 2 |
| BUF_SIZE | 0 | base | 4 |
| BUF_SIZE | 0 | base | 4 |
| CAPPED_DATA | 1 | start | 1 |
| BIT_INFO | 1 | start | 0x0,0x7fffffff |
drivers/usb/host/xhci-mem.c xhci_setup_port_arrays() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1-u32max |
| PARAM_VALUE | 2 | id | 2 |
| BUF_SIZE | 0 | base | 4 |
| BUF_SIZE | 0 | base | 4 |
| BIT_INFO | 1 | start | 0x0,0x7fffffff |
drivers/usb/host/pci-quirks.c quirk_usb_handoff_xhci() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 1 |
| DATA_SOURCE | 0 | base | r ioremap |
drivers/usb/host/xhci-hub.c xhci_port_is_tunneled() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 206 |
| BUF_SIZE | 0 | base | 4 |
| BUF_SIZE | 0 | base | 4 |
drivers/usb/host/xhci-ext-caps.c xhci_ext_cap_init() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 0 |
| BUF_SIZE | 0 | base | 4 |
| BUF_SIZE | 0 | base | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/host/xhci-ext-caps.c xhci_ext_cap_init() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 1-u32max |
| PARAM_VALUE | 2 | id | 0 |
| BUF_SIZE | 0 | base | 4 |
| BUF_SIZE | 0 | base | 4 |
| BIT_INFO | 1 | start | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/early/xhci-dbc.c early_xdbc_parse_parameter() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 18446744073694871552-18446744073696710655 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 10 |
| DATA_SOURCE | 0 | base | r xdbc_map_pci_mmio |
| HALF_LOCKED2 | irq |
drivers/usb/early/xhci-dbc.c xdbc_bios_handoff() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 1 |
| LOCK2 | irq |
drivers/usb/early/xhci-dbc.c xdbc_init() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 10 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | global &xdbc.lock | ||
| TYPE_LOCK | (struct xdbc_state)->lock |
drivers/usb/early/xhci-dbc.c xdbc_reset_debug_port() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &xdbc.lock | ||
| HALF_LOCKED2 | irq |
drivers/usb/host/xhci-debugfs.c xhci_debugfs_extcap_regset() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 1-2,10 |
| BUF_SIZE | 0 | base | 4 |
| BUF_SIZE | 0 | base | 4 |
| DATA_SOURCE | 2 | id | $1 |
| HARD_MAX | 2 | id | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/xhci-debugfs.c xhci_debugfs_extcap_regset() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1-u32max |
| PARAM_VALUE | 2 | id | 1-2,10 |
| BUF_SIZE | 0 | base | 4 |
| BUF_SIZE | 0 | base | 4 |
| CAPPED_DATA | 2 | id | 1 |
| DATA_SOURCE | 2 | id | $1 |
| BIT_INFO | 1 | start | 0x0,0x7fffffff |
| HARD_MAX | 2 | id | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/xhci-dbgcap.c xhci_create_dbc_dev() -> xhci_find_next_ext_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | id | 10 |
| BUF_SIZE | 0 | base | 4 |
| BUF_SIZE | 0 | base | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |