Searched refs:effect (Results 1 - 25 of 41) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/
H A Dff-core.c33 * Check that the effect_id is a valid effect and whether the user
61 * Convert an effect into compatible one
63 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) argument
67 switch (effect->type) {
76 magnitude = effect->u.rumble.strong_magnitude / 3 +
77 effect->u.rumble.weak_magnitude / 6;
79 effect->type = FF_PERIODIC;
80 effect->u.periodic.waveform = FF_SINE;
81 effect->u.periodic.period = 50;
82 effect
104 input_ff_upload(struct input_dev *dev, struct ff_effect *effect, struct file *file) argument
[all...]
H A Dff-memless.c51 struct ff_effect *effect; member in struct:ml_effect_state
52 unsigned long flags; /* effect state (STARTED, PLAYING, etc) */
53 int count; /* loop count of the effect */
56 unsigned long adj_at; /* last time the effect was sent */
68 struct ff_effect *effect);
71 static const struct ff_envelope *get_envelope(const struct ff_effect *effect) argument
75 switch (effect->type) {
77 return &effect->u.periodic.envelope;
79 return &effect->u.constant.envelope;
90 const struct ff_envelope *envelope = get_envelope(state->effect);
166 struct ff_effect *effect = state->effect; local
227 ml_combine_effects(struct ff_effect *effect, struct ml_effect_state *state, int gain) argument
294 struct ff_effect *effect; local
356 struct ff_effect effect; local
432 ml_ff_upload(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *old) argument
[all...]
H A Devdev.c410 struct ff_effect effect; local
470 if (copy_from_user(&effect, p, sizeof(effect)))
473 error = input_ff_upload(dev, &effect, file);
475 if (put_user(effect.id, &(((struct ff_effect __user *)p)->id)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/joystick/iforce/
H A Diforce-ff.c33 * Set the magnitude of a constant force effect
66 * Upload the component of an effect dealing with the period, phase and magnitude
104 * Uploads the part of an effect setting the envelope of the force
199 * Analyse the changes in an effect, and tell if we need to send an condition
208 warn("bad effect type in need_condition_modifier");
224 * Analyse the changes in an effect, and tell if we need to send a magnitude
227 static int need_magnitude_modifier(struct ff_effect *old, struct ff_effect *effect) argument
229 if (effect->type != FF_CONSTANT) {
230 warn("bad effect type in need_envelope_modifier");
234 return old->u.constant.level != effect
241 need_envelope_modifier(struct ff_effect *old, struct ff_effect *effect) argument
349 iforce_upload_periodic(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) argument
420 iforce_upload_constant(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) argument
476 iforce_upload_condition(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) argument
[all...]
H A Diforce-main.c125 * It uploads an effect to the device
127 static int iforce_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *old) argument
130 struct iforce_core_effect *core_effect = &iforce->core_effects[effect->id];
134 /* Check the effect is not already being updated */
140 * Upload the effect
142 switch (effect->type) {
145 ret = iforce_upload_periodic(iforce, effect, old);
149 ret = iforce_upload_constant(iforce, effect, old);
154 ret = iforce_upload_condition(iforce, effect, old);
171 * Erases an effect
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/synth/emux/
H A Demux_effect.c98 /* set byte effect value */
102 short effect; local
105 effect = fx->val[type];
108 effect += *(char*)valp;
110 effect += *valp;
112 if (effect < parm_defs[type].low)
113 effect = parm_defs[type].low;
114 else if (effect > parm_defs[type].high)
115 effect = parm_defs[type].high;
116 *valp = (unsigned char)effect;
123 int effect; local
[all...]
H A Demux_nrpn.c32 int effect; member in struct:nrpn_conv_table
36 /* effect sensitivity */
60 snd_emux_send_effect(port, chan, table[i].effect,
76 /* effect sensitivities for GS NRPN:
85 /* effect sensitivies for XG controls:
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/hid/usbhid/
H A Dhid-pidff.c284 struct ff_effect *effect)
289 effect->u.constant.level);
298 static int pidff_needs_set_constant(struct ff_effect *effect, argument
301 return effect->u.constant.level != old->u.constant.level;
305 * Send set effect report to the device
308 struct ff_effect *effect)
314 pidff->set_effect[PID_DURATION].value[0] = effect->replay.length;
315 pidff->set_effect[PID_TRIGGER_BUTTON].value[0] = effect->trigger.button;
317 effect->trigger.interval;
322 pidff_rescale(effect
283 pidff_set_constant_force_report(struct pidff_device *pidff, struct ff_effect *effect) argument
307 pidff_set_effect_report(struct pidff_device *pidff, struct ff_effect *effect) argument
333 pidff_needs_set_effect(struct ff_effect *effect, struct ff_effect *old) argument
346 pidff_set_periodic_report(struct pidff_device *pidff, struct ff_effect *effect) argument
366 pidff_needs_set_periodic(struct ff_effect *effect, struct ff_effect *old) argument
378 pidff_set_condition_report(struct pidff_device *pidff, struct ff_effect *effect) argument
409 pidff_needs_set_condition(struct ff_effect *effect, struct ff_effect *old) argument
433 pidff_set_ramp_force_report(struct pidff_device *pidff, struct ff_effect *effect) argument
449 pidff_needs_set_ramp(struct ff_effect *effect, struct ff_effect *old) argument
560 pidff_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *old) argument
[all...]
H A Dhid-lgff.c61 static int hid_lgff_play(struct input_dev *dev, void *data, struct ff_effect *effect) argument
71 switch (effect->type) {
73 x = effect->u.ramp.start_level + 0x7f; /* 0x7f is center */
74 y = effect->u.ramp.end_level + 0x7f;
86 right = effect->u.rumble.strong_magnitude;
87 left = effect->u.rumble.weak_magnitude;
H A Dhid-zpff.c38 struct ff_effect *effect)
50 left = effect->u.rumble.strong_magnitude;
51 right = effect->u.rumble.weak_magnitude;
37 hid_zpff_play(struct input_dev *dev, void *data, struct ff_effect *effect) argument
H A Dhid-plff.c38 struct ff_effect *effect)
44 left = effect->u.rumble.strong_magnitude;
45 right = effect->u.rumble.weak_magnitude;
37 hid_plff_play(struct input_dev *dev, void *data, struct ff_effect *effect) argument
H A Dhid-tmff.c60 static int hid_tmff_play(struct input_dev *dev, void *data, struct ff_effect *effect) argument
66 left = hid_tmff_scale(effect->u.rumble.weak_magnitude,
68 right = hid_tmff_scale(effect->u.rumble.strong_magnitude,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Duinput.h57 struct ff_effect *effect; member in struct:uinput_request::__anon10450::__anon10451
83 struct ff_effect effect; member in struct:uinput_ff_upload
133 * 4. Perform the effect upload, and place a return code back into
146 * effect ID passed to erase_effect().
147 * 4. Perform the effect erasure, and place a return code back
H A Dinput.h78 #define EVIOCSFF _IOC(_IOC_WRITE, 'E', 0x80, sizeof(struct ff_effect)) /* send a force effect to a force feedback device */
79 #define EVIOCRMFF _IOW('E', 0x81, int) /* Erase a force effect */
692 * Values describing the status of a force-feedback effect
709 * struct ff_replay - defines scheduling of the force-feedback effect
710 * @length: duration of the effect
711 * @delay: delay before effect should start playing
719 * struct ff_trigger - defines what triggers the force-feedback effect
720 * @button: number of the button triggering the effect
721 * @interval: controls how soon the effect can be re-triggered
729 * struct ff_envelope - generic force-feedback effect envelop
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/sb/
H A Demu8000.c670 int effect = emu->chorus_mode; local
671 if (effect < 0 || effect >= SNDRV_EMU8000_CHORUS_NUMBERS ||
672 (effect >= SNDRV_EMU8000_CHORUS_PREDEFINED && !chorus_defined[effect]))
674 EMU8000_INIT3_WRITE(emu, 0x09, chorus_parm[effect].feedback);
675 EMU8000_INIT3_WRITE(emu, 0x0c, chorus_parm[effect].delay_offset);
676 EMU8000_INIT4_WRITE(emu, 0x03, chorus_parm[effect].lfo_depth);
677 EMU8000_HWCF4_WRITE(emu, chorus_parm[effect].delay);
678 EMU8000_HWCF5_WRITE(emu, chorus_parm[effect]
798 int effect = emu->reverb_mode; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/misc/
H A Duinput.c125 static int uinput_dev_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *old) argument
133 request.u.upload.effect = effect;
555 if (!(req && req->code == UI_FF_UPLOAD && req->u.upload.effect)) {
560 memcpy(&ff_up.effect, req->u.upload.effect, sizeof(struct ff_effect));
596 if (!(req && req->code == UI_FF_UPLOAD && req->u.upload.effect)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Demux_synth.h151 struct snd_emux_effect_table *effect; member in struct:snd_emux_port
220 * effect table
H A Dgus.h319 effect:1; /* use effect voices */ member in struct:snd_gf1
629 int effect,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/mpi/sparc32/
H A Dmpih-add1.S51 L0: andcc res_ptr,4,%g0 ! res_ptr unaligned? Side effect: cy=0
160 andcc s1_ptr,4,%g0 ! s1_ptr unaligned? Side effect: cy=0
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/gus/
H A Dgus_main.c145 int effect,
217 gus->gf1.effect = effect ? 1 : 0;
139 snd_gus_create(struct snd_card *card, unsigned long port, int irq, int dma1, int dma2, int timer_dev, int voices, int pcm_channels, int effect, struct snd_gus_card **rgus) argument
H A Dinterwave.c75 static int effect[SNDRV_CARDS]; variable
115 module_param_array(effect, int, NULL, 0444);
116 MODULE_PARM_DESC(effect, "Effects enable for InterWave driver.");
648 pcm_channels[dev], effect[dev], &gus)) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/boot/
H A Dsetup.S744 # Wait for configuration port A to take effect
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/xtensa/lib/
H A Dstrncpy_user.S153 # the effect of adding 3 in .Lz3 code
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-pxa/
H A Dsleep.S219 @ actually took effect. They call it the "cpwait" operation.
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/mpi/hppa/
H A Dudiv-qrnnd.S51 sub %r0,%r23,%r1 ; clear cy as side-effect

Completed in 244 milliseconds

12