1 #ifndef __LINUX_HDQ_H__
2 #define __LINUX_HDQ_H__
4 #include <linux/device.h>
6 #define HDQ_SAMPLE_PERIOD_US 10
10 struct hdq_platform_data
{
12 * give an opportunity to use us as parent for
13 * devices that depend on us
15 void (*attach_child_devices
)(struct device
*parent_device
);
17 void (*gpio_dir_out
)(void);
18 void (*gpio_dir_in
)(void);
19 void (*gpio_set
)(int);
20 int (*gpio_get
)(void);
22 int (*enable_fiq
)(void);
23 void (*disable_fiq
)(void);
24 void (*kick_fiq
)(void);
28 int hdq_read(int address
);
29 int hdq_write(int address
, u8 data
);
30 int hdq_initialized(void);
This page took 0.049987 seconds and 5 git commands to generate.