Lines Matching refs:period_bytes
318 azx_dev->period_bytes = 0; in snd_hdac_stream_cleanup()
478 int i, ofs, periods, period_bytes; in snd_hdac_stream_setup_periods() local
485 period_bytes = azx_dev->period_bytes; in snd_hdac_stream_setup_periods()
486 periods = azx_dev->bufsize / period_bytes; in snd_hdac_stream_setup_periods()
502 if (pos_adj >= period_bytes) { in snd_hdac_stream_setup_periods()
520 period_bytes - pos_adj, 0); in snd_hdac_stream_setup_periods()
524 period_bytes, in snd_hdac_stream_setup_periods()
533 azx_dev->bufsize, period_bytes); in snd_hdac_stream_setup_periods()
550 unsigned int bufsize, period_bytes; in snd_hdac_stream_set_params() local
559 period_bytes = snd_pcm_lib_period_bytes(substream); in snd_hdac_stream_set_params()
562 period_bytes != azx_dev->period_bytes || in snd_hdac_stream_set_params()
566 azx_dev->period_bytes = period_bytes; in snd_hdac_stream_set_params()
756 azx_dev->period_bytes = byte_size; in snd_hdac_dsp_prepare()
820 azx_dev->period_bytes = 0; in snd_hdac_dsp_cleanup()