Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c392 void lis3lv02d_poweroff(struct lis3lv02d *lis3) in lis3lv02d_poweroff()
403 int lis3lv02d_poweron(struct lis3lv02d *lis3) in lis3lv02d_poweron()
488 struct lis3lv02d *lis3 = data; in lis302dl_interrupt() local
545 struct lis3lv02d *lis3 = data; in lis302dl_interrupt_thread1_8b() local
560 struct lis3lv02d *lis3 = data; in lis302dl_interrupt_thread2_8b() local
785 struct lis3lv02d *lis3 = dev_get_drvdata(dev); in lis3lv02d_selftest_show() local
813 struct lis3lv02d *lis3 = dev_get_drvdata(dev); in lis3lv02d_position_show() local
826 struct lis3lv02d *lis3 = dev_get_drvdata(dev); in lis3lv02d_rate_show() local
839 struct lis3lv02d *lis3 = dev_get_drvdata(dev); in lis3lv02d_rate_set() local
954 int lis3lv02d_init_dt(struct lis3lv02d *lis3) in lis3lv02d_init_dt()
[all …]
H A Dlis3lv02d_i2c.c31 static int lis3_reg_ctrl(struct lis3lv02d *lis3, bool state) in lis3_reg_ctrl()
46 static inline s32 lis3_i2c_write(struct lis3lv02d *lis3, int reg, u8 value) in lis3_i2c_write()
52 static inline s32 lis3_i2c_read(struct lis3lv02d *lis3, int reg, u8 *v) in lis3_i2c_read()
59 static inline s32 lis3_i2c_blockread(struct lis3lv02d *lis3, int reg, int len, in lis3_i2c_blockread()
67 static int lis3_i2c_init(struct lis3lv02d *lis3) in lis3_i2c_init()
182 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_remove() local
199 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_suspend() local
215 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_resume() local
233 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_suspend() local
242 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_resume() local
H A Dlis3lv02d_spi.c25 static int lis3_spi_read(struct lis3lv02d *lis3, int reg, u8 *v) in lis3_spi_read()
36 static int lis3_spi_write(struct lis3lv02d *lis3, int reg, u8 val) in lis3_spi_write()
43 static int lis3_spi_init(struct lis3lv02d *lis3) in lis3_spi_init()
101 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis302dl_spi_remove() local
112 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_suspend() local
123 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_resume() local
/openbmc/linux/drivers/platform/x86/hp/
H A Dhp_accel.c84 static int lis3lv02d_acpi_init(struct lis3lv02d *lis3) in lis3lv02d_acpi_init()
97 static int lis3lv02d_acpi_read(struct lis3lv02d *lis3, int reg, u8 *ret) in lis3lv02d_acpi_read()
122 static int lis3lv02d_acpi_write(struct lis3lv02d *lis3, int reg, u8 val) in lis3lv02d_acpi_write()