Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/misc/lis3lv02d/
Dlis3lv02d.h241 struct lis3lv02d { struct
244 int (*init) (struct lis3lv02d *lis3); argument
245 int (*write) (struct lis3lv02d *lis3, int reg, u8 val); argument
246 int (*read) (struct lis3lv02d *lis3, int reg, u8 *ret); argument
247 int (*blkread) (struct lis3lv02d *lis3, int reg, int len, u8 *ret); argument
248 int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); argument
257 s16 (*read_data) (struct lis3lv02d *lis3, int reg); argument
284 int lis3lv02d_init_device(struct lis3lv02d *lis3); argument
287 void lis3lv02d_poweroff(struct lis3lv02d *lis3);
288 void lis3lv02d_poweron(struct lis3lv02d *lis3);
[all …]
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()
193 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_suspend()
203 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_resume()
222 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_suspend()
231 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_resume()
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()
96 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_suspend()
107 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
Dlis3lv02d.c88 struct lis3lv02d lis3_dev = {
117 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()
[all …]
DMakefile5 obj-$(CONFIG_SENSORS_LIS3LV02D) += lis3lv02d.o
/linux-2.6.39/Documentation/misc-devices/
Dlis3lv02d1 Kernel driver lis3lv02d
23 /sys/devices/platform/lis3lv02d. Reported values are scaled
26 Sysfs attributes under /sys/devices/platform/lis3lv02d/:
81 /sys/devices/platform/lis3lv02d/position in these four cases.
/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()
DKconfig167 Documentation/hwmon/lis3lv02d.
/linux-2.6.39/drivers/misc/
DMakefile46 obj-y += lis3lv02d/
DKconfig483 source "drivers/misc/lis3lv02d/Kconfig"
/linux-2.6.39/
DMAINTAINERS3907 F: Documentation/misc-devices/lis3lv02d
3908 F: drivers/misc/lis3lv02d/