Searched refs:vib (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/input/misc/ |
D | pm8xxx-vibrator.c | 58 static int pm8xxx_vib_set(struct pm8xxx_vib *vib, bool on) in pm8xxx_vib_set() argument 61 unsigned int val = vib->reg_vib_drv; in pm8xxx_vib_set() 64 val |= ((vib->level << VIB_DRV_SEL_SHIFT) & VIB_DRV_SEL_MASK); in pm8xxx_vib_set() 68 rc = regmap_write(vib->regmap, VIB_DRV, val); in pm8xxx_vib_set() 72 vib->reg_vib_drv = val; in pm8xxx_vib_set() 82 struct pm8xxx_vib *vib = container_of(work, struct pm8xxx_vib, work); in pm8xxx_work_handler() local 86 rc = regmap_read(vib->regmap, VIB_DRV, &val); in pm8xxx_work_handler() 94 if (vib->speed) { in pm8xxx_work_handler() 95 vib->active = true; in pm8xxx_work_handler() 96 vib->level = ((VIB_MAX_LEVELS * vib->speed) / MAX_FF_SPEED) + in pm8xxx_work_handler() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/input/ |
D | qcom,pm8xxx-vib.txt | 9 "qcom,pm8058-vib" 10 "qcom,pm8921-vib" 20 compatible = "qcom,pm8058-vib";
|
D | ti,drv260x.txt | 30 - vib-rated-mv - The rated voltage of the actuator in millivolts. 33 - vib-overdrive-mv - The overdrive voltage of the actuator in millivolts. 45 vib-rated-mv = <3200>; 46 vib-overdriver-mv = <3200>;
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | qcom-msm8660.dtsi | 148 compatible = "qcom,pm8058-vib";
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nv50_display.c | 849 u32 *push, hue, vib; in nv50_crtc_set_color_vibrance() local 853 vib = ((nv_crtc->color_vibrance * 2047 + adj) / 100) & 0xfff; in nv50_crtc_set_color_vibrance() 860 evo_data(push, (hue << 20) | (vib << 8)); in nv50_crtc_set_color_vibrance() 863 evo_data(push, (hue << 20) | (vib << 8)); in nv50_crtc_set_color_vibrance()
|