Home
last modified time | relevance | path

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

/drivers/input/joystick/iforce/
Diforce-ff.c219 return old->u.constant.level != effect->u.constant.level; in need_magnitude_modifier()
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()
422 effect->u.constant.level); in iforce_upload_constant()
431 effect->u.constant.envelope.attack_length, in iforce_upload_constant()
432 effect->u.constant.envelope.attack_level, in iforce_upload_constant()
433 effect->u.constant.envelope.fade_length, in iforce_upload_constant()
434 effect->u.constant.envelope.fade_level); in iforce_upload_constant()
/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c73 int ret, tmp, slope, constant; in __ti_thermal_get_temp() local
88 constant = thermal_zone_get_offset(data->ti_thermal); in __ti_thermal_get_temp()
97 constant = s->constant_pcb; in __ti_thermal_get_temp()
104 *temp = ti_thermal_hotspot_temperature(tmp, slope, constant); in __ti_thermal_get_temp()
/drivers/input/mouse/
Delan_i2c_i2c.c473 u16 constant; in elan_i2c_iap_get_mode() local
484 constant = le16_to_cpup((__le16 *)val); in elan_i2c_iap_get_mode()
485 dev_dbg(&client->dev, "iap control reg: 0x%04x.\n", constant); in elan_i2c_iap_get_mode()
487 *mode = (constant & ETP_I2C_MAIN_MODE_ON) ? MAIN_MODE : IAP_MODE; in elan_i2c_iap_get_mode()
523 u16 constant; in elan_read_write_iap_type() local
543 constant = le16_to_cpup((__le16 *)val); in elan_read_write_iap_type()
544 dev_dbg(&client->dev, "iap type reg: 0x%04x\n", constant); in elan_read_write_iap_type()
546 if (constant == fw_page_size / 2) in elan_read_write_iap_type()
Delan_i2c_smbus.c297 u16 constant; in elan_smbus_iap_get_mode() local
307 constant = be16_to_cpup((__be16 *)val); in elan_smbus_iap_get_mode()
308 dev_dbg(&client->dev, "iap control reg: 0x%04x.\n", constant); in elan_smbus_iap_get_mode()
310 *mode = (constant & ETP_SMBUS_IAP_MODE_ON) ? IAP_MODE : MAIN_MODE; in elan_smbus_iap_get_mode()
/drivers/input/
Dinput-compat.h46 struct ff_constant_effect constant; member
Dff-memless.c67 return &effect->u.constant.envelope; in get_envelope()
256 new->u.constant.level, in ml_combine_effects()
257 &new->u.constant.envelope)); in ml_combine_effects()
/drivers/hid/usbhid/
Dhid-pidff.c279 effect->u.constant.level); in pidff_set_constant_force_report()
291 return effect->u.constant.level != old->u.constant.level; in pidff_needs_set_constant()
578 pidff_needs_set_envelope(&effect->u.constant.envelope, in pidff_upload_effect()
579 &old->u.constant.envelope)) in pidff_upload_effect()
581 &effect->u.constant.envelope); in pidff_upload_effect()
/drivers/scsi/
Dscript_asm.pl144 $constant = "$hexnum|$decnum";
150 "$identifier\\s*[+-]\s*$hexnum|$constant";
405 if ($rest =~ /^($identifier)\s*=\s*($constant)\s*$/) {
/drivers/hid/
Dhid-logitech-hidpp.c2084 force = (effect->u.constant.level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()
2088 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect()
2089 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect()
2090 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect()
2091 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect()
2092 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect()
2093 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect()
2096 effect->u.constant.level, in hidpp_ff_upload_effect()
2099 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect()
2100 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect()
[all …]
/drivers/media/dvb-frontends/
Drtl2830.c434 static const u32 constant[CONSTELLATION_NUM][HIERARCHY_NUM] = { in rtl2830_read_status() local
458 stmp = (constant[constellation][hierarchy] - in rtl2830_read_status()
Drtl2832.c690 static const u32 constant[CONSTELLATION_NUM][HIERARCHY_NUM] = { in rtl2832_read_status() local
714 tmp = (constant[constellation][hierarchy] - in rtl2832_read_status()
/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y242 | constant
243 | program constant
733 constant:
/drivers/leds/trigger/
DKconfig28 or on dense events, where this blinks the LED at constant rate if
/drivers/mtd/ubi/
DKconfig68 in nearly constant time. Instead of scanning the whole MTD device it
/drivers/net/ethernet/freescale/dpaa2/
Ddpni-cmd.h425 u8 constant; member
/drivers/leds/
DKconfig232 converter plus 1.5A constant current driver for a high-current
773 LED controllers. They are I2C devices with multiple constant-current
/drivers/scsi/aic7xxx/
Daic79xx.reg1705 * as a constant outside of this register