Home
last modified time | relevance | path

Searched defs:lis3 (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/misc/lis3lv02d/
Dlis3lv02d_i2c.c41 static int lis3_reg_ctrl(struct lis3lv02d *lis3, bool state) in lis3_reg_ctrl()
56 static inline s32 lis3_i2c_write(struct lis3lv02d *lis3, int reg, u8 value) in lis3_i2c_write()
62 static inline s32 lis3_i2c_read(struct lis3lv02d *lis3, int reg, u8 *v) in lis3_i2c_read()
69 static inline s32 lis3_i2c_blockread(struct lis3lv02d *lis3, int reg, int len, in lis3_i2c_blockread()
77 static int lis3_i2c_init(struct lis3lv02d *lis3) in lis3_i2c_init()
174 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_remove() local
193 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_suspend() local
203 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_resume() local
222 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_suspend() local
231 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_resume() local
Dlis3lv02d_spi.c26 static int lis3_spi_read(struct lis3lv02d *lis3, int reg, u8 *v) in lis3_spi_read()
37 static int lis3_spi_write(struct lis3lv02d *lis3, int reg, u8 val) in lis3_spi_write()
44 static int lis3_spi_init(struct lis3lv02d *lis3) in lis3_spi_init()
85 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis302dl_spi_remove() local
96 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_suspend() local
107 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_resume() local
Dlis3lv02d.c117 static s16 lis3lv02d_read_8(struct lis3lv02d *lis3, int reg) in lis3lv02d_read_8()
126 static s16 lis3lv02d_read_12(struct lis3lv02d *lis3, int reg) in lis3lv02d_read_12()
160 static void lis3lv02d_get_xyz(struct lis3lv02d *lis3, int *x, int *y, int *z) in lis3lv02d_get_xyz()
231 static int lis3lv02d_selftest(struct lis3lv02d *lis3, s16 results[3]) in lis3lv02d_selftest()
339 static inline void lis3_context_save(struct lis3lv02d *lis3) in lis3_context_save()
347 static inline void lis3_context_restore(struct lis3lv02d *lis3) in lis3_context_restore()
355 void lis3lv02d_poweroff(struct lis3lv02d *lis3) in lis3lv02d_poweroff()
366 void lis3lv02d_poweron(struct lis3lv02d *lis3) in lis3lv02d_poweron()
448 static void lis302dl_interrupt_handle_click(struct lis3lv02d *lis3) in lis302dl_interrupt_handle_click()
474 static inline void lis302dl_data_ready(struct lis3lv02d *lis3, int index) in lis302dl_data_ready()
[all …]
/linux-2.6.39/drivers/platform/x86/
Dhp_accel.c90 int lis3lv02d_acpi_init(struct lis3lv02d *lis3) in lis3lv02d_acpi_init()
108 int lis3lv02d_acpi_read(struct lis3lv02d *lis3, int reg, u8 *ret) in lis3lv02d_acpi_read()
131 int lis3lv02d_acpi_write(struct lis3lv02d *lis3, int reg, u8 val) in lis3lv02d_acpi_write()