Home
last modified time | relevance | path

Searched refs:period_frames (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/sound/usb/usx2y/
H A Dusb_stream.c158 unsigned period_frames, unsigned frame_size) in usb_stream_new()
173 t_period = period_frames / sample_rate in usb_stream_new()
175 = (period_frames / sample_rate) * (1 / t_iso_frame) in usb_stream_new()
178 packets = period_frames * usb_frames / sample_rate + 1; in usb_stream_new()
208 sk->s->cfg.period_frames = period_frames; in usb_stream_new()
209 sk->s->period_size = frame_size * period_frames; in usb_stream_new()
535 if (s->cfg.period_frames >= 256) in stream_start()
537 if (s->cfg.period_frames >= 1024) in stream_start()
154 usb_stream_new(struct usb_stream_kernel *sk, struct usb_device *dev, unsigned in_endpoint, unsigned out_endpoint, unsigned sample_rate, unsigned use_packsize, unsigned period_frames, unsigned frame_size) usb_stream_new() argument
H A Dus122l.c292 unsigned rate, unsigned period_frames) in us122l_start()
317 rate, use_packsize, period_frames, 6)) in us122l_start()
363 cfg.period_frames > 0x3000) in usb_stream_hwdep_ioctl()
379 if (cfg.period_frames < min_period_frames) in usb_stream_hwdep_ioctl()
398 if (!us122l_start(us122l, cfg.sample_rate, cfg.period_frames)) in usb_stream_hwdep_ioctl()
291 us122l_start(struct us122l *us122l, unsigned rate, unsigned period_frames) us122l_start() argument
H A Dusb_stream.h38 unsigned period_frames, unsigned frame_size);
/kernel/linux/linux-6.6/sound/usb/usx2y/
H A Dusb_stream.c161 unsigned int period_frames, in usb_stream_new()
177 t_period = period_frames / sample_rate in usb_stream_new()
179 = (period_frames / sample_rate) * (1 / t_iso_frame) in usb_stream_new()
182 packets = period_frames * usb_frames / sample_rate + 1; in usb_stream_new()
212 sk->s->cfg.period_frames = period_frames; in usb_stream_new()
213 sk->s->period_size = frame_size * period_frames; in usb_stream_new()
547 if (s->cfg.period_frames >= 256) in stream_start()
549 if (s->cfg.period_frames >= 1024) in stream_start()
155 usb_stream_new(struct usb_stream_kernel *sk, struct usb_device *dev, unsigned int in_endpoint, unsigned int out_endpoint, unsigned int sample_rate, unsigned int use_packsize, unsigned int period_frames, unsigned int frame_size) usb_stream_new() argument
H A Dus122l.c298 unsigned int rate, unsigned int period_frames) in us122l_start()
323 rate, use_packsize, period_frames, 6)) in us122l_start()
369 cfg.period_frames > 0x3000) in usb_stream_hwdep_ioctl()
385 if (cfg.period_frames < min_period_frames) in usb_stream_hwdep_ioctl()
404 if (!us122l_start(us122l, cfg.sample_rate, cfg.period_frames)) in usb_stream_hwdep_ioctl()
297 us122l_start(struct us122l *us122l, unsigned int rate, unsigned int period_frames) us122l_start() argument
H A Dusb_stream.h40 unsigned int period_frames,
/kernel/linux/linux-5.10/sound/usb/
H A Dendpoint.h16 unsigned int period_frames,
H A Dcard.h133 unsigned int period_frames; /* current frames per period */ member
H A Dendpoint.c1036 * @period_frames: the number of frames in one alsa period.
1050 unsigned int period_frames, in snd_usb_endpoint_set_params()
1062 period_frames, buffer_periods, in snd_usb_endpoint_set_params()
1106 period_bytes, period_frames, in snd_usb_endpoint_set_params()
1046 snd_usb_endpoint_set_params(struct snd_usb_endpoint *ep, snd_pcm_format_t pcm_format, unsigned int channels, unsigned int period_bytes, unsigned int period_frames, unsigned int buffer_periods, unsigned int rate, struct audioformat *fmt, struct snd_usb_endpoint *sync_ep) snd_usb_endpoint_set_params() argument
H A Dpcm.c748 subs->period_frames, in configure_endpoint()
833 subs->period_frames = params_period_size(hw_params); in snd_usb_hw_params()
/kernel/linux/linux-5.10/include/uapi/sound/
H A Dusb_stream.h37 unsigned period_frames; member
/kernel/linux/linux-6.6/include/uapi/sound/
H A Dusb_stream.h23 unsigned period_frames; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/sound/
H A Dusb_stream.h30 unsigned period_frames; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
H A Dusb_stream.h30 unsigned period_frames; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
H A Dusb_stream.h18 unsigned period_frames; member
/kernel/linux/linux-5.10/include/sound/
H A Dpcm_oss.h36 size_t period_frames; /* period frames for poll */ member
/kernel/linux/linux-6.6/include/sound/
H A Dpcm_oss.h36 size_t period_frames; /* period frames for poll */ member
/kernel/linux/linux-5.10/sound/core/oss/
H A Dpcm_oss.c783 runtime->oss.period_frames = 1; in snd_pcm_oss_period_size()
1084 runtime->oss.period_frames = snd_pcm_alsa_frames(substream, oss_period_size); in snd_pcm_oss_change_params_locked()
2809 runtime->oss.period_frames; in snd_pcm_oss_playback_ready()
2820 runtime->oss.period_frames; in snd_pcm_oss_capture_ready()
/kernel/linux/linux-6.6/sound/core/oss/
H A Dpcm_oss.c783 runtime->oss.period_frames = 1; in snd_pcm_oss_period_size()
1091 runtime->oss.period_frames = snd_pcm_alsa_frames(substream, oss_period_size); in snd_pcm_oss_change_params_locked()
2827 runtime->oss.period_frames; in snd_pcm_oss_playback_ready()
2838 runtime->oss.period_frames; in snd_pcm_oss_capture_ready()
/kernel/linux/linux-5.10/sound/core/
H A Dpcm.c407 snd_iprintf(buffer, "OSS period frames: %lu\n", (unsigned long)runtime->oss.period_frames); in snd_pcm_substream_proc_hw_params_read()
/kernel/linux/linux-6.6/sound/core/
H A Dpcm.c409 snd_iprintf(buffer, "OSS period frames: %lu\n", (unsigned long)runtime->oss.period_frames); in snd_pcm_substream_proc_hw_params_read()

Completed in 21 milliseconds