Lines Matching refs:lis3lv02d
85 struct lis3lv02d lis3_dev = {
116 static s16 lis3lv02d_read_8(struct lis3lv02d *lis3, int reg) in lis3lv02d_read_8()
125 static s16 lis3lv02d_read_12(struct lis3lv02d *lis3, int reg) in lis3lv02d_read_12()
136 static s16 lis331dlh_read_data(struct lis3lv02d *lis3, int reg) in lis331dlh_read_data()
172 static void lis3lv02d_get_xyz(struct lis3lv02d *lis3, int *x, int *y, int *z) in lis3lv02d_get_xyz()
211 static int lis3lv02d_get_odr_index(struct lis3lv02d *lis3) in lis3lv02d_get_odr_index()
222 static int lis3lv02d_get_pwron_wait(struct lis3lv02d *lis3) in lis3lv02d_get_pwron_wait()
242 static int lis3lv02d_set_odr(struct lis3lv02d *lis3, int rate) in lis3lv02d_set_odr()
264 static int lis3lv02d_selftest(struct lis3lv02d *lis3, s16 results[3]) in lis3lv02d_selftest()
376 static inline void lis3_context_save(struct lis3lv02d *lis3) in lis3_context_save()
384 static inline void lis3_context_restore(struct lis3lv02d *lis3) in lis3_context_restore()
392 void lis3lv02d_poweroff(struct lis3lv02d *lis3) in lis3lv02d_poweroff()
403 int lis3lv02d_poweron(struct lis3lv02d *lis3) in lis3lv02d_poweron()
447 struct lis3lv02d *lis3 = input_get_drvdata(input); in lis3lv02d_joystick_poll()
461 struct lis3lv02d *lis3 = input_get_drvdata(input); in lis3lv02d_joystick_open()
479 struct lis3lv02d *lis3 = input_get_drvdata(input); in lis3lv02d_joystick_close()
488 struct lis3lv02d *lis3 = data; in lis302dl_interrupt()
508 static void lis302dl_interrupt_handle_click(struct lis3lv02d *lis3) in lis302dl_interrupt_handle_click()
534 static inline void lis302dl_data_ready(struct lis3lv02d *lis3, int index) in lis302dl_data_ready()
545 struct lis3lv02d *lis3 = data; in lis302dl_interrupt_thread1_8b()
560 struct lis3lv02d *lis3 = data; in lis302dl_interrupt_thread2_8b()
575 struct lis3lv02d *lis3 = container_of(file->private_data, in lis3lv02d_misc_open()
576 struct lis3lv02d, miscdev); in lis3lv02d_misc_open()
590 struct lis3lv02d *lis3 = container_of(file->private_data, in lis3lv02d_misc_release()
591 struct lis3lv02d, miscdev); in lis3lv02d_misc_release()
602 struct lis3lv02d *lis3 = container_of(file->private_data, in lis3lv02d_misc_read()
603 struct lis3lv02d, miscdev); in lis3lv02d_misc_read()
653 struct lis3lv02d *lis3 = container_of(file->private_data, in lis3lv02d_misc_poll()
654 struct lis3lv02d, miscdev); in lis3lv02d_misc_poll()
664 struct lis3lv02d *lis3 = container_of(file->private_data, in lis3lv02d_misc_fasync()
665 struct lis3lv02d, miscdev); in lis3lv02d_misc_fasync()
680 int lis3lv02d_joystick_enable(struct lis3lv02d *lis3) in lis3lv02d_joystick_enable()
747 void lis3lv02d_joystick_disable(struct lis3lv02d *lis3) in lis3lv02d_joystick_disable()
765 static void lis3lv02d_sysfs_poweron(struct lis3lv02d *lis3) in lis3lv02d_sysfs_poweron()
785 struct lis3lv02d *lis3 = dev_get_drvdata(dev); in lis3lv02d_selftest_show()
813 struct lis3lv02d *lis3 = dev_get_drvdata(dev); in lis3lv02d_position_show()
826 struct lis3lv02d *lis3 = dev_get_drvdata(dev); in lis3lv02d_rate_show()
839 struct lis3lv02d *lis3 = dev_get_drvdata(dev); in lis3lv02d_rate_set()
871 static int lis3lv02d_add_fs(struct lis3lv02d *lis3) in lis3lv02d_add_fs()
881 void lis3lv02d_remove_fs(struct lis3lv02d *lis3) in lis3lv02d_remove_fs()
900 static void lis3lv02d_8b_configure(struct lis3lv02d *lis3, in lis3lv02d_8b_configure()
954 int lis3lv02d_init_dt(struct lis3lv02d *lis3) in lis3lv02d_init_dt()
1112 int lis3lv02d_init_dt(struct lis3lv02d *lis3) in lis3lv02d_init_dt()
1123 int lis3lv02d_init_device(struct lis3lv02d *lis3) in lis3lv02d_init_device()