Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- sound/hda/common/controller.c, line 771
- sound/hda/core/bus.c, line 19
- sound/hda/core/controller.c, line 397
- sound/soc/intel/avs/core.c, line 141
- sound/soc/sof/intel/hda-bus.c, line 61
- sound/soc/sof/intel/hda-codec.c, line 162
Smatch caller information:
sound/soc/intel/avs/core.c probe_codec() -> snd_hdac_bus_get_response()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->audio_component | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->chip_init | 1 |
| PARAM_VALUE | 0 | bus->cmd_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->cmd_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->cmd_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bus->cmd_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bus->cmd_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bus->cmd_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | bus->cmd_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | bus->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | bus->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | *bus->last_cmd | 0-4294967295 |
| PARAM_VALUE | 0 | *bus->rirb.cmds | s32min-s32max |
| PARAM_VALUE | 0 | *bus->rirb.res | 0-4294967295 |
| PARAM_VALUE | 0 | *bus->unsol_queue | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 0-7 |
| PARAM_VALUE | 2 | res | 3601222168982884352 |
| PARAM_VALUE | 2 | *res | u32max |
| BUF_SIZE | 0 | bus | 1760 |
| CAPPED_DATA | 0 | &bus->cmd_mutex | 1 |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &bus->cmd_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hdac_bus)->cmd_mutex |
sound/soc/sof/intel/hda-codec.c hda_codec_probe() -> snd_hdac_bus_get_response()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->cmd_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bus->cmd_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | bus->cmd_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | addr | 0-7 |
| PARAM_VALUE | 2 | res | 8774543318179274752 |
| PARAM_VALUE | 2 | *res | u32max |
| DATA_SOURCE | 1 | addr | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &hbus->core.cmd_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hdac_bus)->cmd_mutex |
sound/hda/common/controller.c azx_rirb_get_response() -> snd_hdac_bus_get_response()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->use_pio_for_commands | 0 |
| PARAM_VALUE | 0 | *bus->last_cmd | 0-4294967295 |
| PARAM_VALUE | 0 | *bus->rirb.res | 0-4294967295 |
| PARAM_VALUE | 0 | *bus->unsol_queue | 0-4294967295 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 0 | bus | (-1),1760 |
| BUF_SIZE | 0 | bus | (-1),1760 |
| BUF_SIZE | 2 | res | (-1),4 |
| BUF_SIZE | 2 | res | (-1),4 |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | res | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->corb.addr | |
| LOCK2 | _T->lock |
sound/hda/core/bus.c snd_hdac_bus_exec_verb_unlocked() -> (struct hdac_bus_ops)->get_response()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->use_pio_for_commands | 0 |
| PARAM_VALUE | 0 | *bus->last_cmd | 0-4294967295 |
| PARAM_VALUE | 0 | *bus->rirb.res | 0-4294967295 |
| PARAM_VALUE | 0 | *bus->unsol_queue | 0-4294967295 |
| PARAM_VALUE | 2 | res | 5670070324579520512 |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| CONTAINER | 0 | -8-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->corb.addr | |
| LOCK2 | _T->lock |
sound/hda/core/bus.c snd_hdac_bus_exec_verb_unlocked() -> (struct hdac_bus_ops)->get_response()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *bus->last_cmd | 0-4294967295 |
| PARAM_VALUE | 0 | *bus->rirb.res | 0-4294967295 |
| PARAM_VALUE | 0 | *bus->unsol_queue | 0-4294967295 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 2 | res | (-1),4 |
| BUF_SIZE | 2 | res | (-1),4 |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | res | $3 [m] |
| CONTAINER | 0 | -8-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->corb.addr | |
| LOCK2 | _T->lock |