Home
last modified time | relevance | path

Searched full:envelope (Results 1 – 25 of 63) sorted by relevance

123

/linux/drivers/input/joystick/iforce/
H A Diforce-ff.c81 * Uploads the part of an effect setting the envelope of the force
219 * Analyse the changes in an effect, and tell if we need to send an envelope
227 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier()
228 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier()
229 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier()
230 || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) in need_envelope_modifier()
235 if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length in need_envelope_modifier()
236 || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level in need_envelope_modifier()
237 || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length in need_envelope_modifier()
238 || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) in need_envelope_modifier()
[all …]
/linux/drivers/iio/adc/
H A Denvelope-detector.c3 * Driver for an envelope detector using a DAC and a comparator
45 struct envelope { struct
79 static int envelope_detector_comp_latch(struct envelope *env) in envelope_detector_comp_latch() argument
117 struct envelope *env = ctx; in envelope_detector_comp_isr()
127 static void envelope_detector_setup_compare(struct envelope *env) in envelope_detector_setup_compare()
173 struct envelope *env = container_of(work, struct envelope, in envelope_detector_timeout()
190 struct envelope *env = iio_priv(indio_dev); in envelope_detector_read_raw()
234 struct envelope *env = iio_priv(indio_dev); in envelope_show_invert()
244 struct envelope *env = iio_priv(indio_dev); in envelope_store_invert()
274 struct envelope *env = iio_priv(indio_dev); in envelope_show_comp_interval()
[all …]
/linux/drivers/input/
H A Dff-memless.c28 /* Envelope update interval in ms */
61 return &effect->u.periodic.envelope; in get_envelope()
64 return &effect->u.constant.envelope; in get_envelope()
72 * Check for the next time envelope requires an update on memoryless devices
76 const struct ff_envelope *envelope = get_envelope(state->effect); in calculate_next_time() local
79 if (envelope->attack_length) { in calculate_next_time()
81 msecs_to_jiffies(envelope->attack_length); in calculate_next_time()
88 if (envelope->fade_length) { in calculate_next_time()
91 msecs_to_jiffies(envelope->fade_length); in calculate_next_time()
147 * Apply an envelope to a value
[all …]
H A Dff-core.c72 effect->u.periodic.envelope.attack_length = 0; in compat_effect()
73 effect->u.periodic.envelope.attack_level = 0; in compat_effect()
74 effect->u.periodic.envelope.fade_length = 0; in compat_effect()
75 effect->u.periodic.envelope.fade_level = 0; in compat_effect()
H A Dinput-compat.h32 struct ff_envelope envelope; member
/linux/arch/m68k/atari/
H A Datasound.c13 * 1998-05-31 ++andreas: atari_mksound rewritten to always use the envelope,
51 /* PSG envelope base frequency times 10 */
85 /* Set length of envelope (max 8 sec). */ in atari_mksound()
93 /* Envelope form: max -> min single. */ in atari_mksound()
96 /* Use envelope for generator A. */ in atari_mksound()
100 /* Set generator A level to maximum, no envelope. */ in atari_mksound()
/linux/Documentation/devicetree/bindings/iio/adc/
H A Denvelope-detector.yaml4 $id: http://devicetree.org/schemas/iio/adc/envelope-detector.yaml#
7 title: ADC envelope detector using a DAC and a comparator
32 const: axentia,tse850-envelope-detector
77 envelope-detector {
78 compatible = "axentia,tse850-envelope-detector";
/linux/drivers/hid/usbhid/
H A Dhid-pidff.c230 * Send envelope report to the device
233 struct ff_envelope *envelope) in pidff_set_envelope_report() argument
239 pidff_rescale(envelope->attack_level > in pidff_set_envelope_report()
240 0x7fff ? 0x7fff : envelope->attack_level, 0x7fff, in pidff_set_envelope_report()
243 pidff_rescale(envelope->fade_level > in pidff_set_envelope_report()
244 0x7fff ? 0x7fff : envelope->fade_level, 0x7fff, in pidff_set_envelope_report()
247 pidff->set_envelope[PID_ATTACK_TIME].value[0] = envelope->attack_length; in pidff_set_envelope_report()
248 pidff->set_envelope[PID_FADE_TIME].value[0] = envelope->fade_length; in pidff_set_envelope_report()
251 envelope->attack_level, in pidff_set_envelope_report()
259 * Test if the new envelope differs from old one
[all …]
/linux/include/uapi/linux/
H A Dinput.h326 * struct ff_envelope - generic force-feedback effect envelope
333 * envelope force-feedback core will convert to positive/negative
347 * @envelope: envelope data
351 struct ff_envelope envelope; member
358 * @envelope: envelope data
363 struct ff_envelope envelope; member
394 * @envelope: envelope data
412 struct ff_envelope envelope; member
H A Dpapr_pdsm.h17 * PDSM Envelope:
20 * envelope which consists of 2 headers sections and payload sections as
/linux/sound/isa/sb/
H A Demu8000_callback.c243 /* set envelope parameters */ in start_voice()
249 /* decay/sustain parameter for volume envelope is used in start_voice()
255 /* modulation envelope heights */ in start_voice()
298 * Start envelope
422 * set the envelope & LFO parameters to the default values
427 /* set all mod/vol envelope shape to minimum */ in snd_emu8000_tweak_voice()
433 EMU8000_PEFE_WRITE(emu, i, 0); /* mod envelope height to zero */ in snd_emu8000_tweak_voice()
H A Demu8000_pcm.c283 /* set envelope parameters */ in setup_voice()
289 /* decay/sustain parameter for volume envelope is used in setup_voice()
291 /* modulation envelope heights */ in setup_voice()
333 /* trigger envelope */ in start_voice()
/linux/include/uapi/sound/
H A Dsfnt_info.h74 /* wave table envelope & effect parameters to control EMU8000 */
80 short modkeyhold, modkeydecay; /* envelope change per key (not used) */
85 short volkeyhold, volkeydecay; /* envelope change per key (not used) */
124 struct soundfont_voice_parm parm; /* voice envelope parameters */
/linux/drivers/comedi/drivers/
H A Djr3_pci.h211 * load envelope. Each load envelope can contain several threshold structures.
334 * Load_envelope_num is the load envelope number that is currently
696 * Load_envelopes is a table containing the load envelope
697 * descriptions. There are 16 possible load envelope slots in the
699 * Each load envelope needs to start at the beginning of a slot but
701 * single load envelope can be larger than a single slot. The
703 * thresholds active. A single load envelope this large would take
704 * up 5 of the 16 slots. The load envelope data is laid out in an
/linux/sound/pci/emu10k1/
H A Demu10k1_callback.c392 /* set envelope parameters */ in start_voice()
398 /* decay/sustain parameter for volume envelope is used in start_voice()
404 /* modulation envelope heights */ in start_voice()
449 * Start envelope
476 /* enable envelope engine */ in trigger_voice()
/linux/Documentation/devicetree/bindings/iio/frequency/
H A Dadi,admv1013.yaml64 Envelope Detector voltage regulator.
84 Enable the Envelope Detector available at output pins VENV_P and
/linux/drivers/hid/
H A Dhid-logitech-hidpp.c2565 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect()
2566 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect()
2567 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect()
2568 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect()
2569 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect()
2570 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect()
2575 dbg_hid(" envelope attack=(%d, %d ms) fade=(%d, %d ms)\n", in hidpp_ff_upload_effect()
2576 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect()
2577 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect()
2578 effect->u.constant.envelope.fade_level, in hidpp_ff_upload_effect()
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dat91-tse850-3.dts69 env_det: envelope-detector {
70 compatible = "axentia,tse850-envelope-detector";
90 envelope-detector-mux {
/linux/drivers/media/dvb-frontends/
H A Dm88ds3103.h58 * @envelope_mode: DiSEqC envelope mode.
103 * @envelope_mode: DiSEqC envelope mode. Default: 0.
/linux/include/sound/
H A Demu10k1.h408 // - The pitch, volume, and filter cutoff can be modulated by two envelope
420 // (The envelope engine is ignored here, as stereo matters only for verbatim playback.)
511 #define ENVVOL 0x10 /* Volume envelope register */
512 #define ENVVOL_MASK 0x0000ffff /* Current value of volume envelope state variable */
515 #define ATKHLDV 0x11 /* Volume envelope hold and attack register */
517 #define ATKHLDV_HOLDTIME_MASK 0x00007f00 /* Envelope hold time (127-n == n*88.2msec) */
518 #define ATKHLDV_ATTACKTIME_MASK 0x0000007f /* Envelope attack time, log encoded */
521 #define DCYSUSV 0x12 /* Volume envelope sustain and decay register */
524 #define DCYSUSV_CHANNELENABLE_MASK 0x00000080 /* 0 = Inhibit envelope engine from writing values in…
527 #define DCYSUSV_DECAYTIME_MASK 0x0000007f /* Volume envelope decay time, log encoded */
[all …]
H A Demux_legacy.h75 /* modulation envelope parameters */
85 /* volume envelope parameters */
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-envelope-detector26 dac instead of zero. The envelope detector will search
/linux/tools/testing/selftests/net/forwarding/
H A Dmirror_gre.sh85 log_test "$direction $what: envelope MAC"
/linux/sound/pci/trident/
H A Dtrident.h57 ETOG_IE = 0x00004000, /* interrupt enable: envelope toggling */
58 EDROP_IE = 0x00008000, /* interrupt enable: envelope drop */
/linux/drivers/input/keyboard/
H A Dipaq-micro-keys.c33 KEY_MAIL, /* 4: Envelope (Q on older iPAQs) */

123