Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- sound/soc/sof/intel/hda-pcm.c, line 210
- sound/soc/sof/intel/hda-sdw-bpt.c
- sound/soc/sof/intel/hda-stream.c
Smatch caller information:
sound/soc/sof/intel/hda-stream.c hda_dsp_compr_bytes_transferred() -> hda_dsp_stream_get_position()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hstream | 4096-ptr_max |
| PARAM_VALUE | 0 | hstream->cstream | 4096-ptr_max |
| PARAM_VALUE | 0 | hstream->opened | 1 |
| PARAM_VALUE | 0 | hstream->running | 1 |
| PARAM_VALUE | 2 | can_sleep | 0 |
| DATA_SOURCE | 0 | hstream | $0 |
| DATA_SOURCE | 1 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bus->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct hdac_bus)->reg_lock |
sound/soc/sof/intel/hda-pcm.c hda_dsp_pcm_pointer() -> hda_dsp_stream_get_position()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | can_sleep | 1 |
| BUF_SIZE | 0 | hstream | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hstream | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hstream | unit_byte |
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | irq |
sound/soc/sof/intel/hda-sdw-bpt.c hda_sdw_bpt_wait() -> hda_dsp_stream_get_position()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | direction | 0 |
| PARAM_VALUE | 2 | can_sleep | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex |
sound/soc/sof/intel/hda-sdw-bpt.c hda_sdw_bpt_wait() -> hda_dsp_stream_get_position()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | direction | 0 |
| PARAM_VALUE | 2 | can_sleep | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex |
sound/soc/sof/intel/hda-sdw-bpt.c hda_sdw_bpt_wait() -> hda_dsp_stream_get_position()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | direction | 1 |
| PARAM_VALUE | 2 | can_sleep | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex |
sound/soc/sof/intel/hda-sdw-bpt.c hda_sdw_bpt_wait() -> hda_dsp_stream_get_position()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | direction | 1 |
| PARAM_VALUE | 2 | can_sleep | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex |