Searched refs:constant (Results 1 – 17 of 17) sorted by relevance
/drivers/input/joystick/iforce/ |
D | iforce-ff.c | 219 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/ |
D | ti-thermal-common.c | 73 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/ |
D | elan_i2c_i2c.c | 473 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()
|
D | elan_i2c_smbus.c | 297 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/ |
D | input-compat.h | 46 struct ff_constant_effect constant; member
|
D | ff-memless.c | 67 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/ |
D | hid-pidff.c | 279 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/ |
D | script_asm.pl | 144 $constant = "$hexnum|$decnum"; 150 "$identifier\\s*[+-]\s*$hexnum|$constant"; 405 if ($rest =~ /^($identifier)\s*=\s*($constant)\s*$/) {
|
/drivers/hid/ |
D | hid-logitech-hidpp.c | 2084 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/ |
D | rtl2830.c | 434 static const u32 constant[CONSTELLATION_NUM][HIERARCHY_NUM] = { in rtl2830_read_status() local 458 stmp = (constant[constellation][hierarchy] - in rtl2830_read_status()
|
D | rtl2832.c | 690 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/ |
D | aicasm_gram.y | 242 | constant 243 | program constant 733 constant:
|
/drivers/leds/trigger/ |
D | Kconfig | 28 or on dense events, where this blinks the LED at constant rate if
|
/drivers/mtd/ubi/ |
D | Kconfig | 68 in nearly constant time. Instead of scanning the whole MTD device it
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpni-cmd.h | 425 u8 constant; member
|
/drivers/leds/ |
D | Kconfig | 232 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/ |
D | aic79xx.reg | 1705 * as a constant outside of this register
|