Searched refs:vib (Results 1 - 3 of 3) sorted by relevance
/linux-master/drivers/input/misc/ |
H A D | pm8xxx-vibrator.c | 70 * @vib: pointer to vibrator structure 73 static int pm8xxx_vib_set(struct pm8xxx_vib *vib, bool on) argument 76 unsigned int val = vib->reg_vib_drv; 77 const struct pm8xxx_regs *regs = vib->regs; 80 val |= (vib->level << regs->drv_shift) & regs->drv_mask; 84 rc = regmap_write(vib->regmap, regs->drv_addr, val); 88 vib->reg_vib_drv = val; 91 rc = regmap_update_bits(vib->regmap, regs->enable_addr, 103 struct pm8xxx_vib *vib = container_of(work, struct pm8xxx_vib, work); local 104 const struct pm8xxx_regs *regs = vib 137 struct pm8xxx_vib *vib = input_get_drvdata(dev); local 155 struct pm8xxx_vib *vib = input_get_drvdata(dev); local 168 struct pm8xxx_vib *vib; local 230 struct pm8xxx_vib *vib = dev_get_drvdata(dev); local [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | vibrator.c | 29 static int turn_off(struct gb_vibrator_device *vib) argument 31 struct gb_bundle *bundle = vib->connection->bundle; 34 ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_OFF, 42 static int turn_on(struct gb_vibrator_device *vib, u16 timeout_ms) argument 44 struct gb_bundle *bundle = vib->connection->bundle; 52 if (cancel_delayed_work_sync(&vib->delayed_work)) 53 turn_off(vib); 55 ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_ON, 62 schedule_delayed_work(&vib->delayed_work, msecs_to_jiffies(timeout_ms)); 70 struct gb_vibrator_device *vib local 81 struct gb_vibrator_device *vib = dev_get_drvdata(dev); local 120 struct gb_vibrator_device *vib; local 189 struct gb_vibrator_device *vib = greybus_get_drvdata(bundle); local [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 84 const int vib = asyc->procamp.color_vibrance - 100; local 86 const int adj = (vib > 0) ? 50 : 0; 87 asyh->procamp.sat.cos = ((vib * 2047 + adj) / 100) & 0xfff;
|
Completed in 128 milliseconds