Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- sound/core/pcm_lib.c
- sound/core/pcm_native.c
- sound/hda/common/controller.c, line 503
- sound/hda/core/stream.c, line 726
- sound/usb/pcm.c, line 1624
Smatch caller information:
sound/hda/core/stream.c snd_hdac_stream_timecounter_init() -> snd_pcm_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tv | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &bus->reg_lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct hdac_bus)->reg_lock |
sound/core/pcm_lib.c __snd_pcm_xrun() -> snd_pcm_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->tstamp_mode | 1 |
| PARAM_VALUE | 1 | tv | 2360618215053422592 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | runtime->rate_den | 0-u32max |
| USER_DATA | 0 | runtime->rate_num | 0-u32max |
| USER_PTR | 0 | runtime->oss.buffer |
sound/core/pcm_lib.c snd_pcm_update_hw_ptr0() -> snd_pcm_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->audio_tstamp_config.type_requested | 0,2-15 |
| PARAM_VALUE | 0 | runtime->audio_tstamp_report.actual_type | 1 |
| PARAM_VALUE | 0 | runtime->state | 3,5 |
| PARAM_VALUE | 0 | runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->tstamp_mode | 1 |
| PARAM_VALUE | 1 | tv | 3391947076438949888 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | runtime->rate_den | 0-u32max |
| USER_DATA | 0 | runtime->rate_num | 0-u32max |
| USER_PTR | 0 | runtime->oss.buffer |
sound/core/pcm_lib.c snd_pcm_update_hw_ptr0() -> snd_pcm_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->state | 3,5 |
| PARAM_VALUE | 0 | runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->tstamp_mode | 1 |
| PARAM_VALUE | 1 | tv | 3391947076438949888 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | runtime->rate_den | 0-u32max |
| USER_DATA | 0 | runtime->rate_num | 0-u32max |
| USER_PTR | 0 | runtime->oss.buffer |
sound/core/pcm_lib.c update_audio_tstamp() -> snd_pcm_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | runtime->state | 3,5 |
| PARAM_VALUE | 0 | runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->tstamp_mode | 1 |
| PARAM_VALUE | 1 | tv | 2453431325058662400 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | runtime->rate_den | 0-u32max |
| USER_DATA | 0 | runtime->rate_num | 0-u32max |
| USER_DATA | 0 | runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | runtime->oss.buffer | |
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | 0 | &runtime->buffer_mutex |
sound/core/pcm_native.c snd_pcm_status64() -> snd_pcm_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->audio_tstamp_config.type_requested | 1-15 |
| PARAM_VALUE | 0 | runtime->state | s32min-(-1),1-2,4-s32max |
| PARAM_VALUE | 0 | runtime->tstamp_mode | 1 |
| PARAM_VALUE | 1 | tv | 8473241580750426112 |
| FUZZY_MAX | 0 | runtime->audio_tstamp_config.type_requested | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | runtime->audio_tstamp_config.report_delay | 0-1[c] |
| USER_DATA | 0 | runtime->audio_tstamp_config.type_requested | 1-15[c] |
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/core/pcm_native.c snd_pcm_trigger_tstamp() -> snd_pcm_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->trigger_tstamp_latched | 0 |
| PARAM_VALUE | 1 | tv | 4096-ptr_max |
| CAPPED_DATA | 0 | runtime->trigger_master | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | runtime->rate_den | 0-u32max |
| USER_DATA | 0 | runtime->rate_num | 0-u32max |
| USER_PTR | 0 | runtime->oss.buffer |
sound/usb/pcm.c prepare_playback_urb() -> snd_pcm_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | runtime | 4096-ptr_max |
| PARAM_VALUE | 1 | tv | 4096-ptr_max |
| CAPPED_DATA | 0 | runtime->period_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &subs->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct snd_usb_substream)->lock |
sound/hda/common/controller.c azx_get_time_info() -> snd_pcm_gettime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->audio_tstamp_config.type_requested | 0,2-15 |
| PARAM_VALUE | 0 | runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | runtime->hw.info | 16777216-u32max |
| PARAM_VALUE | 0 | runtime->state | 3,5 |
| PARAM_VALUE | 0 | runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | runtime->tstamp_mode | 1 |
| PARAM_VALUE | 1 | tv | 3391947076438949888 |
| DATA_SOURCE | 1 | tv | $1 |
| BIT_INFO | 0 | runtime->hw.info | 0x1000000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | runtime->rate_den | 0-u32max |
| USER_DATA | 0 | runtime->rate_num | 0-u32max |
| USER_DATA | 0 | runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | runtime->oss.buffer | |
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | 0 | &runtime->buffer_mutex |