| /kernel/linux/linux-5.10/drivers/input/joystick/iforce/ |
| D | iforce-ff.c | 83 * Uploads the part of an effect setting the envelope of the force 223 * Analyse the changes in an effect, and tell if we need to send an envelope 231 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier() 232 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier() 233 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier() 234 || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) in need_envelope_modifier() 239 if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length in need_envelope_modifier() 240 || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level in need_envelope_modifier() 241 || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length in need_envelope_modifier() 242 || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) in need_envelope_modifier() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/joystick/iforce/ |
| D | iforce-ff.c | 83 * Uploads the part of an effect setting the envelope of the force 223 * Analyse the changes in an effect, and tell if we need to send an envelope 231 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier() 232 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier() 233 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier() 234 || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) in need_envelope_modifier() 239 if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length in need_envelope_modifier() 240 || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level in need_envelope_modifier() 241 || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length in need_envelope_modifier() 242 || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) in need_envelope_modifier() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | envelope-detector.c | 3 * Driver for an envelope detector using a DAC and a comparator 46 struct envelope { struct 80 static int envelope_detector_comp_latch(struct envelope *env) in envelope_detector_comp_latch() argument 118 struct envelope *env = ctx; in envelope_detector_comp_isr() 128 static void envelope_detector_setup_compare(struct envelope *env) in envelope_detector_setup_compare() 174 struct envelope *env = container_of(work, struct envelope, in envelope_detector_timeout() 191 struct envelope *env = iio_priv(indio_dev); in envelope_detector_read_raw() 235 struct envelope *env = iio_priv(indio_dev); in envelope_show_invert() 245 struct envelope *env = iio_priv(indio_dev); in envelope_store_invert() 275 struct envelope *env = iio_priv(indio_dev); in envelope_show_comp_interval() [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | envelope-detector.c | 3 * 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 …]
|
| /kernel/linux/linux-6.6/drivers/input/ |
| D | ff-memless.c | 28 /* 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 …]
|
| D | ff-core.c | 72 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()
|
| /kernel/linux/linux-5.10/drivers/input/ |
| D | ff-memless.c | 31 /* Envelope update interval in ms */ 64 return &effect->u.periodic.envelope; in get_envelope() 67 return &effect->u.constant.envelope; in get_envelope() 75 * Check for the next time envelope requires an update on memoryless devices 79 const struct ff_envelope *envelope = get_envelope(state->effect); in calculate_next_time() local 82 if (envelope->attack_length) { in calculate_next_time() 84 msecs_to_jiffies(envelope->attack_length); in calculate_next_time() 91 if (envelope->fade_length) { in calculate_next_time() 94 msecs_to_jiffies(envelope->fade_length); in calculate_next_time() 150 * Apply an envelope to a value [all …]
|
| D | ff-core.c | 73 effect->u.periodic.envelope.attack_length = 0; in compat_effect() 74 effect->u.periodic.envelope.attack_level = 0; in compat_effect() 75 effect->u.periodic.envelope.fade_length = 0; in compat_effect() 76 effect->u.periodic.envelope.fade_level = 0; in compat_effect()
|
| /kernel/linux/linux-6.6/arch/m68k/atari/ |
| D | atasound.c | 13 * 1998-05-31 ++andreas: atari_mksound rewritten to always use the envelope, 50 /* PSG envelope base frequency times 10 */ 84 /* Set length of envelope (max 8 sec). */ in atari_mksound() 92 /* Envelope form: max -> min single. */ in atari_mksound() 95 /* Use envelope for generator A. */ in atari_mksound() 99 /* Set generator A level to maximum, no envelope. */ in atari_mksound()
|
| /kernel/linux/linux-5.10/arch/m68k/atari/ |
| D | atasound.c | 13 * 1998-05-31 ++andreas: atari_mksound rewritten to always use the envelope, 50 /* PSG envelope base frequency times 10 */ 84 /* Set length of envelope (max 8 sec). */ in atari_mksound() 92 /* Envelope form: max -> min single. */ in atari_mksound() 95 /* Use envelope for generator A. */ in atari_mksound() 99 /* Set generator A level to maximum, no envelope. */ in atari_mksound()
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | envelope-detector.yaml | 4 $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";
|
| /kernel/linux/linux-6.6/drivers/hid/usbhid/ |
| D | hid-pidff.c | 236 * Send envelope report to the device 239 struct ff_envelope *envelope) in pidff_set_envelope_report() argument 245 pidff_rescale(envelope->attack_level > in pidff_set_envelope_report() 246 0x7fff ? 0x7fff : envelope->attack_level, 0x7fff, in pidff_set_envelope_report() 249 pidff_rescale(envelope->fade_level > in pidff_set_envelope_report() 250 0x7fff ? 0x7fff : envelope->fade_level, 0x7fff, in pidff_set_envelope_report() 253 pidff->set_envelope[PID_ATTACK_TIME].value[0] = envelope->attack_length; in pidff_set_envelope_report() 254 pidff->set_envelope[PID_FADE_TIME].value[0] = envelope->fade_length; in pidff_set_envelope_report() 257 envelope->attack_level, in pidff_set_envelope_report() 265 * Test if the new envelope differs from old one [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | envelope-detector.txt | 1 Bindings for ADC envelope detector using a DAC and a comparator 21 - compatible: Should be "axentia,tse850-envelope-detector" 46 envelope-detector { 47 compatible = "axentia,tse850-envelope-detector";
|
| /kernel/linux/linux-5.10/drivers/hid/usbhid/ |
| D | hid-pidff.c | 230 * 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 …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | input.h | 322 * struct ff_envelope - generic force-feedback effect envelope 329 * envelope force-feedback core will convert to positive/negative 343 * @envelope: envelope data 347 struct ff_envelope envelope; member 354 * @envelope: envelope data 359 struct ff_envelope envelope; member 390 * @envelope: envelope data 408 struct ff_envelope envelope; member
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | input.h | 326 * 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
|
| /kernel/linux/linux-5.10/sound/isa/sb/ |
| D | emu8000_callback.c | 243 /* 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()
|
| /kernel/linux/linux-6.6/sound/isa/sb/ |
| D | emu8000_callback.c | 243 /* 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()
|
| /kernel/linux/linux-6.6/include/uapi/sound/ |
| D | sfnt_info.h | 74 /* 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 */
|
| /kernel/linux/linux-5.10/include/uapi/sound/ |
| D | sfnt_info.h | 89 /* wave table envelope & effect parameters to control EMU8000 */ 95 short modkeyhold, modkeydecay; /* envelope change per key (not used) */ 100 short volkeyhold, volkeydecay; /* envelope change per key (not used) */ 139 struct soundfont_voice_parm parm; /* voice envelope parameters */
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| D | input.h | 141 struct ff_envelope envelope; member 146 struct ff_envelope envelope; member 162 struct ff_envelope envelope; member
|
| /kernel/linux/linux-6.6/drivers/comedi/drivers/ |
| D | jr3_pci.h | 211 * 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
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
| D | jr3_pci.h | 211 * 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
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | at91-tse850-3.dts | 69 env_det: envelope-detector { 70 compatible = "axentia,tse850-envelope-detector"; 90 envelope-detector-mux {
|
| /kernel/linux/linux-6.6/sound/pci/emu10k1/ |
| D | emu10k1_callback.c | 390 /* set envelope parameters */ in start_voice() 396 /* decay/sustain parameter for volume envelope is used in start_voice() 402 /* modulation envelope heights */ in start_voice() 444 * Start envelope 471 /* enable envelope engine */ in trigger_voice()
|