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_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_readb()
| 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 | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/icl.c avs_icl_load_basefw() -> snd_hdac_reg_readb()
| 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 | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/icl.c avs_icl_load_basefw() -> snd_hdac_reg_readb()
| 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 | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_interrupt() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 3,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_start() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
sound/soc/intel/avs/cldma.c hda_cldma_start() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
sound/soc/intel/avs/cldma.c hda_cldma_stop() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
sound/soc/intel/avs/cldma.c hda_cldma_stop() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
sound/hda/core/stream.c snd_hdac_stream_clear() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/hda/core/stream.c snd_hdac_stream_clear() -> snd_hdac_reg_readb()
| 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 |
sound/hda/core/stream.c snd_hdac_stream_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_readb()
| 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 | |||
| HALF_LOCKED2 | &bus->reg_lock | ||
| HALF_LOCKED2 | cookie | ||
| HALF_LOCKED2 | flags |
sound/hda/core/stream.c snd_hdac_stream_start() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bus->reg_lock | ||
| HALF_LOCKED2 | cookie | ||
| HALF_LOCKED2 | flags |
sound/hda/core/stream.c snd_hdac_stream_sync() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/core/stream.c snd_hdac_stream_sync() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/core/controller.c azx_int_disable() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
sound/hda/core/controller.c hdac_wait_for_cmd_dmas() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| 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 | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | bus->posbuf.bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bus->rb.bytes | |
| UNITS | 0 | bus | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/hda/core/controller.c hdac_wait_for_cmd_dmas() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| 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 | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | bus->posbuf.bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bus->rb.bytes | |
| UNITS | 0 | bus | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/hda/core/controller.c hdac_wait_for_cmd_dmas() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| 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 | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | bus->posbuf.bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bus->rb.bytes | |
| UNITS | 0 | bus | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/hda/core/controller.c hdac_wait_for_cmd_dmas() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| 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 | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | bus->posbuf.bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bus->rb.bytes | |
| UNITS | 0 | bus | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/hda/core/controller.c snd_hdac_bus_enter_link_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | bus | (-1),1760 |
| BUF_SIZE | 0 | bus | (-1),1760 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/hda/core/controller.c snd_hdac_bus_enter_link_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | bus | (-1),1760 |
| BUF_SIZE | 0 | bus | (-1),1760 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/hda/core/controller.c snd_hdac_bus_exit_link_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
sound/hda/core/controller.c snd_hdac_bus_exit_link_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
sound/hda/core/controller.c snd_hdac_bus_exit_link_reset() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
sound/hda/core/controller.c snd_hdac_bus_handle_stream_irq() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bus->reg_lock | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/core/controller.c snd_hdac_bus_reset_link() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_reset_link() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->posbuf.bytes | |
| NO_OVERFLOW_SIMPLE | 0 | bus->rb.bytes | |
| HALF_LOCKED2 | &pool->lock |
sound/soc/sof/intel/hda-codec.c hda_codec_check_rirb_status() -> snd_hdac_reg_readb()
| 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 | |||
| LOCK2 | &bus->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct hdac_bus)->reg_lock |
sound/hda/common/controller.c azx_interrupt() -> snd_hdac_reg_readb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bus->reg_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct hdac_bus)->reg_lock |