Lines Matching refs:period_bytes
273 azx_dev->period_bytes = 0; in snd_hdac_stream_cleanup()
420 int i, ofs, periods, period_bytes; in snd_hdac_stream_setup_periods() local
427 period_bytes = azx_dev->period_bytes; in snd_hdac_stream_setup_periods()
428 periods = azx_dev->bufsize / period_bytes; in snd_hdac_stream_setup_periods()
445 if (pos_adj >= period_bytes) { in snd_hdac_stream_setup_periods()
463 period_bytes - pos_adj, 0); in snd_hdac_stream_setup_periods()
467 period_bytes, in snd_hdac_stream_setup_periods()
476 azx_dev->bufsize, period_bytes); in snd_hdac_stream_setup_periods()
493 unsigned int bufsize, period_bytes; in snd_hdac_stream_set_params() local
502 period_bytes = snd_pcm_lib_period_bytes(substream); in snd_hdac_stream_set_params()
505 period_bytes != azx_dev->period_bytes || in snd_hdac_stream_set_params()
509 azx_dev->period_bytes = period_bytes; in snd_hdac_stream_set_params()
705 azx_dev->period_bytes = byte_size; in snd_hdac_dsp_prepare()
769 azx_dev->period_bytes = 0; in snd_hdac_dsp_cleanup()