Searched refs:vib (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/input/misc/ |
D | pm8xxx-vibrator.c | 74 static int pm8xxx_vib_set(struct pm8xxx_vib *vib, bool on) in pm8xxx_vib_set() argument 77 unsigned int val = vib->reg_vib_drv; in pm8xxx_vib_set() 78 const struct pm8xxx_regs *regs = vib->regs; in pm8xxx_vib_set() 81 val |= (vib->level << regs->drv_shift) & regs->drv_mask; in pm8xxx_vib_set() 85 rc = regmap_write(vib->regmap, regs->drv_addr, val); in pm8xxx_vib_set() 89 vib->reg_vib_drv = val; in pm8xxx_vib_set() 92 rc = regmap_update_bits(vib->regmap, regs->enable_addr, in pm8xxx_vib_set() 104 struct pm8xxx_vib *vib = container_of(work, struct pm8xxx_vib, work); in pm8xxx_work_handler() local 105 const struct pm8xxx_regs *regs = vib->regs; in pm8xxx_work_handler() 109 rc = regmap_read(vib->regmap, regs->drv_addr, &val); in pm8xxx_work_handler() [all …]
|
/linux-6.1.9/drivers/staging/greybus/ |
D | vibrator.c | 29 static int turn_off(struct gb_vibrator_device *vib) in turn_off() argument 31 struct gb_bundle *bundle = vib->connection->bundle; in turn_off() 34 ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_OFF, in turn_off() 42 static int turn_on(struct gb_vibrator_device *vib, u16 timeout_ms) in turn_on() argument 44 struct gb_bundle *bundle = vib->connection->bundle; in turn_on() 52 if (cancel_delayed_work_sync(&vib->delayed_work)) in turn_on() 53 turn_off(vib); in turn_on() 55 ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_ON, in turn_on() 62 schedule_delayed_work(&vib->delayed_work, msecs_to_jiffies(timeout_ms)); in turn_on() 70 struct gb_vibrator_device *vib = in gb_vibrator_worker() local [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/input/ |
D | qcom,pm8xxx-vib.yaml | 4 $id: http://devicetree.org/schemas/input/qcom,pm8xxx-vib.yaml# 15 - qcom,pm8058-vib 16 - qcom,pm8916-vib 17 - qcom,pm8921-vib 35 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-overdrive-mv = <3200>;
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | qcom-pm8226.dtsi | 106 compatible = "qcom,pm8916-vib";
|
D | qcom-msm8660.dtsi | 444 compatible = "qcom,pm8058-vib";
|
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/ |
D | head.c | 84 const int vib = asyc->procamp.color_vibrance - 100; in nv50_head_atomic_check_procamp() local 86 const int adj = (vib > 0) ? 50 : 0; in nv50_head_atomic_check_procamp() 87 asyh->procamp.sat.cos = ((vib * 2047 + adj) / 100) & 0xfff; in nv50_head_atomic_check_procamp()
|
/linux-6.1.9/arch/arm64/boot/dts/qcom/ |
D | pm8916.dtsi | 136 compatible = "qcom,pm8916-vib";
|
D | msm8998-sony-xperia-yoshino.dtsi | 349 vib_default: vib-en-state {
|
D | msm8996-sony-xperia-tone.dtsi | 502 vib-ldo-en-gpio-pins {
|
/linux-6.1.9/Documentation/devicetree/bindings/mfd/ |
D | mediatek,mt6370.yaml | 274 regulator-name = "mt6370-vib-ldo";
|
D | qcom,spmi-pmic.yaml | 140 additionalProperties: true # FIXME qcom,pm8916-vib binding not converted yet
|