Lines Matching full:amplitude
39 * [0] - Amplitude in microvolts for fake waveforms (default 1 volt)
71 module_param_named(amplitude, set_amplitude, uint, 0444);
72 MODULE_PARM_DESC(amplitude, "Set auto mode wave amplitude in microvolts: (defaults to 1 volt)");
81 unsigned int wf_amplitude; /* waveform amplitude in microvolts */
672 int amplitude, int period) in waveform_common_attach() argument
683 devpriv->wf_amplitude = amplitude; in waveform_common_attach()
740 int amplitude = it->options[0]; in waveform_attach() local
743 /* set default amplitude and period */ in waveform_attach()
744 if (amplitude <= 0) in waveform_attach()
745 amplitude = 1000000; /* 1 volt */ in waveform_attach()
749 return waveform_common_attach(dev, amplitude, period); in waveform_attach()
755 int amplitude = set_amplitude; in waveform_auto_attach() local
758 /* set default amplitude and period */ in waveform_auto_attach()
759 if (!amplitude) in waveform_auto_attach()
760 amplitude = 1000000; /* 1 volt */ in waveform_auto_attach()
764 return waveform_common_attach(dev, amplitude, period); in waveform_auto_attach()