/openbmc/linux/drivers/input/joystick/iforce/ |
H A 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 …]
|
/openbmc/linux/drivers/iio/adc/ |
H A 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 …]
|
/openbmc/linux/drivers/input/ |
H A 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 …]
|
H A 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()
|
H A D | input-compat.h | 32 struct ff_envelope envelope; member
|
/openbmc/qemu/hw/audio/ |
H A D | fmopl.h | 24 /* envelope generator state */ 25 uint8_t eg_typ; /* envelope type flag */ 26 uint8_t evm; /* envelope phase */ 27 int32_t evc; /* envelope counter */ 28 int32_t eve; /* envelope counter end point */ 29 int32_t evs; /* envelope counter step */ 30 int32_t evsa; /* envelope step for AR :AR[ksr] */ 31 int32_t evsd; /* envelope step for DR :DR[ksr] */ 32 int32_t evsr; /* envelope step for RR :RR[ksr] */
|
H A D | fmopl.c | 73 /* output level entries (envelope,sinwave) */ 74 /* envelope counter lower bits */ 76 /* envelope output entries */ 103 /* envelope phase */ 174 #define TL_MAX (EG_ENT*2) /* limit(tl + ksr + envelope) + sinwave */ 187 /* envelope output curve table */ 301 /* set envelope counter from envleope output */ in OPL_KEYOFF() 311 /* ---------- calcrate Envelope Generator & Phase Generator ---------- */ 312 /* return : envelope output */ 315 /* calcrate envelope generator */ in OPL_CALC_SLOT() [all …]
|
/openbmc/linux/arch/m68k/atari/ |
H A 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()
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A 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";
|
/openbmc/linux/drivers/hid/usbhid/ |
H A 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 …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | input.h | 323 * struct ff_envelope - generic force-feedback effect envelope 330 * envelope force-feedback core will convert to positive/negative 344 * @envelope: envelope data 348 struct ff_envelope envelope; member 355 * @envelope: envelope data 360 struct ff_envelope envelope; member 391 * @envelope: envelope data 409 struct ff_envelope envelope; member
|
/openbmc/linux/include/uapi/linux/ |
H A 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
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-devtools/fvp/ |
H A D | fvp-base-a-aem_11.27.19.bb | 1 require fvp-envelope.inc 3 SUMMARY = "Arm Fixed Virtual Platform - Armv-A Base RevC Architecture Envelope Model FVP"
|
/openbmc/linux/sound/isa/sb/ |
H A 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()
|
/openbmc/linux/include/uapi/sound/ |
H A 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 */
|
/openbmc/linux/drivers/comedi/drivers/ |
H A 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
|
/openbmc/linux/Documentation/devicetree/bindings/iio/frequency/ |
H A D | adi,admv1013.yaml | 64 Envelope Detector voltage regulator. 84 Enable the Envelope Detector available at output pins VENV_P and
|
/openbmc/linux/sound/pci/emu10k1/ |
H A 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()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | m88ds3103.h | 58 * @envelope_mode: DiSEqC envelope mode. 103 * @envelope_mode: DiSEqC envelope mode. Default: 0.
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-tse850-3.dts | 69 env_det: envelope-detector { 70 compatible = "axentia,tse850-envelope-detector"; 90 envelope-detector-mux {
|
/openbmc/linux/drivers/hid/ |
H A D | hid-logitech-hidpp.c | 2592 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect() 2593 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect() 2594 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect() 2595 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect() 2596 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect() 2597 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect() 2602 dbg_hid(" envelope attack=(%d, %d ms) fade=(%d, %d ms)\n", in hidpp_ff_upload_effect() 2603 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect() 2604 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect() 2605 effect->u.constant.envelope.fade_level, in hidpp_ff_upload_effect() [all …]
|
/openbmc/linux/include/sound/ |
H A D | emux_legacy.h | 75 /* modulation envelope parameters */ 85 /* volume envelope parameters */
|
H A D | emu10k1.h | 408 // - 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 …]
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | papr_pdsm.h | 17 * PDSM Envelope: 20 * envelope which consists of 2 headers sections and payload sections as
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-adc-envelope-detector | 26 dac instead of zero. The envelope detector will search
|