Searched refs:ramp (Results 1 – 12 of 12) sorted by relevance
/drivers/hid/ |
D | hid-lg3ff.c | 83 x = effect->u.ramp.start_level; in hid_lg3ff_play() 84 y = effect->u.ramp.end_level; in hid_lg3ff_play()
|
D | hid-lgff.c | 83 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()
|
D | hid-tmff.c | 96 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()
|
D | hid-lg4ff.c | 144 x = effect->u.ramp.start_level + 0x80; /* 0x80 is no force */ in hid_lg4ff_play()
|
/drivers/hid/usbhid/ |
D | hid-pidff.c | 440 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/ |
D | ff-memless.c | 264 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()
|
D | input-compat.h | 61 struct ff_ramp_effect ramp; member
|
/drivers/hwmon/ |
D | lm93.c | 692 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/ |
D | persistent_ram.c | 361 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/ |
D | sysfs-bus-iio-dds | 85 (sine, triangle, ramp, square, ...)
|
/drivers/regulator/ |
D | wm8350-regulator.c | 926 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/ |
D | scsi_debug.c | 2619 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()
|