Home
last modified time | relevance | path

Searched refs:corr (Results 1 – 7 of 7) sorted by relevance

/drivers/input/
Djoydev.c52 struct js_corr corr[ABS_CNT]; member
74 static int joydev_correct(int value, struct js_corr *corr) in joydev_correct() argument
76 switch (corr->type) { in joydev_correct()
82 value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 : in joydev_correct()
83 ((corr->coef[3] * (value - corr->coef[1])) >> 14)) : in joydev_correct()
84 ((corr->coef[2] * (value - corr->coef[0])) >> 14); in joydev_correct()
139 &joydev->corr[event.number]); in joydev_event()
545 if (copy_from_user(joydev->corr, argp, in joydev_ioctl_common()
546 sizeof(joydev->corr[0]) * joydev->nabs)) in joydev_ioctl_common()
551 joydev->abs[i] = joydev_correct(val, &joydev->corr[i]); in joydev_ioctl_common()
[all …]
/drivers/mtd/ubi/
Dattach.c173 list_add(&aeb->u.list, &ai->corr); in add_corrupted()
1082 list_for_each_entry(aeb, &ai->corr, u.list) in late_analysis()
1178 list_for_each_entry_safe(aeb, aeb_tmp, &ai->corr, u.list) { in destroy_ai()
1277 list_for_each_entry(aeb, &ai->corr, u.list) in scan_all()
1370 INIT_LIST_HEAD(&ai->corr); in alloc_ai()
1714 list_for_each_entry(aeb, &ai->corr, u.list) in self_check_ai()
Dubi.h686 struct list_head corr; member
Dfastmap.c555 INIT_LIST_HEAD(&ai->corr); in ubi_attach_fastmap()
/drivers/gpu/drm/i915/
Dintel_pm.c3165 unsigned long t, corr, state1, corr2, state2; in __i915_gfx_val() local
3182 corr = ((t * 2349) + 135940); in __i915_gfx_val()
3184 corr = ((t * 964) + 29317); in __i915_gfx_val()
3186 corr = ((t * 301) + 1004); in __i915_gfx_val()
3188 corr = corr * ((150142 * state1) / 10000 - 78642); in __i915_gfx_val()
3189 corr /= 100000; in __i915_gfx_val()
3190 corr2 = (corr * dev_priv->ips.corr); in __i915_gfx_val()
3461 dev_priv->ips.corr = (lcfuse & LCFUSE_HIV_MASK); in intel_init_emon()
Di915_drv.h698 u8 corr; member
/drivers/scsi/
Deata_generic.h186 __u8 corr:1; /* data read was successfully corrected with ECC*/ member