Searched defs:lis3 (Results 1 – 4 of 4) sorted by relevance
/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 129 static s16 lis3lv02d_read_8(struct lis3lv02d *lis3, int reg) in lis3lv02d_read_8() 138 static s16 lis3lv02d_read_12(struct lis3lv02d *lis3, int reg) in lis3lv02d_read_12() 149 static s16 lis331dlh_read_data(struct lis3lv02d *lis3, int reg) in lis331dlh_read_data() 185 static void lis3lv02d_get_xyz(struct lis3lv02d *lis3, int *x, int *y, int *z) in lis3lv02d_get_xyz() 224 static int lis3lv02d_get_odr(struct lis3lv02d *lis3) in lis3lv02d_get_odr() 235 static int lis3lv02d_get_pwron_wait(struct lis3lv02d *lis3) in lis3lv02d_get_pwron_wait() 247 static int lis3lv02d_set_odr(struct lis3lv02d *lis3, int rate) in lis3lv02d_set_odr() 269 static int lis3lv02d_selftest(struct lis3lv02d *lis3, s16 results[3]) in lis3lv02d_selftest() 381 static inline void lis3_context_save(struct lis3lv02d *lis3) in lis3_context_save() 389 static inline void lis3_context_restore(struct lis3lv02d *lis3) in lis3_context_restore() [all …]
|
D | lis3lv02d_i2c.c | 45 static int lis3_reg_ctrl(struct lis3lv02d *lis3, bool state) in lis3_reg_ctrl() 60 static inline s32 lis3_i2c_write(struct lis3lv02d *lis3, int reg, u8 value) in lis3_i2c_write() 66 static inline s32 lis3_i2c_read(struct lis3lv02d *lis3, int reg, u8 *v) in lis3_i2c_read() 73 static inline s32 lis3_i2c_blockread(struct lis3lv02d *lis3, int reg, int len, in lis3_i2c_blockread() 81 static int lis3_i2c_init(struct lis3lv02d *lis3) in lis3_i2c_init() 196 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_remove() local 214 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_suspend() local 224 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_resume() local 243 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_suspend() local 252 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_resume() local
|
D | lis3lv02d_spi.c | 29 static int lis3_spi_read(struct lis3lv02d *lis3, int reg, u8 *v) in lis3_spi_read() 40 static int lis3_spi_write(struct lis3lv02d *lis3, int reg, u8 val) in lis3_spi_write() 47 static int lis3_spi_init(struct lis3lv02d *lis3) in lis3_spi_init() 105 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis302dl_spi_remove() local 116 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_suspend() local 127 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_resume() local
|
/drivers/platform/x86/ |
D | hp_accel.c | 91 int lis3lv02d_acpi_init(struct lis3lv02d *lis3) in lis3lv02d_acpi_init() 109 int lis3lv02d_acpi_read(struct lis3lv02d *lis3, int reg, u8 *ret) in lis3lv02d_acpi_read() 132 int lis3lv02d_acpi_write(struct lis3lv02d *lis3, int reg, u8 val) in lis3lv02d_acpi_write()
|