Home
last modified time | relevance | path

Searched refs:vib (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/input/misc/
H A Dpm8xxx-vibrator.c117 if (vib->speed) { in pm8xxx_work_handler()
118 vib->active = true; in pm8xxx_work_handler()
119 vib->level = ((VIB_MAX_LEVELS * vib->speed) / MAX_FF_SPEED) + in pm8xxx_work_handler()
123 vib->active = false; in pm8xxx_work_handler()
127 pm8xxx_vib_set(vib, vib->active); in pm8xxx_work_handler()
141 if (vib->active) in pm8xxx_vib_close()
159 if (!vib->speed) in pm8xxx_vib_play_effect()
175 vib = devm_kzalloc(&pdev->dev, sizeof(*vib), GFP_KERNEL); in pm8xxx_vib_probe()
176 if (!vib) in pm8xxx_vib_probe()
180 if (!vib->regmap) in pm8xxx_vib_probe()
[all …]
/openbmc/linux/drivers/staging/greybus/
H A Dvibrator.c53 turn_off(vib); in turn_on()
75 turn_off(vib); in gb_vibrator_worker()
131 vib = kzalloc(sizeof(*vib), GFP_KERNEL); in gb_vibrator_probe()
132 if (!vib) in gb_vibrator_probe()
157 if (vib->minor < 0) { in gb_vibrator_probe()
158 retval = vib->minor; in gb_vibrator_probe()
162 MKDEV(0, 0), vib, "vibrator%d", vib->minor); in gb_vibrator_probe()
167 vib->dev = dev; in gb_vibrator_probe()
182 kfree(vib); in gb_vibrator_probe()
197 turn_off(vib); in gb_vibrator_disconnect()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dqcom,pm8xxx-vib.yaml4 $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";
H A Dti,drv260x.yaml67 vib-rated-mv:
74 vib-overdrive-mv:
106 vib-rated-mv = <3200>;
107 vib-overdrive-mv = <3200>;
/openbmc/qemu/hw/audio/
H A Dfmopl.c219 static int32_t vib; variable
387 SLOT->vib = (v&0x40); in set_mul()
455 if(SLOT->vib) SLOT->Cnt += (SLOT->Incr*vib/VIB_RATE); in OPL_CALC_CH()
479 if(SLOT->vib) SLOT->Cnt += (SLOT->Incr*vib/VIB_RATE); in OPL_CALC_CH()
505 if(SLOT->vib) SLOT->Cnt += (SLOT->Incr*vib/VIB_RATE); in OPL_CALC_RH()
530 if(SLOT->vib) SLOT->Cnt += (SLOT->Incr*vib/VIB_RATE); in OPL_CALC_RH()
546 if(SLOT7_1->vib) SLOT7_1->Cnt += (2*SLOT7_1->Incr*vib/VIB_RATE); in OPL_CALC_RH()
548 if(SLOT7_2->vib) SLOT7_2->Cnt += ((CH[7].fc*8)*vib/VIB_RATE); in OPL_CALC_RH()
550 if(SLOT8_1->vib) SLOT8_1->Cnt += (SLOT8_1->Incr*vib/VIB_RATE); in OPL_CALC_RH()
552 if(SLOT8_2->vib) SLOT8_2->Cnt += ((CH[8].fc*48)*vib/VIB_RATE); in OPL_CALC_RH()
[all …]
H A Dfmopl.h35 uint8_t vib; /* vibrate flag */ member
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8026-huawei-sturgeon.dts84 vib-rated-mv = <2765>;
85 vib-overdrive-mv = <3525>;
H A Dpm8226.dtsi175 compatible = "qcom,pm8916-vib";
H A Dpm8941.dtsi208 compatible = "qcom,pm8916-vib";
H A Dqcom-msm8660.dtsi445 compatible = "qcom,pm8058-vib";
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c83 const int vib = asyc->procamp.color_vibrance - 100; in nv50_head_atomic_check_procamp() local
85 const int adj = (vib > 0) ? 50 : 0; in nv50_head_atomic_check_procamp()
86 asyh->procamp.sat.cos = ((vib * 2047 + adj) / 100) & 0xfff; in nv50_head_atomic_check_procamp()
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dpm8916.dtsi137 compatible = "qcom,pm8916-vib";
H A Dmsm8998-sony-xperia-yoshino.dtsi397 vib_ldo_en: vib-ldo-en-state {
H A Dmsm8996-sony-xperia-tone.dtsi497 vib-ldo-en-gpio-pins {
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dmediatek,mt6370.yaml276 regulator-name = "mt6370-vib-ldo";
H A Dqcom,spmi-pmic.yaml181 $ref: /schemas/input/qcom,pm8xxx-vib.yaml#