Lines Matching defs:peak_rms

4567 static int hdsp_9652_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rms)
4579 if (copy_u32_le(&peak_rms->input_peaks[i], hdsp->iobase + ofs))
4582 if (copy_u32_le(&peak_rms->playback_peaks[i], hdsp->iobase + ofs))
4585 if (copy_u32_le(&peak_rms->output_peaks[i], hdsp->iobase + ofs))
4588 if (copy_u48_le(&peak_rms->input_rms[i], hdsp->iobase + ofs,
4592 if (copy_u48_le(&peak_rms->playback_rms[i], hdsp->iobase + ofs,
4596 if (copy_u48_le(&peak_rms->output_rms[i], hdsp->iobase + ofs,
4604 static int hdsp_9632_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rms)
4614 if (copy_u32_le(&peak_rms->input_peaks[i], &m->input_peak[j]))
4616 if (copy_u32_le(&peak_rms->playback_peaks[i], &m->playback_peak[j]))
4618 if (copy_u32_le(&peak_rms->output_peaks[i], &m->output_peak[j]))
4620 if (copy_u64_le(&peak_rms->input_rms[i], &m->input_rms_low[j],
4623 if (copy_u64_le(&peak_rms->playback_rms[i], &m->playback_rms_low[j],
4626 if (copy_u64_le(&peak_rms->output_rms[i], &m->output_rms_low[j],
4634 static int hdsp_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rms)
4639 if (copy_u32_le(&peak_rms->playback_peaks[i],
4642 if (copy_u32_le(&peak_rms->input_peaks[i],
4647 if (copy_u32_le(&peak_rms->output_peaks[i],
4652 if (copy_u64_le(&peak_rms->playback_rms[i],
4656 if (copy_u64_le(&peak_rms->input_rms[i],
4672 struct hdsp_peak_rms __user *peak_rms = (struct hdsp_peak_rms __user *)arg;
4690 return hdsp_9652_get_peak(hdsp, peak_rms);
4692 return hdsp_9632_get_peak(hdsp, peak_rms);
4694 return hdsp_get_peak(hdsp, peak_rms);