Home
last modified time | relevance | path

Searched refs:runtime (Results 1 – 14 of 14) sorted by relevance

/include/sound/
Dcompress_driver.h80 struct snd_compr_runtime *runtime; member
201 wake_up(&stream->runtime->sleep); in snd_compr_fragment_elapsed()
211 stream->runtime->state = SNDRV_PCM_STATE_RUNNING; in snd_compr_drain_notify()
214 stream->runtime->state = SNDRV_PCM_STATE_SETUP; in snd_compr_drain_notify()
217 wake_up(&stream->runtime->sleep); in snd_compr_drain_notify()
232 struct snd_compr_runtime *runtime = stream->runtime; in snd_compr_set_runtime_buffer() local
235 runtime->dma_buffer_p = bufp; in snd_compr_set_runtime_buffer()
236 runtime->dma_area = bufp->area; in snd_compr_set_runtime_buffer()
237 runtime->dma_addr = bufp->addr; in snd_compr_set_runtime_buffer()
238 runtime->dma_bytes = bufp->bytes; in snd_compr_set_runtime_buffer()
[all …]
Dpcm.h408 void (*private_free)(struct snd_pcm_runtime *runtime);
462 struct snd_pcm_runtime *runtime; member
686 return (substream->runtime->status->state == SNDRV_PCM_STATE_RUNNING || in snd_pcm_running()
687 (substream->runtime->status->state == SNDRV_PCM_STATE_DRAINING && in snd_pcm_running()
696 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples() argument
698 return size * 8 / runtime->sample_bits; in bytes_to_samples()
706 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames() argument
708 return size * 8 / runtime->frame_bits; in bytes_to_frames()
716 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes() argument
718 return size * runtime->sample_bits / 8; in samples_to_bytes()
[all …]
Dpcm-indirect.h38 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_indirect_playback_transfer() local
39 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_playback_transfer()
44 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer()
45 diff += runtime->boundary; in snd_pcm_indirect_playback_transfer()
48 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer()
95 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_playback_pointer()
107 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_indirect_capture_transfer() local
108 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_capture_transfer()
112 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
113 diff += runtime->boundary; in snd_pcm_indirect_capture_transfer()
[all …]
Dpcm_iec958.h9 int snd_pcm_fill_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
15 int snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
Dpcm_drm_eld.h5 int snd_pcm_hw_constraint_eld(struct snd_pcm_runtime *runtime, void *eld);
Dvx_core.h95 void (*dma_write)(struct vx_core *chip, struct snd_pcm_runtime *runtime,
97 void (*dma_read)(struct vx_core *chip, struct snd_pcm_runtime *runtime,
276 static inline void vx_pseudo_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pseudo_dma_write() argument
279 chip->ops->dma_write(chip, runtime, pipe, count); in vx_pseudo_dma_write()
282 static inline void vx_pseudo_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pseudo_dma_read() argument
285 chip->ops->dma_read(chip, runtime, pipe, count); in vx_pseudo_dma_read()
Dsoc-dpcm.h96 struct snd_pcm_runtime *runtime; member
Drawmidi.h91 struct snd_rawmidi_runtime *runtime; member
Dwss.h100 int (*rate_constraint) (struct snd_pcm_runtime *runtime);
Dac97_codec.h407 int snd_ac97_pcm_double_rate_rules(struct snd_pcm_runtime *runtime);
/include/trace/events/
Dsched.h517 TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime),
519 TP_ARGS(tsk, __perf_count(runtime), vruntime),
524 __field( u64, runtime )
531 __entry->runtime = runtime;
537 (unsigned long long)__entry->runtime,
542 TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime),
543 TP_ARGS(tsk, runtime, vruntime));
/include/linux/
Dposix-timers.h162 u64 runtime) in posix_cputimers_rt_watchdog() argument
164 pct->bases[CPUCLOCK_SCHED].nextevt = runtime; in posix_cputimers_rt_watchdog()
Defi.h412 u64 runtime; member
429 u32 runtime; member
449 efi_runtime_services_t *runtime; member
542 const efi_runtime_services_t *runtime; /* EFI runtime services table */ member
Dsched.h614 s64 runtime; /* Remaining runtime for this instance */ member