Home
last modified time | relevance | path

Searched refs:MIR_HANDLE (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/
H A Dda223_core.h48 typedef void* MIR_HANDLE; typedef
231 int mir3da_register_read(MIR_HANDLE handle, short reg, unsigned char *data);
232 int mir3da_register_write(MIR_HANDLE handle, short reg, unsigned char data);
233 int mir3da_register_read_continuously(MIR_HANDLE handle, short base_reg, unsigned char count, unsig…
234 int mir3da_register_mask_write(MIR_HANDLE handle, short addr, unsigned char mask, unsigned char dat…
238 MIR_HANDLE mir3da_core_init(PLAT_HANDLE handle);
241 int mir3da_read_data(MIR_HANDLE handle, short *x, short *y, short *z);
263 int mir3da_calibrate(MIR_HANDLE handle, int z_dir);
275 int mir3da_interrupt_ops(MIR_HANDLE handle, mir_int_ops_t *ops);
277 int mir3da_read_offset(MIR_HANDLE handle, unsigned char* offst);
[all …]
H A Dda223_core.c68 int (*calibrate)(MIR_HANDLE handle, int z_dir);
69 int (*auto_calibrate)(MIR_HANDLE handle, int xyz[3]);
70 int (*int_ops)(MIR_HANDLE handle, mir_int_ops_t *ops);
71 int (*get_reg_data)(MIR_HANDLE handle, char *buf);
168 static int NSA_NTO_calibrate(MIR_HANDLE handle, int z_dir);
169 static int NSA_NTO_auto_calibrate(MIR_HANDLE handle, int xyz[3]);
171 static int mir3da_auto_calibrate(MIR_HANDLE handle, int x, int y, int z);
173 static int NSA_interrupt_ops(MIR_HANDLE handle, mir_int_ops_t *ops);
174 static int NSA_get_reg_data(MIR_HANDLE handle, char *buf);
249 static void manual_load_cali_file(MIR_HANDLE handle);
[all …]
H A Dda223_cust.c49 static MIR_HANDLE mir_handle;
371 MIR_HANDLE handle = mir_handle;
432 MIR_HANDLE handle = mir_handle;
462 MIR_HANDLE handle = mir_handle;