Home
last modified time | relevance | path

Searched full:vib (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/input/misc/
H A Dpm8xxx-vibrator.c14 #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 Dcs40l50-vibra.c89 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 Ddrv260x.c472 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 Dtwl6040-vibra.c280 dev_err(info->dev, "VIB IRQ request failed: %d\n", error); in twl6040_vibra_probe()
/linux/drivers/staging/greybus/
H A Dvibrator.c29 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 Dqcom,pm8xxx-vib.yaml4 $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 Dti,drv260x.yaml67 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 Dpm6150.dtsi171 compatible = "qcom,pm6150-vib", "qcom,pmi632-vib";
H A Dpmi632.dtsi204 compatible = "qcom,pmi632-vib";
H A Dpm8916.dtsi214 compatible = "qcom,pm8916-vib";
H A Dmsm8996-sony-xperia-tone.dtsi497 vib-ldo-en-gpio-pins {
H A Dmsm8998-sony-xperia-yoshino.dtsi410 vib_ldo_en: vib-ldo-en-state {
/linux/Documentation/devicetree/bindings/regulator/
H A Dbrcm,bcm59054.yaml25 "^(rf|sd|sdx|aud|mic|usb|vib|tcx)ldo$":
H A Dbrcm,bcm59056.yaml25 "^(rf|sd|sdx|aud|mic|usb|vib)ldo$":
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8026-huawei-sturgeon.dts84 vib-rated-mv = <2765>;
85 vib-overdrive-mv = <3525>;
H A Dpm8058.dtsi27 compatible = "qcom,pm8058-vib";
H A Dpm8226.dtsi177 compatible = "qcom,pm8916-vib";
H A Dpm8941.dtsi210 compatible = "qcom,pm8916-vib";
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c89 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 Dopl4_local.h89 /* LFO, VIB (0x80 to 0x97) */
/linux/Documentation/devicetree/bindings/mfd/
H A Dmediatek,mt6370.yaml276 regulator-name = "mt6370-vib-ldo";
/linux/drivers/regulator/
H A Dmt6370-regulator.c250 .name = "mt6370-vib-ldo",
/linux/include/sound/
H A Dopl3.h93 * AM/VIB/EG/KSR/Multiple (0x20 to 0x35)
/linux/fs/hfs/
H A Dmdb.c24 * Also known as the Volume Information Block (VIB), this structure is
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588s-gameforce-ace.dts952 vib_left_h: vib-left-h {
957 vib_right_h: vib-right-h {

12