Searched refs:vib (Results 1 – 16 of 16) sorted by relevance
/openbmc/linux/drivers/input/misc/ |
H A D | pm8xxx-vibrator.c | 117 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 D | vibrator.c | 53 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 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";
|
H A D | ti,drv260x.yaml | 67 vib-rated-mv: 74 vib-overdrive-mv: 106 vib-rated-mv = <3200>; 107 vib-overdrive-mv = <3200>;
|
/openbmc/qemu/hw/audio/ |
H A D | fmopl.c | 219 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 D | fmopl.h | 35 uint8_t vib; /* vibrate flag */ member
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8026-huawei-sturgeon.dts | 84 vib-rated-mv = <2765>; 85 vib-overdrive-mv = <3525>;
|
H A D | pm8226.dtsi | 175 compatible = "qcom,pm8916-vib";
|
H A D | pm8941.dtsi | 208 compatible = "qcom,pm8916-vib";
|
H A D | qcom-msm8660.dtsi | 445 compatible = "qcom,pm8058-vib";
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 83 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 D | pm8916.dtsi | 137 compatible = "qcom,pm8916-vib";
|
H A D | msm8998-sony-xperia-yoshino.dtsi | 397 vib_ldo_en: vib-ldo-en-state {
|
H A D | msm8996-sony-xperia-tone.dtsi | 497 vib-ldo-en-gpio-pins {
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | mediatek,mt6370.yaml | 276 regulator-name = "mt6370-vib-ldo";
|
H A D | qcom,spmi-pmic.yaml | 181 $ref: /schemas/input/qcom,pm8xxx-vib.yaml#
|