Home
last modified time | relevance | path

Searched refs:lis3lv02d (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/drivers/misc/lis3lv02d/
Dlis3lv02d.h273 struct lis3lv02d { struct
276 int (*init) (struct lis3lv02d *lis3); argument
277 int (*write) (struct lis3lv02d *lis3, int reg, u8 val); argument
278 int (*read) (struct lis3lv02d *lis3, int reg, u8 *ret); argument
279 int (*blkread) (struct lis3lv02d *lis3, int reg, int len, u8 *ret); argument
280 int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); argument
290 s16 (*read_data) (struct lis3lv02d *lis3, int reg); argument
324 int lis3lv02d_init_device(struct lis3lv02d *lis3); argument
325 int lis3lv02d_joystick_enable(struct lis3lv02d *lis3);
326 void lis3lv02d_joystick_disable(struct lis3lv02d *lis3);
[all …]
Dlis3lv02d.c98 struct lis3lv02d lis3_dev = {
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_index(struct lis3lv02d *lis3) in lis3lv02d_get_odr_index()
235 static int lis3lv02d_get_pwron_wait(struct lis3lv02d *lis3) in lis3lv02d_get_pwron_wait()
255 static int lis3lv02d_set_odr(struct lis3lv02d *lis3, int rate) in lis3lv02d_set_odr()
277 static int lis3lv02d_selftest(struct lis3lv02d *lis3, s16 results[3]) in lis3lv02d_selftest()
389 static inline void lis3_context_save(struct lis3lv02d *lis3) in lis3_context_save()
[all …]
Dlis3lv02d_i2c.c44 static int lis3_reg_ctrl(struct lis3lv02d *lis3, bool state) in lis3_reg_ctrl()
59 static inline s32 lis3_i2c_write(struct lis3lv02d *lis3, int reg, u8 value) in lis3_i2c_write()
65 static inline s32 lis3_i2c_read(struct lis3lv02d *lis3, int reg, u8 *v) in lis3_i2c_read()
72 static inline s32 lis3_i2c_blockread(struct lis3lv02d *lis3, int reg, int len, in lis3_i2c_blockread()
80 static int lis3_i2c_init(struct lis3lv02d *lis3) in lis3_i2c_init()
195 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_remove()
213 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_suspend()
223 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_resume()
242 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_suspend()
251 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_resume()
Dlis3lv02d_spi.c28 static int lis3_spi_read(struct lis3lv02d *lis3, int reg, u8 *v) in lis3_spi_read()
39 static int lis3_spi_write(struct lis3lv02d *lis3, int reg, u8 val) in lis3_spi_write()
46 static int lis3_spi_init(struct lis3lv02d *lis3) in lis3_spi_init()
104 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis302dl_spi_remove()
115 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_suspend()
126 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_resume()
DKconfig13 /sys/devices/platform/lis3lv02d.
19 will be called lis3lv02d and a specific module for the SPI transport
30 /sys/devices/platform/lis3lv02d.
36 will be called lis3lv02d and a specific module for the I2C transport
DMakefile5 obj-$(CONFIG_SENSORS_LIS3LV02D) += lis3lv02d.o
/linux-4.19.296/drivers/misc/
DMakefile43 obj-y += lis3lv02d/
DKconfig520 source "drivers/misc/lis3lv02d/Kconfig"
/linux-4.19.296/
DMAINTAINERS8530 F: Documentation/misc-devices/lis3lv02d
8531 F: drivers/misc/lis3lv02d/