Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/soc/intel/avs/core.c avs_hda_interrupt() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 5 |
| 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/soc/intel/avs/icl.c avs_icl_load_basefw() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 95,223 |
| BUF_SIZE | 0 | bus | 1760 |
| BIT_INFO | 2 | val | 0x5f,0xdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/icl.c avs_icl_load_basefw() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | bus | 1760 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_reset() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| PARAM_VALUE | 2 | val | 1,3-255 |
| BIT_INFO | 2 | val | 0x1,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_reset() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| PARAM_VALUE | 2 | val | 0,2-254 |
| BIT_INFO | 2 | val | 0x0,0xfe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_setup() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 12,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_start() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 30-255 |
| BIT_INFO | 2 | val | 0x1e,0xff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
sound/soc/intel/avs/cldma.c hda_cldma_stop() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| PARAM_VALUE | 2 | val | 0-225 |
| BIT_INFO | 2 | val | 0x0,0xe1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
sound/hda/core/stream.c snd_hdac_stream_clear() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 28 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/hda/core/stream.c snd_hdac_stream_clear() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 0-225 |
| BIT_INFO | 2 | val | 0x0,0xe1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/hda/core/stream.c snd_hdac_stream_clear() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 28 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/hda/core/stream.c snd_hdac_stream_clear() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 0,4-252 |
| BIT_INFO | 2 | val | 0x0,0xfc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/hda/core/stream.c snd_hdac_stream_reset() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| BIT_INFO | 2 | val | 0x1,0xff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex | ||
| HALF_LOCKED2 | &azx_dev->dsp_mutex |
sound/hda/core/stream.c snd_hdac_stream_reset() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 0,2-254 |
| BIT_INFO | 2 | val | 0x0,0xfe |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex | ||
| HALF_LOCKED2 | &azx_dev->dsp_mutex |
sound/hda/core/stream.c snd_hdac_stream_start() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-255[c] |
| HALF_LOCKED2 | &bus->reg_lock | ||
| HALF_LOCKED2 | cookie | ||
| HALF_LOCKED2 | flags |
sound/hda/core/stream.c snd_hdac_stream_start() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| BIT_INFO | 2 | val | 0x1e,0xff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->reg_lock | ||
| HALF_LOCKED2 | cookie | ||
| HALF_LOCKED2 | flags |
sound/hda/core/controller.c azx_int_clear() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/hda/core/controller.c azx_int_clear() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 5 |
| 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 azx_int_disable() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 0-227 |
| BIT_INFO | 2 | val | 0x0,0xe3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
sound/hda/core/controller.c snd_hdac_bus_exit_link_reset() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 1,3-255 |
| DATA_SOURCE | 0 | bus | $0 |
| BIT_INFO | 2 | val | 0x1,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
sound/hda/core/controller.c snd_hdac_bus_handle_stream_irq() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 28 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->reg_lock | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/core/controller.c snd_hdac_bus_init_cmd_io() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 2 |
| 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_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 2 |
| 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_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 2 |
| 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_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 2 |
| 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_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 3 |
| 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_stop_cmd_io() -> snd_hdac_reg_writeb()
| 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 | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->corb.addr | |
| UNITS | 0 | bus | unit_byte |
| 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_stop_cmd_io() -> snd_hdac_reg_writeb()
| 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 | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->corb.addr | |
| UNITS | 0 | bus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &bus->reg_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct hdac_bus)->reg_lock |
sound/soc/sof/intel/hda-codec.c hda_codec_check_rirb_status() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 5 |
| BUF_SIZE | 0 | bus | 1760 |
| DATA_SOURCE | 0 | bus | r sof_to_bus |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bus->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct hdac_bus)->reg_lock |
sound/soc/sof/intel/hda-codec.c hda_codec_rirb_status_clear() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 5 |
| 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_interrupt() -> snd_hdac_reg_writeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 5 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bus->reg_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct hdac_bus)->reg_lock |