#ifndef _ELANTECH_H
#define _ELANTECH_H
#define ETP_FW_ID_QUERY …
#define ETP_FW_VERSION_QUERY …
#define ETP_CAPABILITIES_QUERY …
#define ETP_SAMPLE_QUERY …
#define ETP_RESOLUTION_QUERY …
#define ETP_ICBODY_QUERY …
#define ETP_REGISTER_READ …
#define ETP_REGISTER_WRITE …
#define ETP_REGISTER_READWRITE …
#define ETP_PS2_CUSTOM_COMMAND …
#define ETP_PS2_COMMAND_TRIES …
#define ETP_PS2_COMMAND_DELAY …
#define ETP_READ_BACK_TRIES …
#define ETP_READ_BACK_DELAY …
#define ETP_R10_ABSOLUTE_MODE …
#define ETP_R11_4_BYTE_MODE …
#define ETP_CAP_HAS_ROCKER …
#define ETP_EDGE_FUZZ_V1 …
#define ETP_XMIN_V1 …
#define ETP_XMAX_V1 …
#define ETP_YMIN_V1 …
#define ETP_YMAX_V1 …
#define ETP_XMIN_V2 …
#define ETP_XMAX_V2 …
#define ETP_YMIN_V2 …
#define ETP_YMAX_V2 …
#define ETP_PMIN_V2 …
#define ETP_PMAX_V2 …
#define ETP_WMIN_V2 …
#define ETP_WMAX_V2 …
#define PACKET_UNKNOWN …
#define PACKET_DEBOUNCE …
#define PACKET_V3_HEAD …
#define PACKET_V3_TAIL …
#define PACKET_V4_HEAD …
#define PACKET_V4_MOTION …
#define PACKET_V4_STATUS …
#define PACKET_TRACKPOINT …
#define ETP_MAX_FINGERS …
#define ETP_WEIGHT_VALUE …
#define ETP_BUS_PS2_ONLY …
#define ETP_BUS_SMB_ALERT_ONLY …
#define ETP_BUS_SMB_HST_NTFY_ONLY …
#define ETP_BUS_PS2_SMB_ALERT …
#define ETP_BUS_PS2_SMB_HST_NTFY …
#define ETP_NEW_IC_SMBUS_HOST_NOTIFY(fw_version) …
struct finger_pos { … };
struct elantech_device_info { … };
struct elantech_data { … };
int elantech_detect(struct psmouse *psmouse, bool set_properties);
int elantech_init_ps2(struct psmouse *psmouse);
#ifdef CONFIG_MOUSE_PS2_ELANTECH
int elantech_init(struct psmouse *psmouse);
#else
static inline int elantech_init(struct psmouse *psmouse)
{
return -ENOSYS;
}
#endif
int elantech_init_smbus(struct psmouse *psmouse);
#endif