Home
last modified time | relevance | path

Searched refs:period_frames (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/sound/usb/usx2y/
H A Dusb_stream.c161 unsigned int period_frames, in usb_stream_new() argument
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()
H A Dusb_stream.h40 unsigned int period_frames,
H A Dus122l.c298 unsigned int rate, unsigned int period_frames) in us122l_start() argument
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()
/openbmc/linux/include/uapi/sound/
H A Dusb_stream.h23 unsigned period_frames; member
/openbmc/linux/include/sound/
H A Dpcm_oss.h36 size_t period_frames; /* period frames for poll */ member
/openbmc/linux/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()
/openbmc/linux/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()