| /linux/drivers/input/misc/ |
| H A D | pm8xxx-vibrator.c | 14 #define VIB_MAX_LEVEL_mV(vib) (vib->drv2_addr ? 3544 : 3100) argument 15 #define VIB_MIN_LEVEL_mV(vib) (vib->drv2_addr ? 1504 : 1200) argument 16 #define VIB_PER_STEP_mV(vib) (vib->drv2_addr ? 8 : 100) argument 17 #define VIB_MAX_LEVELS(vib) \ argument 18 (VIB_MAX_LEVEL_mV(vib) - VIB_MIN_LEVEL_mV(vib) + VIB_PER_STEP_mV(vib)) 97 * @vib: pointer to vibrator structure 100 static int pm8xxx_vib_set(struct pm8xxx_vib *vib, bool on) in pm8xxx_vib_set() argument 103 unsigned int val = vib->reg_vib_drv; in pm8xxx_vib_set() 104 const struct pm8xxx_regs *regs = vib->regs; in pm8xxx_vib_set() 107 vib->level /= VIB_PER_STEP_mV(vib); in pm8xxx_vib_set() [all …]
|
| H A D | cs40l50-vibra.c | 89 struct cs40l50_vibra *vib; member 145 dev_err(work_data->vib->dev, "Invalid bank (%d)\n", bank_type); in cs40l50_effect_bank_set() 160 struct cs40l50_vibra *vib = work_data->vib; in cs40l50_effect_index_set() local 164 base_index = vib->dsp.banks[effect->type].base_index; in cs40l50_effect_index_set() 165 max_index = vib->dsp.banks[effect->type].max_index; in cs40l50_effect_index_set() 171 list_for_each_entry(owt_effect, &vib->effect_head, list) in cs40l50_effect_index_set() 180 dev_err(vib->dev, "Bank type %d not supported\n", effect->type); in cs40l50_effect_index_set() 185 dev_err(vib->dev, "Index out of bounds: %u\n", effect->index); in cs40l50_effect_index_set() 196 struct cs40l50_vibra *vib = work_data->vib; in cs40l50_effect_gpio_mapping_set() local 201 effect->gpio_reg = vib->dsp.gpio_base_reg + (gpio_num * 8) - gpio_edge; in cs40l50_effect_gpio_mapping_set() [all …]
|
| H A D | drv260x.c | 472 error = device_property_read_u32(dev, "vib-rated-mv", &voltage); in drv260x_probe() 476 error = device_property_read_u32(dev, "vib-overdrive-mv", &voltage); in drv260x_probe()
|
| H A D | twl6040-vibra.c | 280 dev_err(info->dev, "VIB IRQ request failed: %d\n", error); in twl6040_vibra_probe()
|
| /linux/drivers/staging/greybus/ |
| H A 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/Documentation/devicetree/bindings/input/ |
| H A D | qcom,pm8xxx-vib.yaml | 4 $id: http://devicetree.org/schemas/input/qcom,pm8xxx-vib.yaml# 16 - qcom,pm8058-vib 17 - qcom,pm8916-vib 18 - qcom,pm8921-vib 19 - qcom,pmi632-vib 22 - qcom,pm6150-vib 23 - qcom,pm7250b-vib 24 - qcom,pm7325b-vib 25 - qcom,pm7550ba-vib 26 - const: qcom,pmi632-vib [all …]
|
| H A D | ti,drv260x.yaml | 67 vib-rated-mv: 74 vib-overdrive-mv: 106 vib-rated-mv = <3200>; 107 vib-overdrive-mv = <3200>;
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | pm6150.dtsi | 171 compatible = "qcom,pm6150-vib", "qcom,pmi632-vib";
|
| H A D | pmi632.dtsi | 204 compatible = "qcom,pmi632-vib";
|
| H A D | pm8916.dtsi | 214 compatible = "qcom,pm8916-vib";
|
| H A D | msm8996-sony-xperia-tone.dtsi | 497 vib-ldo-en-gpio-pins {
|
| H A D | msm8998-sony-xperia-yoshino.dtsi | 410 vib_ldo_en: vib-ldo-en-state {
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | brcm,bcm59054.yaml | 25 "^(rf|sd|sdx|aud|mic|usb|vib|tcx)ldo$":
|
| H A D | brcm,bcm59056.yaml | 25 "^(rf|sd|sdx|aud|mic|usb|vib)ldo$":
|
| /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 | pm8058.dtsi | 27 compatible = "qcom,pm8058-vib";
|
| H A D | pm8226.dtsi | 177 compatible = "qcom,pm8916-vib";
|
| H A D | pm8941.dtsi | 210 compatible = "qcom,pm8916-vib";
|
| /linux/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | head.c | 89 const int vib = asyc->procamp.color_vibrance - 100; in nv50_head_atomic_check_procamp() local 91 const int adj = (vib > 0) ? 50 : 0; in nv50_head_atomic_check_procamp() 92 asyh->procamp.sat.cos = ((vib * 2047 + adj) / 100) & 0xfff; in nv50_head_atomic_check_procamp()
|
| /linux/sound/drivers/opl4/ |
| H A D | opl4_local.h | 89 /* LFO, VIB (0x80 to 0x97) */
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | mediatek,mt6370.yaml | 276 regulator-name = "mt6370-vib-ldo";
|
| /linux/drivers/regulator/ |
| H A D | mt6370-regulator.c | 250 .name = "mt6370-vib-ldo",
|
| /linux/include/sound/ |
| H A D | opl3.h | 93 * AM/VIB/EG/KSR/Multiple (0x20 to 0x35)
|
| /linux/fs/hfs/ |
| H A D | mdb.c | 24 * Also known as the Volume Information Block (VIB), this structure is
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588s-gameforce-ace.dts | 952 vib_left_h: vib-left-h { 957 vib_right_h: vib-right-h {
|