Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/test.c tb_test_credit_alloc_all() -> alloc_dev_usb4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | parent->config.device_id | 39451 |
| PARAM_VALUE | 1 | parent->config.enabled | 0 |
| PARAM_VALUE | 1 | parent->config.max_port_number | 13 |
| PARAM_VALUE | 1 | parent->config.upstream_port_number | 7 |
| PARAM_VALUE | 1 | parent->config.vendor_id | 32902 |
| PARAM_VALUE | 1 | parent->credit_allocation | 1 |
| PARAM_VALUE | 1 | parent->generation | 4 |
| PARAM_VALUE | 1 | parent->max_dma_credits | 14 |
| PARAM_VALUE | 1 | parent->max_pcie_credits | 64 |
| PARAM_VALUE | 1 | parent->max_usb3_credits | 32 |
| PARAM_VALUE | 1 | parent->min_dp_aux_credits | 1 |
| PARAM_VALUE | 1 | parent->min_dp_main_credits | 0 |
| PARAM_VALUE | 1 | parent->ports | 4096-ptr_max |
| PARAM_VALUE | 2 | route | 1 |
| PARAM_VALUE | 3 | bonded | 1 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | parent | r alloc_host_usb4 |
drivers/thunderbolt/test.c tb_test_credit_alloc_dma() -> alloc_dev_usb4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | parent->config.device_id | 39451 |
| PARAM_VALUE | 1 | parent->config.enabled | 0 |
| PARAM_VALUE | 1 | parent->config.max_port_number | 13 |
| PARAM_VALUE | 1 | parent->config.upstream_port_number | 7 |
| PARAM_VALUE | 1 | parent->config.vendor_id | 32902 |
| PARAM_VALUE | 1 | parent->credit_allocation | 1 |
| PARAM_VALUE | 1 | parent->generation | 4 |
| PARAM_VALUE | 1 | parent->max_dma_credits | 14 |
| PARAM_VALUE | 1 | parent->max_pcie_credits | 64 |
| PARAM_VALUE | 1 | parent->max_usb3_credits | 32 |
| PARAM_VALUE | 1 | parent->min_dp_aux_credits | 1 |
| PARAM_VALUE | 1 | parent->min_dp_main_credits | 0 |
| PARAM_VALUE | 1 | parent->ports | 4096-ptr_max |
| PARAM_VALUE | 2 | route | 1 |
| PARAM_VALUE | 3 | bonded | 1 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | parent | r alloc_host_usb4 |
drivers/thunderbolt/test.c tb_test_credit_alloc_dma_multiple() -> alloc_dev_usb4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | parent->config.device_id | 39451 |
| PARAM_VALUE | 1 | parent->config.enabled | 0 |
| PARAM_VALUE | 1 | parent->config.max_port_number | 13 |
| PARAM_VALUE | 1 | parent->config.upstream_port_number | 7 |
| PARAM_VALUE | 1 | parent->config.vendor_id | 32902 |
| PARAM_VALUE | 1 | parent->credit_allocation | 1 |
| PARAM_VALUE | 1 | parent->generation | 4 |
| PARAM_VALUE | 1 | parent->max_dma_credits | 14 |
| PARAM_VALUE | 1 | parent->max_pcie_credits | 64 |
| PARAM_VALUE | 1 | parent->max_usb3_credits | 32 |
| PARAM_VALUE | 1 | parent->min_dp_aux_credits | 1 |
| PARAM_VALUE | 1 | parent->min_dp_main_credits | 0 |
| PARAM_VALUE | 1 | parent->ports | 4096-ptr_max |
| PARAM_VALUE | 2 | route | 1 |
| PARAM_VALUE | 3 | bonded | 1 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | parent | r alloc_host_usb4 |
drivers/thunderbolt/test.c tb_test_credit_alloc_dp() -> alloc_dev_usb4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | parent->config.device_id | 39451 |
| PARAM_VALUE | 1 | parent->config.enabled | 0 |
| PARAM_VALUE | 1 | parent->config.max_port_number | 13 |
| PARAM_VALUE | 1 | parent->config.upstream_port_number | 7 |
| PARAM_VALUE | 1 | parent->config.vendor_id | 32902 |
| PARAM_VALUE | 1 | parent->credit_allocation | 1 |
| PARAM_VALUE | 1 | parent->generation | 4 |
| PARAM_VALUE | 1 | parent->max_dma_credits | 14 |
| PARAM_VALUE | 1 | parent->max_pcie_credits | 64 |
| PARAM_VALUE | 1 | parent->max_usb3_credits | 32 |
| PARAM_VALUE | 1 | parent->min_dp_aux_credits | 1 |
| PARAM_VALUE | 1 | parent->min_dp_main_credits | 0 |
| PARAM_VALUE | 1 | parent->ports | 4096-ptr_max |
| PARAM_VALUE | 2 | route | 1 |
| PARAM_VALUE | 3 | bonded | 1 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | parent | r alloc_host_usb4 |
drivers/thunderbolt/test.c tb_test_credit_alloc_pcie() -> alloc_dev_usb4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | parent->config.device_id | 39451 |
| PARAM_VALUE | 1 | parent->config.enabled | 0 |
| PARAM_VALUE | 1 | parent->config.max_port_number | 13 |
| PARAM_VALUE | 1 | parent->config.upstream_port_number | 7 |
| PARAM_VALUE | 1 | parent->config.vendor_id | 32902 |
| PARAM_VALUE | 1 | parent->credit_allocation | 1 |
| PARAM_VALUE | 1 | parent->generation | 4 |
| PARAM_VALUE | 1 | parent->max_dma_credits | 14 |
| PARAM_VALUE | 1 | parent->max_pcie_credits | 64 |
| PARAM_VALUE | 1 | parent->max_usb3_credits | 32 |
| PARAM_VALUE | 1 | parent->min_dp_aux_credits | 1 |
| PARAM_VALUE | 1 | parent->min_dp_main_credits | 0 |
| PARAM_VALUE | 1 | parent->ports | 4096-ptr_max |
| PARAM_VALUE | 2 | route | 1 |
| PARAM_VALUE | 3 | bonded | 1 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | parent | r alloc_host_usb4 |
drivers/thunderbolt/test.c tb_test_credit_alloc_usb3() -> alloc_dev_usb4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test->last_seen.file | 8090938237943001088 |
| PARAM_VALUE | 0 | test->last_seen.line | 99 |
| PARAM_VALUE | 1 | parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | parent->config.device_id | 39451 |
| PARAM_VALUE | 1 | parent->config.enabled | 0 |
| PARAM_VALUE | 1 | parent->config.max_port_number | 13 |
| PARAM_VALUE | 1 | parent->config.upstream_port_number | 7 |
| PARAM_VALUE | 1 | parent->config.vendor_id | 32902 |
| PARAM_VALUE | 1 | parent->credit_allocation | 1 |
| PARAM_VALUE | 1 | parent->generation | 4 |
| PARAM_VALUE | 1 | parent->max_dma_credits | 14 |
| PARAM_VALUE | 1 | parent->max_pcie_credits | 64 |
| PARAM_VALUE | 1 | parent->max_usb3_credits | 32 |
| PARAM_VALUE | 1 | parent->min_dp_aux_credits | 1 |
| PARAM_VALUE | 1 | parent->min_dp_main_credits | 0 |
| PARAM_VALUE | 1 | parent->ports | 4096-ptr_max |
| PARAM_VALUE | 2 | route | 1 |
| PARAM_VALUE | 3 | bonded | 1 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| BUF_SIZE | 1 | parent | (-1),1968 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | parent | r alloc_host_usb4 |