lis3lv02d 85 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d lis3_dev = { lis3lv02d 116 drivers/misc/lis3lv02d/lis3lv02d.c static s16 lis3lv02d_read_8(struct lis3lv02d *lis3, int reg) lis3lv02d 125 drivers/misc/lis3lv02d/lis3lv02d.c static s16 lis3lv02d_read_12(struct lis3lv02d *lis3, int reg) lis3lv02d 136 drivers/misc/lis3lv02d/lis3lv02d.c static s16 lis331dlh_read_data(struct lis3lv02d *lis3, int reg) lis3lv02d 172 drivers/misc/lis3lv02d/lis3lv02d.c static void lis3lv02d_get_xyz(struct lis3lv02d *lis3, int *x, int *y, int *z) lis3lv02d 211 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_get_odr(struct lis3lv02d *lis3) lis3lv02d 222 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_get_pwron_wait(struct lis3lv02d *lis3) lis3lv02d 234 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_set_odr(struct lis3lv02d *lis3, int rate) lis3lv02d 256 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_selftest(struct lis3lv02d *lis3, s16 results[3]) lis3lv02d 368 drivers/misc/lis3lv02d/lis3lv02d.c static inline void lis3_context_save(struct lis3lv02d *lis3) lis3lv02d 376 drivers/misc/lis3lv02d/lis3lv02d.c static inline void lis3_context_restore(struct lis3lv02d *lis3) lis3lv02d 384 drivers/misc/lis3lv02d/lis3lv02d.c void lis3lv02d_poweroff(struct lis3lv02d *lis3) lis3lv02d 395 drivers/misc/lis3lv02d/lis3lv02d.c int lis3lv02d_poweron(struct lis3lv02d *lis3) lis3lv02d 439 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = pidev->private; lis3lv02d 453 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = pidev->private; lis3lv02d 469 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = pidev->private; lis3lv02d 478 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = data; lis3lv02d 498 drivers/misc/lis3lv02d/lis3lv02d.c static void lis302dl_interrupt_handle_click(struct lis3lv02d *lis3) lis3lv02d 524 drivers/misc/lis3lv02d/lis3lv02d.c static inline void lis302dl_data_ready(struct lis3lv02d *lis3, int index) lis3lv02d 535 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = data; lis3lv02d 550 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = data; lis3lv02d 565 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = container_of(file->private_data, lis3lv02d 566 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); lis3lv02d 580 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = container_of(file->private_data, lis3lv02d 581 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); lis3lv02d 592 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = container_of(file->private_data, lis3lv02d 593 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); lis3lv02d 643 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = container_of(file->private_data, lis3lv02d 644 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); lis3lv02d 654 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = container_of(file->private_data, lis3lv02d 655 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); lis3lv02d 670 drivers/misc/lis3lv02d/lis3lv02d.c int lis3lv02d_joystick_enable(struct lis3lv02d *lis3) lis3lv02d 729 drivers/misc/lis3lv02d/lis3lv02d.c void lis3lv02d_joystick_disable(struct lis3lv02d *lis3) lis3lv02d 748 drivers/misc/lis3lv02d/lis3lv02d.c static void lis3lv02d_sysfs_poweron(struct lis3lv02d *lis3) lis3lv02d 768 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = dev_get_drvdata(dev); lis3lv02d 796 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = dev_get_drvdata(dev); lis3lv02d 809 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = dev_get_drvdata(dev); lis3lv02d 819 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d *lis3 = dev_get_drvdata(dev); lis3lv02d 851 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_add_fs(struct lis3lv02d *lis3) lis3lv02d 861 drivers/misc/lis3lv02d/lis3lv02d.c int lis3lv02d_remove_fs(struct lis3lv02d *lis3) lis3lv02d 881 drivers/misc/lis3lv02d/lis3lv02d.c static void lis3lv02d_8b_configure(struct lis3lv02d *lis3, lis3lv02d 936 drivers/misc/lis3lv02d/lis3lv02d.c int lis3lv02d_init_dt(struct lis3lv02d *lis3) lis3lv02d 1094 drivers/misc/lis3lv02d/lis3lv02d.c int lis3lv02d_init_dt(struct lis3lv02d *lis3) lis3lv02d 1105 drivers/misc/lis3lv02d/lis3lv02d.c int lis3lv02d_init_device(struct lis3lv02d *lis3) lis3lv02d 263 drivers/misc/lis3lv02d/lis3lv02d.h int (*init) (struct lis3lv02d *lis3); lis3lv02d 264 drivers/misc/lis3lv02d/lis3lv02d.h int (*write) (struct lis3lv02d *lis3, int reg, u8 val); lis3lv02d 265 drivers/misc/lis3lv02d/lis3lv02d.h int (*read) (struct lis3lv02d *lis3, int reg, u8 *ret); lis3lv02d 266 drivers/misc/lis3lv02d/lis3lv02d.h int (*blkread) (struct lis3lv02d *lis3, int reg, int len, u8 *ret); lis3lv02d 267 drivers/misc/lis3lv02d/lis3lv02d.h int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); lis3lv02d 276 drivers/misc/lis3lv02d/lis3lv02d.h s16 (*read_data) (struct lis3lv02d *lis3, int reg); lis3lv02d 310 drivers/misc/lis3lv02d/lis3lv02d.h int lis3lv02d_init_device(struct lis3lv02d *lis3); lis3lv02d 311 drivers/misc/lis3lv02d/lis3lv02d.h int lis3lv02d_joystick_enable(struct lis3lv02d *lis3); lis3lv02d 312 drivers/misc/lis3lv02d/lis3lv02d.h void lis3lv02d_joystick_disable(struct lis3lv02d *lis3); lis3lv02d 313 drivers/misc/lis3lv02d/lis3lv02d.h void lis3lv02d_poweroff(struct lis3lv02d *lis3); lis3lv02d 314 drivers/misc/lis3lv02d/lis3lv02d.h int lis3lv02d_poweron(struct lis3lv02d *lis3); lis3lv02d 315 drivers/misc/lis3lv02d/lis3lv02d.h int lis3lv02d_remove_fs(struct lis3lv02d *lis3); lis3lv02d 316 drivers/misc/lis3lv02d/lis3lv02d.h int lis3lv02d_init_dt(struct lis3lv02d *lis3); lis3lv02d 318 drivers/misc/lis3lv02d/lis3lv02d.h extern struct lis3lv02d lis3_dev; lis3lv02d 31 drivers/misc/lis3lv02d/lis3lv02d_i2c.c static int lis3_reg_ctrl(struct lis3lv02d *lis3, bool state) lis3lv02d 46 drivers/misc/lis3lv02d/lis3lv02d_i2c.c static inline s32 lis3_i2c_write(struct lis3lv02d *lis3, int reg, u8 value) lis3lv02d 52 drivers/misc/lis3lv02d/lis3lv02d_i2c.c static inline s32 lis3_i2c_read(struct lis3lv02d *lis3, int reg, u8 *v) lis3lv02d 59 drivers/misc/lis3lv02d/lis3lv02d_i2c.c static inline s32 lis3_i2c_blockread(struct lis3lv02d *lis3, int reg, int len, lis3lv02d 67 drivers/misc/lis3lv02d/lis3lv02d_i2c.c static int lis3_i2c_init(struct lis3lv02d *lis3) lis3lv02d 182 drivers/misc/lis3lv02d/lis3lv02d_i2c.c struct lis3lv02d *lis3 = i2c_get_clientdata(client); lis3lv02d 200 drivers/misc/lis3lv02d/lis3lv02d_i2c.c struct lis3lv02d *lis3 = i2c_get_clientdata(client); lis3lv02d 210 drivers/misc/lis3lv02d/lis3lv02d_i2c.c struct lis3lv02d *lis3 = i2c_get_clientdata(client); lis3lv02d 229 drivers/misc/lis3lv02d/lis3lv02d_i2c.c struct lis3lv02d *lis3 = i2c_get_clientdata(client); lis3lv02d 238 drivers/misc/lis3lv02d/lis3lv02d_i2c.c struct lis3lv02d *lis3 = i2c_get_clientdata(client); lis3lv02d 25 drivers/misc/lis3lv02d/lis3lv02d_spi.c static int lis3_spi_read(struct lis3lv02d *lis3, int reg, u8 *v) lis3lv02d 36 drivers/misc/lis3lv02d/lis3lv02d_spi.c static int lis3_spi_write(struct lis3lv02d *lis3, int reg, u8 val) lis3lv02d 43 drivers/misc/lis3lv02d/lis3lv02d_spi.c static int lis3_spi_init(struct lis3lv02d *lis3) lis3lv02d 101 drivers/misc/lis3lv02d/lis3lv02d_spi.c struct lis3lv02d *lis3 = spi_get_drvdata(spi); lis3lv02d 112 drivers/misc/lis3lv02d/lis3lv02d_spi.c struct lis3lv02d *lis3 = spi_get_drvdata(spi); lis3lv02d 123 drivers/misc/lis3lv02d/lis3lv02d_spi.c struct lis3lv02d *lis3 = spi_get_drvdata(spi); lis3lv02d 88 drivers/platform/x86/hp_accel.c static int lis3lv02d_acpi_init(struct lis3lv02d *lis3) lis3lv02d 106 drivers/platform/x86/hp_accel.c static int lis3lv02d_acpi_read(struct lis3lv02d *lis3, int reg, u8 *ret) lis3lv02d 131 drivers/platform/x86/hp_accel.c static int lis3lv02d_acpi_write(struct lis3lv02d *lis3, int reg, u8 val)