Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pci/hotplug/shpchp_hpc.c shpchp_green_led_blink() -> shpc_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->hotplug_slot.pci_slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | slot->state | 1-2 |
| PARAM_VALUE | 2 | cmd | 8 |
| DATA_SOURCE | 0 | slot | $0 |
| FUZZY_MAX | 0 | slot->state | 2 |
| HARD_MAX | 0 | slot->state | 2 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &slot->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct slot)->lock |
drivers/pci/hotplug/shpchp_hpc.c shpchp_green_led_off() -> shpc_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *slot->ctrl->pci_dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 2 | cmd | 12 |
| DATA_SOURCE | 0 | slot | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &slot->lock |
drivers/pci/hotplug/shpchp_hpc.c shpchp_green_led_on() -> shpc_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->state | 2-3 |
| PARAM_VALUE | 0 | *slot->ctrl->pci_dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 2 | cmd | 4 |
| DATA_SOURCE | 0 | slot | $0 |
| HARD_MAX | 0 | slot->state | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | slot->ctrl->pci_dev->current_state | 0-3[c] |
| HOST_DATA | 0 | slot->ctrl->pcix_misc2_reg | 0 |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &slot->ctrl->crit_sect | |
| HALF_LOCKED2 | 0 | &slot->lock |
drivers/pci/hotplug/shpchp_hpc.c shpchp_power_on_slot() -> shpc_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | slot->ctrl->pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->is_a_board | 1 |
| PARAM_VALUE | 0 | slot->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | slot->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->presence_save | 0-1 |
| PARAM_VALUE | 0 | slot->pwr_save | 0-2,255 |
| PARAM_VALUE | 0 | slot->state | 3 |
| PARAM_VALUE | 2 | cmd | 1 |
| DATA_SOURCE | 0 | slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | slot->ctrl->pcix_misc2_reg | 0 |
| LOCK2 | 0 | &slot->ctrl->crit_sect | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct controller)->crit_sect |
drivers/pci/hotplug/shpchp_hpc.c shpchp_set_attention_status() -> shpc_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 16,32,48 |
| DATA_SOURCE | 0 | slot | $0 |
| FUZZY_MAX | 2 | cmd | 48 |
| BIT_INFO | 2 | cmd | 0x0,0x30 |
| HARD_MAX | 2 | cmd | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | slot->attention_save | 0-255[c] |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &slot->ctrl->crit_sect | |
| HALF_LOCKED2 | 0 | &slot->lock |
drivers/pci/hotplug/shpchp_hpc.c shpchp_set_bus_speed_mode() -> shpc_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | slot->ctrl->pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->is_a_board | 1 |
| PARAM_VALUE | 0 | slot->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | slot->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->presence_save | 0-1 |
| PARAM_VALUE | 0 | slot->pwr_save | 0-2,255 |
| PARAM_VALUE | 0 | slot->state | 3 |
| PARAM_VALUE | 1 | t_slot | 0 |
| PARAM_VALUE | 2 | cmd | 64-68,85-93 |
| DATA_SOURCE | 0 | slot | $0 |
| FUZZY_MAX | 2 | cmd | 93 |
| BIT_INFO | 2 | cmd | 0x40,0x5f |
| HARD_MAX | 2 | cmd | 93 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | slot->ctrl->pcix_misc2_reg | 0 |
| LOCK2 | 0 | &slot->ctrl->crit_sect | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct controller)->crit_sect |
drivers/pci/hotplug/shpchp_hpc.c shpchp_slot_disable() -> shpc_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | slot->ctrl->pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->pci_dev->subordinate | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | slot->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *slot->ctrl->pci_dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 2 | cmd | 31 |
| CAPPED_DATA | 0 | slot->ctrl->pci_dev | 1 |
| DATA_SOURCE | 0 | slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | slot->ctrl->pcix_misc2_reg | 0 |
| LOCK2 | 0 | &slot->ctrl->crit_sect | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct controller)->crit_sect |
drivers/pci/hotplug/shpchp_hpc.c shpchp_slot_enable() -> shpc_write_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slot | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | slot->ctrl->cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->ctrl->crit_sect.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | slot->ctrl->pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | slot->is_a_board | 1 |
| PARAM_VALUE | 0 | slot->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | slot->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | slot->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | slot->presence_save | 0-1 |
| PARAM_VALUE | 0 | slot->pwr_save | 0-2,255 |
| PARAM_VALUE | 0 | slot->state | 3 |
| PARAM_VALUE | 2 | cmd | 58 |
| DATA_SOURCE | 0 | slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | slot->ctrl->pcix_misc2_reg | 0 |
| LOCK2 | 0 | &slot->ctrl->crit_sect | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct controller)->crit_sect |