Defined in 1 files as a prototype:
Referenced in 6 files:
- arch/mips/pci/pci-rt2880.c, line 247
- drivers/pci/access.c
- drivers/pci/hotplug/cpci_hotplug_pci.c
- drivers/pci/hotplug/cpqphp_ctrl.c
- drivers/pci/hotplug/cpqphp_pci.c
- drivers/pci/hotplug/ibmphp_pci.c
Smatch caller information:
drivers/pci/access.c pci_write_config_word() -> pci_bus_write_config_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 2 | pos | $1 |
| DATA_SOURCE | 3 | value | $2 |
drivers/edac/pnd2_edac.c _apl_rd_reg() -> pci_bus_write_config_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 1 | devfn | 104 |
| PARAM_VALUE | 2 | pos | 218 |
| PARAM_VALUE | 3 | value | 0 |
| NOCHECK_CALL |
drivers/edac/pnd2_edac.c _apl_rd_reg() -> pci_bus_write_config_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 1 | devfn | 104 |
| PARAM_VALUE | 2 | pos | 216 |
| PARAM_VALUE | 3 | value | 1,1025,1537 |
| BIT_INFO | 3 | value | 0x1,0x701 |
| NOCHECK_CALL |
drivers/pci/hotplug/cpci_hotplug_pci.c cpci_check_and_clear_ins() -> pci_bus_write_config_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 2 | pos | 3-257 |
| PARAM_VALUE | 3 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | value | 0 |
| UNITS | 0 | bus | unit_byte |
| LOCK2 | global &list_rwsem |
drivers/pci/hotplug/cpci_hotplug_pci.c cpci_clear_ext() -> pci_bus_write_config_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 2 | pos | 3-257 |
| PARAM_VALUE | 3 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | value | 0 |
| UNITS | 0 | bus | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &list_rwsem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/cpci_hotplug_pci.c cpci_led_off() -> pci_bus_write_config_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 2 | pos | 3-257 |
| PARAM_VALUE | 3 | value | 0 |
| HOST_DATA | 3 | value | 0[c] |
| UNITS | 0 | bus | unit_byte |
| LOCK2 | global &list_rwsem |
drivers/pci/hotplug/cpci_hotplug_pci.c cpci_led_on() -> pci_bus_write_config_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 2 | pos | 3-257 |
| PARAM_VALUE | 3 | value | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | value | 8[c] |
| UNITS | 0 | bus | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &list_rwsem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/cpci_hotplug_pci.c cpci_set_attention_status() -> pci_bus_write_config_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 2 | pos | 3-257 |
| PARAM_VALUE | 3 | value | 0,8 |
| BIT_INFO | 3 | value | 0x0,0x8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | value | 0,8[c] |
| UNITS | 0 | bus | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |