#include <linux/module.h>
#include <linux/input.h>
#include <linux/input/mt.h>
#include <linux/ctype.h>
#include <linux/libps2.h>
#include <linux/serio.h>
#include <linux/jiffies.h>
#include <linux/slab.h>
#include "psmouse.h"
#include "sentelic.h"
Go to the source code of this file.
|
| PSMOUSE_DEFINE_WO_ATTR (setreg, S_IWUSR, NULL, fsp_attr_set_setreg) |
|
| PSMOUSE_DEFINE_ATTR (getreg, S_IWUSR|S_IRUGO, NULL, fsp_attr_show_getreg, fsp_attr_set_getreg) |
|
| PSMOUSE_DEFINE_ATTR (page, S_IWUSR|S_IRUGO, NULL, fsp_attr_show_pagereg, fsp_attr_set_pagereg) |
|
| PSMOUSE_DEFINE_ATTR (vscroll, S_IWUSR|S_IRUGO, NULL, fsp_attr_show_vscroll, fsp_attr_set_vscroll) |
|
| PSMOUSE_DEFINE_ATTR (hscroll, S_IWUSR|S_IRUGO, NULL, fsp_attr_show_hscroll, fsp_attr_set_hscroll) |
|
| PSMOUSE_DEFINE_ATTR (flags, S_IWUSR|S_IRUGO, NULL, fsp_attr_show_flags, fsp_attr_set_flags) |
|
| PSMOUSE_DEFINE_RO_ATTR (ver, S_IRUGO, NULL, fsp_attr_show_ver) |
|
int | fsp_detect (struct psmouse *psmouse, bool set_properties) |
|
int | fsp_init (struct psmouse *psmouse) |
|
#define FSP_CMD_TIMEOUT 200 |
#define FSP_CMD_TIMEOUT2 30 |
PSMOUSE_DEFINE_ATTR |
( |
getreg |
, |
|
|
S_IWUSR| |
S_IRUGO, |
|
|
NULL |
, |
|
|
fsp_attr_show_getreg |
, |
|
|
fsp_attr_set_getreg |
|
|
) |
| |
PSMOUSE_DEFINE_ATTR |
( |
page |
, |
|
|
S_IWUSR| |
S_IRUGO, |
|
|
NULL |
, |
|
|
fsp_attr_show_pagereg |
, |
|
|
fsp_attr_set_pagereg |
|
|
) |
| |
PSMOUSE_DEFINE_ATTR |
( |
vscroll |
, |
|
|
S_IWUSR| |
S_IRUGO, |
|
|
NULL |
, |
|
|
fsp_attr_show_vscroll |
, |
|
|
fsp_attr_set_vscroll |
|
|
) |
| |
PSMOUSE_DEFINE_ATTR |
( |
hscroll |
, |
|
|
S_IWUSR| |
S_IRUGO, |
|
|
NULL |
, |
|
|
fsp_attr_show_hscroll |
, |
|
|
fsp_attr_set_hscroll |
|
|
) |
| |
PSMOUSE_DEFINE_ATTR |
( |
flags |
, |
|
|
S_IWUSR| |
S_IRUGO, |
|
|
NULL |
, |
|
|
fsp_attr_show_flags |
, |
|
|
fsp_attr_set_flags |
|
|
) |
| |