Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

sound/soc/intel/avs/core.c probe_codec() -> snd_hdac_bus_send_cmd()

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 val 983040,269418496-1880031232
BUF_SIZE 0 bus 1760
CAPPED_DATA 0 &bus->cmd_mutex 1
DATA_SOURCE 0 bus $0
BIT_INFO 1 val 0xf0000,0x700f0000
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_send_cmd()

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 val 983040,269418496-1880031232
BIT_INFO 1 val 0xf0000,0x700f0000
NOCHECK_CALL
LOCK2 &hbus->core.cmd_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hdac_bus)->cmd_mutex

sound/hda/common/controller.c azx_send_cmd() -> snd_hdac_bus_send_cmd()

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 1 val 0-4294967294
BUF_SIZE 0 bus (-1),1760
BUF_SIZE 0 bus (-1),1760
CAPPED_DATA 1 val 1
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 val $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 val 0-4294967294[c]
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)->command()

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 1 val 0-4294967294
DATA_SOURCE 0 bus $0
DATA_SOURCE 1 val $2
CONTAINER 0 -0-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 val 0-4294967294[c]
NO_OVERFLOW_SIMPLE 0 bus->corb.addr
LOCK2 _T->lock