Defined in 2 files as a function:
- drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c, line 282 (as a function)
- drivers/mtd/lpddr/lpddr_cmds.c, line 124 (as a function)
Referenced in 3 files:
- drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
- drivers/mtd/lpddr/lpddr_cmds.c, line 736
- drivers/scsi/hpsa.c
Smatch caller information:
drivers/mtd/lpddr/lpddr_cmds.c chip_ready() -> wait_for_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | chip->oldstate | 4 |
| PARAM_VALUE | 1 | chip->state | 5 |
| PARAM_VALUE | 1 | chip->write_suspended | 0 |
| PARAM_VALUE | 2 | chip_op_time | 0 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chip | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | chip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | map | unit_byte |
| LOCK2 | 1 | &chip->mutex |
drivers/mtd/lpddr/lpddr_cmds.c do_erase_oneblock() -> wait_for_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | chip->erase_suspended | 1 |
| PARAM_VALUE | 1 | chip->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->oldstate | 4 |
| PARAM_VALUE | 1 | chip->priv->erasing->state | 0-12,14-4294967295 |
| PARAM_VALUE | 1 | chip->priv->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->priv->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->priv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chip->priv->writing->state | 0-12,14-4294967295 |
| PARAM_VALUE | 1 | chip->state | 4 |
| PARAM_VALUE | 1 | chip->write_suspended | 0 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chip | 1 |
| CAPPED_DATA | 1 | &chip->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | map | unit_byte |
| LOCK2 | 1 | &chip->mutex | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex | ||
| TYPE_LOCK | (struct flchip)->mutex |
drivers/mtd/lpddr/lpddr_cmds.c do_write_buffer() -> wait_for_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | chip->erase_suspended | 1 |
| PARAM_VALUE | 1 | chip->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->oldstate | 4 |
| PARAM_VALUE | 1 | chip->priv->erasing->state | 0-12,14-4294967295 |
| PARAM_VALUE | 1 | chip->priv->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->priv->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->priv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chip->priv->writing->state | 0-12,14-4294967295 |
| PARAM_VALUE | 1 | chip->state | 7 |
| PARAM_VALUE | 1 | chip->write_suspended | 0 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chip | 1 |
| CAPPED_DATA | 1 | &chip->mutex | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | chip | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | map | unit_byte |
| LOCK2 | 1 | &chip->mutex | |
| TYPE_LOCK | (struct flchip)->mutex |
drivers/mtd/lpddr/lpddr_cmds.c do_xxlock() -> wait_for_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | chip->erase_suspended | 1 |
| PARAM_VALUE | 1 | chip->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->oldstate | 4 |
| PARAM_VALUE | 1 | chip->priv->erasing->state | 0-12,14-4294967295 |
| PARAM_VALUE | 1 | chip->priv->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->priv->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->priv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chip->priv->writing->state | 0-12,14-4294967295 |
| PARAM_VALUE | 1 | chip->state | 15-16 |
| PARAM_VALUE | 1 | chip->write_suspended | 0 |
| PARAM_VALUE | 2 | chip_op_time | 1 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chip | 1 |
| CAPPED_DATA | 1 | &chip->mutex | 1 |
| FUZZY_MAX | 1 | chip->state | 16 |
| HARD_MAX | 1 | chip->state | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | map | unit_byte |
| LOCK2 | 1 | &chip->mutex | |
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct flchip)->mutex |
drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_execution.c mod_hdcp_hdcp1_dp_execution() -> wait_for_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 3297681172122701824 |
| PARAM_VALUE | 1 | chip->event | 0-2 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | chip | $1 |
| DATA_SOURCE | 2 | chip_op_time | $2 |
| MEM_ZERO | 1 | chip | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_execution.c mod_hdcp_hdcp1_execution() -> wait_for_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 3297681172122701824 |
| PARAM_VALUE | 1 | chip->event | 0-2 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | chip | $1 |
| DATA_SOURCE | 2 | chip_op_time | $2 |
| MEM_ZERO | 1 | chip | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |