Data Structures |
struct | h3600_ts_calibration |
struct | h3600_ts_event |
struct | h3600_ts_return |
struct | therm_dev |
struct | battery_data |
struct | h3600_battery |
struct | h3600_eeprom_read_request |
struct | h3600_eeprom_write_request |
struct | h3600_spi_read_request |
struct | h3600_spi_write_request |
struct | h3600_ts_version |
struct | h3600_ts_led |
struct | h3600_ts_flite |
struct | h3600_ts_backlight |
struct | h3600_ts_contrast |
Defines |
#define | H3600_BATT_CHEM_ALKALINE 0x01 |
#define | H3600_BATT_CHEM_NICD 0x02 |
#define | H3600_BATT_CHEM_NIMH 0x03 |
#define | H3600_BATT_CHEM_LION 0x04 |
#define | H3600_BATT_CHEM_LIPOLY 0x05 |
#define | H3600_BATT_CHEM_NOT_INSTALLED 0x06 |
#define | H3600_BATT_CHEM_UNKNOWN 0xff |
#define | H3600_AC_STATUS_AC_OFFLINE 0x00 |
#define | H3600_AC_STATUS_AC_ONLINE 0x01 |
#define | H3600_AC_STATUS_AC_BACKUP 0x02 |
#define | H3600_AC_STATUS_AC_UNKNOWN 0xff |
#define | H3600_BATT_STATUS_HIGH 0x01 |
#define | H3600_BATT_STATUS_LOW 0x02 |
#define | H3600_BATT_STATUS_CRITICAL 0x04 |
#define | H3600_BATT_STATUS_CHARGING 0x08 |
#define | H3600_BATT_STATUS_CHARGE_MAIN 0x10 |
#define | H3600_BATT_STATUS_DEAD 0x20 |
#define | H3600_BATT_NOT_INSTALLED 0x20 |
#define | H3600_BATT_STATUS_FULL 0x40 |
#define | H3600_BATT_STATUS_NOBATT 0x80 |
#define | H3600_BATT_STATUS_UNKNOWN 0xff |
#define | EEPROM_RD_BUFSIZ 6 |
#define | EEPROM_WR_BUFSIZ 5 |
#define | SPI_RD_BUFSIZ 16 |
#define | SPI_WR_BUFSIZ 7 |
#define | SPI_READ_STATUS_BYTE 0xffff |
#define | IOC_H3600_TS_MAGIC 'f' |
#define | GET_VERSION _IOR(IOC_H3600_TS_MAGIC, 1, struct h3600_ts_version ) |
#define | READ_EEPROM _IOWR(IOC_H3600_TS_MAGIC, 2, struct h3600_eeprom_read_request) |
#define | WRITE_EEPROM _IOWR(IOC_H3600_TS_MAGIC, 3, struct h3600_eeprom_write_request) |
#define | GET_THERMAL _IOR(IOC_H3600_TS_MAGIC, 4, struct therm_dev) |
#define | LED_ON _IOW(IOC_H3600_TS_MAGIC, 5, struct h3600_ts_led) |
#define | GET_BATTERY_STATUS _IOR(IOC_H3600_TS_MAGIC, 6, struct h3600_battery) |
#define | FLITE_ON _IOW(IOC_H3600_TS_MAGIC, 7, struct h3600_ts_flite) |
#define | READ_SPI _IOWR(IOC_H3600_TS_MAGIC, 8, struct h3600_spi_read_request) |
#define | WRITE_SPI _IOWR(IOC_H3600_TS_MAGIC, 9, struct h3600_spi_write_request) |
#define | TS_GET_CAL _IOR(IOC_H3600_TS_MAGIC, 10, struct h3600_ts_calibration) |
#define | TS_SET_CAL _IOW(IOC_H3600_TS_MAGIC, 11, struct h3600_ts_calibration) |
#define | TS_GET_BACKLIGHT _IOR(IOC_H3600_TS_MAGIC, 20, struct h3600_ts_backlight) |
#define | TS_SET_BACKLIGHT _IOW(IOC_H3600_TS_MAGIC, 20, struct h3600_ts_backlight) |
#define | TS_GET_CONTRAST _IOR(IOC_H3600_TS_MAGIC, 21, struct h3600_ts_contrast) |
#define | TS_SET_CONTRAST _IOW(IOC_H3600_TS_MAGIC, 21, struct h3600_ts_contrast) |
Typedefs |
typedef struct h3600_ts_calibration | TS_CAL |
typedef struct h3600_ts_event | TS_EVENT |
typedef struct h3600_ts_return | TS_RET |
typedef struct therm_dev | THERM_DEV |
typedef struct
h3600_eeprom_read_request | EEPROM_READ |
typedef struct
h3600_eeprom_write_request | EEPROM_WRITE |
typedef struct
h3600_spi_read_request | SPI_READ |
typedef struct
h3600_spi_write_request | SPI_WRITE |
typedef struct h3600_ts_version | VER_RET |
typedef struct h3600_ts_led | LED_IN |
typedef struct h3600_ts_flite | FLITE_IN |
Enumerations |
enum | h3600_ts_minor_devices { TS_MINOR = 0,
TSRAW_MINOR = 1,
KEY_MINOR = 2
} |
enum | power_button_mode { PBM_SUSPEND = 0,
PBM_GENERATE_KEYPRESS = 1
} |
enum | flite_mode { FLITE_MODE1 = 1,
FLITE_AUTO_MODE = 1,
FLITE_MANUAL_MODE = 2,
FLITE_GET_LIGHT_SENSOR = 3
} |
enum | flite_pwr { FLITE_PWR_OFF = 0,
FLITE_PWR_ON = 1
} |