blob: a3436f1b759dcc6dd812f3d1e9570a9219fc6635 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef _HALL_H
#define _HALL_H
struct hall_platform_data {
unsigned int rep:1; /* enable input subsystem auto repeat */
int gpio_flip_cover;
int gpio_certify_cover;
};
extern struct device *sec_key;
#ifdef CONFIG_SENSORS_HALL_IRQ_CTRL
extern void hall_irq_set(int state, bool auth_changed);
enum state {
disable = 0,
enable
};
#endif
#ifdef CONFIG_CERTIFY_HALL_NFC_WA
extern int felica_ant_tuning(int parameter);
#endif
#if defined(CONFIG_SENSORS_HALL_FOLDER) || defined(CONFIG_V_HALL_FOLDING)
void hall_ic_register_notify(struct notifier_block *nb);
#if !defined(CONFIG_SENSORS_HALL_FOLDER)
void hall_ic_unregister_notify(struct notifier_block *nb);
#endif
#endif
#endif /* _HALL_H */
|