Defined in 1 files as a function:
Referenced in 7 files:
- drivers/pci/controller/pcie-brcmstb.c, line 1445
- drivers/pci/controller/pcie-mediatek.c, line 891
- drivers/pci/pci-sysfs.c
- drivers/pci/pci.c
- drivers/pci/pci.h, line 667
- drivers/pci/probe.c, line 828
- drivers/pci/slot.c, line 62
Smatch caller information:
drivers/pci/slot.c bus_speed_read() -> pci_speed_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | speed | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/pci-sysfs.c current_link_speed_show() -> pci_speed_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/pci-sysfs.c max_link_speed_show() -> pci_speed_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 20-25,255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/pci.c __pcie_print_link_status() -> pci_speed_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 20-25,255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->dev.mutex | ||
| HALF_LOCKED2 | &dev->intf_state_mutex |
drivers/pci/pci.c __pcie_print_link_status() -> pci_speed_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/pci.c __pcie_print_link_status() -> pci_speed_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 20-25 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pcie-mediatek.c mtk_pcie_retrain() -> pci_speed_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/pci/controller/pcie-brcmstb.c brcm_pcie_start_link() -> pci_speed_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |