Home
last modified time | relevance | path

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

/include/sound/
Dpcm.h429 void (*private_free)(struct snd_pcm_runtime *runtime);
484 struct snd_pcm_runtime *runtime; member
725 return (substream->runtime->state == SNDRV_PCM_STATE_RUNNING || in snd_pcm_running()
726 (substream->runtime->state == SNDRV_PCM_STATE_DRAINING && in snd_pcm_running()
737 static inline void __snd_pcm_set_state(struct snd_pcm_runtime *runtime, in __snd_pcm_set_state() argument
740 runtime->state = state; in __snd_pcm_set_state()
741 runtime->status->state = state; /* copy for mmap */ in __snd_pcm_set_state()
751 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples() argument
753 return size * 8 / runtime->sample_bits; in bytes_to_samples()
763 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames() argument
[all …]
Dcompress_driver.h114 struct snd_compr_runtime *runtime; member
245 wake_up(&stream->runtime->sleep); in snd_compr_fragment_elapsed()
255 stream->runtime->state = SNDRV_PCM_STATE_RUNNING; in snd_compr_drain_notify()
258 stream->runtime->state = SNDRV_PCM_STATE_SETUP; in snd_compr_drain_notify()
261 wake_up(&stream->runtime->sleep); in snd_compr_drain_notify()
276 struct snd_compr_runtime *runtime = stream->runtime; in snd_compr_set_runtime_buffer() local
279 runtime->dma_buffer_p = bufp; in snd_compr_set_runtime_buffer()
280 runtime->dma_area = bufp->area; in snd_compr_set_runtime_buffer()
281 runtime->dma_addr = bufp->addr; in snd_compr_set_runtime_buffer()
282 runtime->dma_bytes = bufp->bytes; in snd_compr_set_runtime_buffer()
[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()
100 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_playback_pointer()
112 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_indirect_capture_transfer() local
113 snd_pcm_uframes_t appl_ptr = runtime->control->appl_ptr; in snd_pcm_indirect_capture_transfer()
117 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
118 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,
275 static inline void vx_pseudo_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pseudo_dma_write() argument
278 chip->ops->dma_write(chip, runtime, pipe, count); in vx_pseudo_dma_write()
281 static inline void vx_pseudo_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pseudo_dma_read() argument
284 chip->ops->dma_read(chip, runtime, pipe, count); in vx_pseudo_dma_read()
Drawmidi.h97 struct snd_rawmidi_runtime *runtime; member
Dwss.h100 int (*rate_constraint) (struct snd_pcm_runtime *runtime);
Dac97_codec.h410 int snd_ac97_pcm_double_rate_rules(struct snd_pcm_runtime *runtime);
/include/linux/
Dposix-timers.h99 u64 runtime) in posix_cputimers_rt_watchdog() argument
101 pct->bases[CPUCLOCK_SCHED].nextevt = runtime; in posix_cputimers_rt_watchdog()
Defi.h491 u64 runtime; member
508 u32 runtime; member
528 efi_runtime_services_t *runtime; member
646 const efi_runtime_services_t *runtime; /* EFI runtime services table */ member
Drtsx_pci.h1107 void (*force_power_down)(struct rtsx_pcr *pcr, u8 pm_state, bool runtime);
Dsched.h642 s64 runtime; /* Remaining runtime for this instance */ member
/include/trace/events/
Dsched.h555 TP_PROTO(struct task_struct *tsk, u64 runtime),
557 TP_ARGS(tsk, __perf_count(runtime)),
562 __field( u64, runtime )
568 __entry->runtime = runtime;
573 (unsigned long long)__entry->runtime)
577 TP_PROTO(struct task_struct *tsk, u64 runtime),
578 TP_ARGS(tsk, runtime));
/include/asm-generic/
DKbuild48 mandatory-y += runtime-const.h