Home
last modified time | relevance | path

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

/drivers/input/
Djoydev.c50 struct js_corr corr[ABS_MAX + 1]; member
75 static int joydev_correct(int value, struct js_corr *corr) in joydev_correct() argument
77 switch (corr->type) { in joydev_correct()
83 value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 : in joydev_correct()
84 ((corr->coef[3] * (value - corr->coef[1])) >> 14)) : in joydev_correct()
85 ((corr->coef[2] * (value - corr->coef[0])) >> 14); in joydev_correct()
140 &joydev->corr[event.number]); in joydev_event()
491 if (copy_from_user(joydev->corr, argp, in joydev_ioctl_common()
492 sizeof(joydev->corr[0]) * joydev->nabs)) in joydev_ioctl_common()
498 &joydev->corr[i]); in joydev_ioctl_common()
[all …]
/drivers/mtd/ubi/
Dscan.c78 else if (list == &si->corr) in add_to_list()
462 &si->corr); in ubi_scan_add_used()
485 return add_to_list(si, pnum, ec, &si->corr); in ubi_scan_add_used()
681 head = &si->corr; in ubi_scan_get_free_peb()
793 err = add_to_list(si, pnum, ec, &si->corr); in process_eb()
814 err = add_to_list(si, pnum, ec, &si->corr); in process_eb()
879 INIT_LIST_HEAD(&si->corr); in ubi_scan()
928 list_for_each_entry(seb, &si->corr, u.list) in ubi_scan()
1008 list_for_each_entry_safe(seb, seb_tmp, &si->corr, u.list) { in ubi_scan_destroy_si()
1270 list_for_each_entry(seb, &si->corr, u.list) in paranoid_check_si()
Dscan.h112 struct list_head corr; member
Dvtbl.c368 list_add_tail(&new_seb->u.list, &si->corr); in create_vtbl()
Dwl.c1424 list_for_each_entry(seb, &si->corr, u.list) { in ubi_wl_init_scan()
/drivers/scsi/
Deata_generic.h186 __u8 corr:1; /* data read was successfully corrected with ECC*/ member