Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/lc.c __tb_lc_xhci_connect() -> find_port_lc_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->generation | 3 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c tb_lc_is_clx_supported() -> find_port_lc_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->xdomain | 0 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thunderbolt/lc.c tb_lc_is_usb_plugged() -> find_port_lc_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->generation | 3 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/lc.c tb_lc_is_xhci_connected() -> find_port_lc_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->generation | 3 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/lc.c tb_lc_lane_bonding_possible() -> find_port_lc_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | port | r tb_upstream_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c tb_lc_reset_port() -> find_port_lc_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->generation | 2-u32max |
| CAPPED_DATA | 0 | port | 1 |
| DATA_SOURCE | 0 | port | $0 |
| FUZZY_MAX | 0 | port->sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/lc.c tb_lc_set_port_configured() -> find_port_lc_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->generation | 2-u32max |
| CAPPED_DATA | 0 | port | 1 |
| DATA_SOURCE | 0 | port | $0 |
| FUZZY_MAX | 0 | port->sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c tb_lc_set_xdomain_configured() -> find_port_lc_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->generation | 2-u32max |
| PARAM_VALUE | 0 | port->usb4->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->xdomain->dev.power.wakeirq->status | 0-4294967295 |
| DATA_SOURCE | 0 | port | $0 |
| FUZZY_MAX | 0 | port->sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c tb_lc_start_lane_initialization() -> find_port_lc_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->config.type | 1 |
| PARAM_VALUE | 0 | port->port | 1-255 |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->generation | 2-u32max |
| PARAM_VALUE | 0 | port->usb4 | 0 |
| CAPPED_DATA | 0 | port | 1 |
| DATA_SOURCE | 0 | port | $0 |
| FUZZY_MAX | 0 | port->sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |