Lines Matching refs:hw_params

537 		       struct snd_pcm_hw_params *hw_params,  in init_engine()  argument
570 params_buffer_bytes(hw_params), params_periods(hw_params), in init_engine()
571 params_period_bytes(hw_params)); in init_engine()
575 for (offs = page = per = 0; offs < params_buffer_bytes(hw_params); in init_engine()
577 rest = params_period_bytes(hw_params); in init_engine()
578 if (offs + rest > params_buffer_bytes(hw_params)) in init_engine()
579 rest = params_buffer_bytes(hw_params) - offs; in init_engine()
614 set_sample_rate(chip, hw_params->rate_num / hw_params->rate_den); in init_engine()
622 struct snd_pcm_hw_params *hw_params) in pcm_analog_in_hw_params() argument
626 return init_engine(substream, hw_params, px_analog_in(chip) + in pcm_analog_in_hw_params()
627 substream->number, params_channels(hw_params)); in pcm_analog_in_hw_params()
633 struct snd_pcm_hw_params *hw_params) in pcm_analog_out_hw_params() argument
635 return init_engine(substream, hw_params, substream->number, in pcm_analog_out_hw_params()
636 params_channels(hw_params)); in pcm_analog_out_hw_params()
644 struct snd_pcm_hw_params *hw_params) in pcm_digital_in_hw_params() argument
648 return init_engine(substream, hw_params, px_digital_in(chip) + in pcm_digital_in_hw_params()
649 substream->number, params_channels(hw_params)); in pcm_digital_in_hw_params()
656 struct snd_pcm_hw_params *hw_params) in pcm_digital_out_hw_params() argument
660 return init_engine(substream, hw_params, px_digital_out(chip) + in pcm_digital_out_hw_params()
661 substream->number, params_channels(hw_params)); in pcm_digital_out_hw_params()
852 .hw_params = pcm_analog_out_hw_params,
861 .hw_params = pcm_analog_in_hw_params,
872 .hw_params = pcm_digital_out_hw_params,
882 .hw_params = pcm_digital_in_hw_params,