Home
last modified time | relevance | path

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

12

/drivers/input/joystick/iforce/
A Diforce-ff.c215 return old->u.constant.level != effect->u.constant.level; in need_magnitude_modifier()
227 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier()
228 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier()
229 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier()
230 || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) in need_envelope_modifier()
418 effect->u.constant.level); in iforce_upload_constant()
427 effect->u.constant.envelope.attack_length, in iforce_upload_constant()
428 effect->u.constant.envelope.attack_level, in iforce_upload_constant()
429 effect->u.constant.envelope.fade_length, in iforce_upload_constant()
430 effect->u.constant.envelope.fade_level); in iforce_upload_constant()
/drivers/thermal/ti-soc-thermal/
A Dti-thermal-common.c76 int ret, tmp, slope, constant; in __ti_thermal_get_temp() local
91 constant = thermal_zone_get_offset(tz); in __ti_thermal_get_temp()
100 constant = s->constant_pcb; in __ti_thermal_get_temp()
107 *temp = ti_thermal_hotspot_temperature(tmp, slope, constant); in __ti_thermal_get_temp()
/drivers/input/mouse/
A 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()
A 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/pwm/
A Dpwm-meson.c102 bool constant; member
204 channel->constant = true; in meson_pwm_calc()
208 channel->constant = true; in meson_pwm_calc()
216 channel->constant = false; in meson_pwm_calc()
250 if (channel->constant) in meson_pwm_enable()
317 channel->constant = true; in meson_pwm_apply()
/drivers/gpu/drm/sprd/
A Dmegacores_pll.c221 u32 range[2], constant; in dphy_timing_config() local
229 constant = t_ui << 1; in dphy_timing_config()
267 val[CLK] = DIV_ROUND_UP(range[L] * factor - constant, t_half_byteck); in dphy_timing_config()
269 val[DATA] = DIV_ROUND_UP(range[L] * 3 / 2 - constant, t_half_byteck) - 2; in dphy_timing_config()
/drivers/gpu/drm/ci/xfails/
A Di915-cml-flakes.txt6 kms_plane_alpha_blend@constant-alpha-min
20 kms_plane_alpha_blend@constant-alpha-min
A Dmsm-sc7180-trogdor-kingoftown-fails.txt17 kms_plane_alpha_blend@coverage-vs-premult-vs-constant,Fail
A Dmsm-sc7180-trogdor-lazor-limozeen-fails.txt17 kms_plane_alpha_blend@coverage-vs-premult-vs-constant,Fail
A Di915-amly-fails.txt35 kms_plane_alpha_blend@constant-alpha-max,Fail
A Di915-apl-fails.txt31 kms_plane_alpha_blend@constant-alpha-max,Fail
A Di915-whl-fails.txt38 kms_plane_alpha_blend@constant-alpha-max,Fail
A Di915-cml-fails.txt43 kms_plane_alpha_blend@constant-alpha-max,Fail
/drivers/input/
A Dff-memless.c64 return &effect->u.constant.envelope; in get_envelope()
253 new->u.constant.level, in ml_combine_effects()
254 &new->u.constant.envelope)); in ml_combine_effects()
A Dinput-compat.h46 struct ff_constant_effect constant; member
/drivers/scsi/
A Dscript_asm.pl144 $constant = "$hexnum|$decnum";
150 "$identifier\\s*[+-]\s*$hexnum|$constant";
405 if ($rest =~ /^($identifier)\s*=\s*($constant)\s*$/) {
/drivers/hid/usbhid/
A Dhid-pidff.c362 effect->u.constant.level); in pidff_set_constant_force_report()
374 return effect->u.constant.level != old->u.constant.level; in pidff_needs_set_constant()
788 if (pidff_needs_set_envelope(&effect->u.constant.envelope, in pidff_upload_effect()
789 old ? &old->u.constant.envelope : NULL)) in pidff_upload_effect()
790 pidff_set_envelope_report(pidff, &effect->u.constant.envelope); in pidff_upload_effect()
/drivers/hid/
A Dhid-logitech-hidpp.c2565 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect()
2566 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect()
2567 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect()
2568 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect()
2569 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect()
2570 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect()
2573 effect->u.constant.level, in hidpp_ff_upload_effect()
2576 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect()
2577 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect()
2578 effect->u.constant.envelope.fade_level, in hidpp_ff_upload_effect()
[all …]
/drivers/input/misc/
A Dda7280.c523 tmp = effect->u.constant.level * 254; in da7280_haptics_upload_effect()
528 haptics->gain = effect->u.constant.level <= 0 ? in da7280_haptics_upload_effect()
529 0 : effect->u.constant.level; in da7280_haptics_upload_effect()
/drivers/leds/rgb/
A DKconfig72 support hardware pattern for constant current, PWM, and breath mode.
/drivers/media/dvb-frontends/
A Drtl2830.c434 static const u32 constant[CONSTELLATION_NUM][HIERARCHY_NUM] = { in rtl2830_read_status() local
458 stmp = (constant[constellation][hierarchy] - in rtl2830_read_status()
A Drtl2832.c690 static const u32 constant[CONSTELLATION_NUM][HIERARCHY_NUM] = { in rtl2832_read_status() local
715 tmp = (constant[constellation][hierarchy] - in rtl2832_read_status()
/drivers/scsi/aic7xxx/aicasm/
A Daicasm_gram.y242 | constant
243 | program constant
733 constant:
/drivers/leds/trigger/
A DKconfig28 or on dense events, where this blinks the LED at constant rate if
/drivers/mtd/ubi/
A DKconfig68 in nearly constant time. Instead of scanning the whole MTD device it

Completed in 45 milliseconds

12