Home
last modified time | relevance | path

Searched refs:ramp (Results 1 – 12 of 12) sorted by relevance

/drivers/hid/
Dhid-lg3ff.c83 x = effect->u.ramp.start_level; in hid_lg3ff_play()
84 y = effect->u.ramp.end_level; in hid_lg3ff_play()
Dhid-lgff.c83 x = effect->u.ramp.start_level + 0x7f; /* 0x7f is center */ in hid_lgff_play()
84 y = effect->u.ramp.end_level + 0x7f; in hid_lgff_play()
Dhid-tmff.c96 x = tmff_scale_s8(effect->u.ramp.start_level, in tmff_play()
99 y = tmff_scale_s8(effect->u.ramp.end_level, in tmff_play()
Dhid-lg4ff.c144 x = effect->u.ramp.start_level + 0x80; /* 0x80 is no force */ in hid_lg4ff_play()
/drivers/hid/usbhid/
Dhid-pidff.c440 effect->u.ramp.start_level); in pidff_set_ramp_force_report()
442 effect->u.ramp.end_level); in pidff_set_ramp_force_report()
452 return effect->u.ramp.start_level != old->u.ramp.start_level || in pidff_needs_set_ramp()
453 effect->u.ramp.end_level != old->u.ramp.end_level; in pidff_needs_set_ramp()
641 pidff_needs_set_envelope(&effect->u.ramp.envelope, in pidff_upload_effect()
642 &old->u.ramp.envelope)) in pidff_upload_effect()
644 &effect->u.ramp.envelope); in pidff_upload_effect()
/drivers/input/
Dff-memless.c264 effect->u.ramp.start_level = in ml_combine_effects()
265 clamp_val(effect->u.ramp.start_level + x, -0x80, 0x7f); in ml_combine_effects()
266 effect->u.ramp.end_level = in ml_combine_effects()
267 clamp_val(effect->u.ramp.end_level + y, -0x80, 0x7f); in ml_combine_effects()
Dinput-compat.h61 struct ff_ramp_effect ramp; member
/drivers/hwmon/
Dlm93.c692 static u8 LM93_RAMP_TO_REG(int ramp) in LM93_RAMP_TO_REG() argument
694 ramp = SENSORS_LIMIT(ramp, LM93_RAMP_MIN, LM93_RAMP_MAX); in LM93_RAMP_TO_REG()
695 return (u8)((ramp + 2) / 5); in LM93_RAMP_TO_REG()
2168 u8 ramp; in store_pwm_auto_prochot_ramp() local
2177 ramp = lm93_read_byte(client, LM93_REG_PWM_RAMP_CTL); in store_pwm_auto_prochot_ramp()
2178 ramp = (ramp & 0x0f) | (LM93_RAMP_TO_REG(val) << 4 & 0xf0); in store_pwm_auto_prochot_ramp()
2179 lm93_write_byte(client, LM93_REG_PWM_RAMP_CTL, ramp); in store_pwm_auto_prochot_ramp()
2202 u8 ramp; in store_pwm_auto_vrdhot_ramp() local
2211 ramp = lm93_read_byte(client, LM93_REG_PWM_RAMP_CTL); in store_pwm_auto_vrdhot_ramp()
2212 ramp = (ramp & 0xf0) | (LM93_RAMP_TO_REG(val) & 0x0f); in store_pwm_auto_vrdhot_ramp()
[all …]
/drivers/staging/android/
Dpersistent_ram.c361 struct persistent_ram_zone *prz, struct persistent_ram **ramp) in persistent_ram_buffer_init() argument
373 *ramp = ram; in persistent_ram_buffer_init()
/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-dds85 (sine, triangle, ramp, square, ...)
/drivers/regulator/
Dwm8350-regulator.c926 u16 ilim, u16 ramp, u16 feedback) in wm8350_dcdc25_set_mode() argument
941 (ramp << WM8350_DC2_RMP_SHIFT) | in wm8350_dcdc25_set_mode()
951 (ramp << WM8350_DC5_RMP_SHIFT) | in wm8350_dcdc25_set_mode()
/drivers/scsi/
Dscsi_debug.c2619 static void __init sdebug_build_parts(unsigned char *ramp, in sdebug_build_parts() argument
2646 ramp[510] = 0x55; /* magic partition markings */ in sdebug_build_parts()
2647 ramp[511] = 0xAA; in sdebug_build_parts()
2648 pp = (struct partition *)(ramp + 0x1be); in sdebug_build_parts()