Lines Matching refs:peak_rms

4627 static int hdsp_9652_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rms)  in hdsp_9652_get_peak()  argument
4639 if (copy_u32_le(&peak_rms->input_peaks[i], hdsp->iobase + ofs)) in hdsp_9652_get_peak()
4642 if (copy_u32_le(&peak_rms->playback_peaks[i], hdsp->iobase + ofs)) in hdsp_9652_get_peak()
4645 if (copy_u32_le(&peak_rms->output_peaks[i], hdsp->iobase + ofs)) in hdsp_9652_get_peak()
4648 if (copy_u48_le(&peak_rms->input_rms[i], hdsp->iobase + ofs, in hdsp_9652_get_peak()
4652 if (copy_u48_le(&peak_rms->playback_rms[i], hdsp->iobase + ofs, in hdsp_9652_get_peak()
4656 if (copy_u48_le(&peak_rms->output_rms[i], hdsp->iobase + ofs, in hdsp_9652_get_peak()
4664 static int hdsp_9632_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rms) in hdsp_9632_get_peak() argument
4674 if (copy_u32_le(&peak_rms->input_peaks[i], &m->input_peak[j])) in hdsp_9632_get_peak()
4676 if (copy_u32_le(&peak_rms->playback_peaks[i], &m->playback_peak[j])) in hdsp_9632_get_peak()
4678 if (copy_u32_le(&peak_rms->output_peaks[i], &m->output_peak[j])) in hdsp_9632_get_peak()
4680 if (copy_u64_le(&peak_rms->input_rms[i], &m->input_rms_low[j], in hdsp_9632_get_peak()
4683 if (copy_u64_le(&peak_rms->playback_rms[i], &m->playback_rms_low[j], in hdsp_9632_get_peak()
4686 if (copy_u64_le(&peak_rms->output_rms[i], &m->output_rms_low[j], in hdsp_9632_get_peak()
4694 static int hdsp_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rms) in hdsp_get_peak() argument
4699 if (copy_u32_le(&peak_rms->playback_peaks[i], in hdsp_get_peak()
4702 if (copy_u32_le(&peak_rms->input_peaks[i], in hdsp_get_peak()
4707 if (copy_u32_le(&peak_rms->output_peaks[i], in hdsp_get_peak()
4712 if (copy_u64_le(&peak_rms->playback_rms[i], in hdsp_get_peak()
4716 if (copy_u64_le(&peak_rms->input_rms[i], in hdsp_get_peak()
4732 struct hdsp_peak_rms __user *peak_rms = (struct hdsp_peak_rms __user *)arg; in snd_hdsp_hwdep_ioctl() local
4750 return hdsp_9652_get_peak(hdsp, peak_rms); in snd_hdsp_hwdep_ioctl()
4752 return hdsp_9632_get_peak(hdsp, peak_rms); in snd_hdsp_hwdep_ioctl()
4754 return hdsp_get_peak(hdsp, peak_rms); in snd_hdsp_hwdep_ioctl()