Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/soc/intel/avs/mtl.c avs_mtl_interrupt_control() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 1,3-u16max
BIT_INFO 2 val 0x1,0xffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/soc/intel/avs/mtl.c avs_mtl_interrupt_control() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 0,2-65534
BIT_INFO 2 val 0x0,0xfffe
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

sound/hda/core/i915.c snd_hdac_i915_set_bclk() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 4,8,16
BUF_SIZE 0 bus (-1),1760
BUF_SIZE 0 bus (-1),1760
DATA_SOURCE 0 bus $0
BIT_INFO 2 val 0x0,0x1c
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/hda/core/i915.c snd_hdac_i915_set_bclk() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 75,90,225
BUF_SIZE 0 bus (-1),1760
BUF_SIZE 0 bus (-1),1760
DATA_SOURCE 0 bus $0
BIT_INFO 2 val 0x40,0xfb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/hda/controllers/intel.c azx_runtime_resume() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 0,256-65280
BIT_INFO 2 val 0x0,0xff00
NOCHECK_CALL

sound/hda/controllers/intel.c azx_runtime_suspend() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
BIT_INFO 2 val 0xff,0xffff
NOCHECK_CALL

sound/hda/core/stream.c snd_hdac_stream_setup() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 val 0-32831[c][u]
HALF_LOCKED2 &azx_dev->core.dsp_mutex
HALF_LOCKED2 &azx_dev->dsp_mutex
HALF_LOCKED2 _T->lock

sound/hda/core/stream.c snd_hdac_stream_setup() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &azx_dev->core.dsp_mutex
HALF_LOCKED2 &azx_dev->dsp_mutex
HALF_LOCKED2 _T->lock

sound/hda/core/ext/controller.c snd_hdac_ext_bus_link_get() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
DATA_SOURCE 0 bus $0
DATA_SOURCE 2 val r snd_hdac_reg_readw
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &card->mutex

drivers/soundwire/intel_ace2x.c intel_shim_wake() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u16max
LOCK2 sdw->link_res->shim_lock

drivers/soundwire/intel_ace2x.c intel_shim_wake() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u16max[c]
LOCK2 sdw->link_res->shim_lock

drivers/soundwire/intel_ace2x.c intel_shim_wake() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u16max
LOCK2 sdw->link_res->shim_lock

sound/hda/core/controller.c azx_clear_corbrp() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 0
BUF_SIZE 0 bus (-1),1760
BUF_SIZE 0 bus (-1),1760
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &bus->reg_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct hdac_bus)->reg_lock

sound/hda/core/controller.c azx_int_clear() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 255
BUF_SIZE 0 bus s32min-(-1),1-s32max
BUF_SIZE 0 bus s32min-(-1),1-s32max
CAPPED_DATA 0 &bus->stream_list 1
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->posbuf.bytes
NO_OVERFLOW_SIMPLE 0 bus->rb.bytes
UNITS 0 bus unit_byte

sound/hda/core/controller.c snd_hdac_bus_init_cmd_io() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 0
BUF_SIZE 0 bus (-1),1760
BUF_SIZE 0 bus (-1),1760
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->posbuf.bytes
NO_OVERFLOW_SIMPLE 0 bus->rb.bytes
LOCK2 irq
LOCK2 0 &bus->reg_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct hdac_bus)->reg_lock

sound/hda/core/controller.c snd_hdac_bus_init_cmd_io() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 32768
BUF_SIZE 0 bus (-1),1760
BUF_SIZE 0 bus (-1),1760
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->posbuf.bytes
NO_OVERFLOW_SIMPLE 0 bus->rb.bytes
LOCK2 irq
LOCK2 0 &bus->reg_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct hdac_bus)->reg_lock

sound/hda/core/controller.c snd_hdac_bus_init_cmd_io() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 32768
BUF_SIZE 0 bus (-1),1760
BUF_SIZE 0 bus (-1),1760
DATA_SOURCE 0 bus $0
MEM_ZERO 0 bus->rirb.cmds
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->posbuf.bytes
NO_OVERFLOW_SIMPLE 0 bus->rb.bytes
LOCK2 irq
LOCK2 0 &bus->reg_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct hdac_bus)->reg_lock

sound/hda/core/controller.c snd_hdac_bus_init_cmd_io() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 1
BUF_SIZE 0 bus (-1),1760
BUF_SIZE 0 bus (-1),1760
DATA_SOURCE 0 bus $0
MEM_ZERO 0 bus->rirb.cmds
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->posbuf.bytes
NO_OVERFLOW_SIMPLE 0 bus->rb.bytes
LOCK2 irq
LOCK2 0 &bus->reg_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct hdac_bus)->reg_lock

sound/hda/core/controller.c snd_hdac_bus_reset_link() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 255
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->posbuf.bytes
NO_OVERFLOW_SIMPLE 0 bus->rb.bytes
HALF_LOCKED2 &pool->lock

sound/hda/core/controller.c snd_hdac_bus_send_cmd_corb() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 0-255
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->corb.addr
LOCK2 irq
LOCK2 0 &bus->reg_lock
HALF_LOCKED2 &hbus->core.cmd_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &bus->cmd_mutex
TYPE_LOCK (struct hdac_bus)->reg_lock

sound/hda/core/controller.c snd_hdac_bus_send_cmd_pio() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 2-u16max
DATA_SOURCE 0 bus $0
BIT_INFO 2 val 0x2,0xffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->corb.addr
LOCK2 irq
LOCK2 0 &bus->reg_lock
HALF_LOCKED2 &hbus->core.cmd_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &bus->cmd_mutex
TYPE_LOCK (struct hdac_bus)->reg_lock

sound/hda/core/controller.c snd_hdac_bus_send_cmd_pio() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 1,3-u16max
DATA_SOURCE 0 bus $0
BIT_INFO 2 val 0x1,0xffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->corb.addr
LOCK2 irq
LOCK2 0 &bus->reg_lock
HALF_LOCKED2 &hbus->core.cmd_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &bus->cmd_mutex
TYPE_LOCK (struct hdac_bus)->reg_lock

sound/soc/sof/intel/hda-bus.c update_codec_wake_enable() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
DATA_SOURCE 0 bus $0
NOCHECK_CALL

sound/soc/sof/intel/hda-codec.c hda_codec_check_for_state_change() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 1-u16max
BUF_SIZE 0 bus 1760
DATA_SOURCE 0 bus r sof_to_bus
DATA_SOURCE 2 val r snd_hdac_reg_readw
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq

sound/soc/sof/intel/hda-codec.c hda_codec_jack_wake_enable() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
BUF_SIZE 0 bus 1760
DATA_SOURCE 0 bus r sof_to_bus
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/hda/common/controller.c azx_init_chip() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
PARAM_VALUE 2 val 192
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bus->posbuf.bytes
NO_OVERFLOW_SIMPLE 0 bus->rb.bytes

sound/hda/common/controller.c azx_single_send_cmd() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
BIT_INFO 2 val 0x2,0xffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

sound/hda/common/controller.c azx_single_send_cmd() -> snd_hdac_reg_writew()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 1 addr 4096-ptr_max
BIT_INFO 2 val 0x1,0xffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock