Home
last modified time | relevance | path

Searched refs:constant (Results 1 – 23 of 23) sorted by relevance

/drivers/input/joystick/iforce/
Diforce-ff.c238 return old->u.constant.level != effect->u.constant.level; in need_magnitude_modifier()
250 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier()
251 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier()
252 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier()
253 || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) in need_envelope_modifier()
441 effect->u.constant.level); in iforce_upload_constant()
450 effect->u.constant.envelope.attack_length, in iforce_upload_constant()
451 effect->u.constant.envelope.attack_level, in iforce_upload_constant()
452 effect->u.constant.envelope.fade_length, in iforce_upload_constant()
453 effect->u.constant.envelope.fade_level); in iforce_upload_constant()
/drivers/thermal/ti-soc-thermal/
Ddra752-thermal-data.c440 .constant = DRA752_GRADIENT_CONST,
449 .constant = DRA752_GRADIENT_CONST,
458 .constant = DRA752_GRADIENT_CONST,
467 .constant = DRA752_GRADIENT_CONST,
476 .constant = DRA752_GRADIENT_CONST,
Dti-thermal-common.c85 int ret, tmp, slope, constant; in __ti_thermal_get_temp() local
100 constant = s->constant; in __ti_thermal_get_temp()
109 constant = s->constant_pcb; in __ti_thermal_get_temp()
116 *temp = ti_thermal_hotspot_temperature(tmp, slope, constant); in __ti_thermal_get_temp()
Domap4-thermal-data.c86 .constant = OMAP_GRADIENT_CONST_4430,
226 .constant = OMAP_GRADIENT_CONST_4460,
259 .constant = OMAP_GRADIENT_CONST_4470,
Domap3-thermal-data.c95 .constant = 20000,
168 .constant = 20000,
Domap5-thermal-data.c340 .constant = OMAP_GRADIENT_CONST_5430_CPU,
349 .constant = OMAP_GRADIENT_CONST_5430_GPU,
Dti-bandgap.h278 const int constant; member
/drivers/input/mouse/
Delan_i2c_smbus.c294 u16 constant; in elan_smbus_iap_get_mode() local
304 constant = be16_to_cpup((__be16 *)val); in elan_smbus_iap_get_mode()
305 dev_dbg(&client->dev, "iap control reg: 0x%04x.\n", constant); in elan_smbus_iap_get_mode()
307 *mode = (constant & ETP_SMBUS_IAP_MODE_ON) ? IAP_MODE : MAIN_MODE; in elan_smbus_iap_get_mode()
Delan_i2c_i2c.c400 u16 constant; in elan_i2c_iap_get_mode() local
411 constant = le16_to_cpup((__le16 *)val); in elan_i2c_iap_get_mode()
412 dev_dbg(&client->dev, "iap control reg: 0x%04x.\n", constant); in elan_i2c_iap_get_mode()
414 *mode = (constant & ETP_I2C_MAIN_MODE_ON) ? MAIN_MODE : IAP_MODE; in elan_i2c_iap_get_mode()
/drivers/staging/lustre/lnet/lnet/
Dacceptor.c58 lnet_accept_magic(__u32 magic, __u32 constant) in lnet_accept_magic() argument
60 return (magic == constant || in lnet_accept_magic()
61 magic == __swab32(constant)); in lnet_accept_magic()
/drivers/hid/
Dhid-logitech-hidpp.c1001 force = (effect->u.constant.level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()
1005 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect()
1006 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect()
1007 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect()
1008 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect()
1009 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect()
1010 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect()
1013 effect->u.constant.level, in hidpp_ff_upload_effect()
1016 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect()
1017 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect()
[all …]
/drivers/input/
Dinput-compat.h48 struct ff_constant_effect constant; member
Dff-memless.c79 return &effect->u.constant.envelope; in get_envelope()
268 new->u.constant.level, in ml_combine_effects()
269 &new->u.constant.envelope)); in ml_combine_effects()
/drivers/hid/usbhid/
Dhid-pidff.c291 effect->u.constant.level); in pidff_set_constant_force_report()
303 return effect->u.constant.level != old->u.constant.level; in pidff_needs_set_constant()
590 pidff_needs_set_envelope(&effect->u.constant.envelope, in pidff_upload_effect()
591 &old->u.constant.envelope)) in pidff_upload_effect()
593 &effect->u.constant.envelope); in pidff_upload_effect()
/drivers/scsi/
Dscript_asm.pl157 $constant = "$hexnum|$decnum";
163 "$identifier\\s*[+-]\s*$hexnum|$constant";
418 if ($rest =~ /^($identifier)\s*=\s*($constant)\s*$/) {
/drivers/staging/iio/
DTODO10 1) Possibly add sysfs exports of constant useful to userspace.
/drivers/media/dvb-frontends/
Drtl2830.c444 static const u32 constant[CONSTELLATION_NUM][HIERARCHY_NUM] = { in rtl2830_read_status() local
468 stmp = (constant[constellation][hierarchy] - in rtl2830_read_status()
Drtl2832.c703 static const u32 constant[CONSTELLATION_NUM][HIERARCHY_NUM] = { in rtl2832_read_status() local
727 tmp = (constant[constellation][hierarchy] - in rtl2832_read_status()
/drivers/leds/trigger/
DKconfig29 or on dense events, where this blinks the LED at constant rate if
/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y246 | constant
247 | program constant
737 constant:
/drivers/mtd/ubi/
DKconfig67 in nearly constant time. Instead of scanning the whole MTD device it
/drivers/leds/
DKconfig100 converter plus 1.5A constant current driver for a high-current
604 LED controllers. They are I2C devices with multiple constant-current
/drivers/scsi/aic7xxx/
Daic79xx.reg1705 * as a constant outside of this register