/linux-5.19.10/drivers/misc/lis3lv02d/ |
D | lis3lv02d.h | 260 struct lis3lv02d { struct 263 int (*init) (struct lis3lv02d *lis3); argument 264 int (*write) (struct lis3lv02d *lis3, int reg, u8 val); argument 265 int (*read) (struct lis3lv02d *lis3, int reg, u8 *ret); argument 266 int (*blkread) (struct lis3lv02d *lis3, int reg, int len, u8 *ret); argument 267 int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); argument 276 s16 (*read_data) (struct lis3lv02d *lis3, int reg); argument 310 int lis3lv02d_init_device(struct lis3lv02d *lis3); argument 311 int lis3lv02d_joystick_enable(struct lis3lv02d *lis3); 312 void lis3lv02d_joystick_disable(struct lis3lv02d *lis3); [all …]
|
D | lis3lv02d.c | 85 struct lis3lv02d lis3_dev = { 116 static s16 lis3lv02d_read_8(struct lis3lv02d *lis3, int reg) in lis3lv02d_read_8() 125 static s16 lis3lv02d_read_12(struct lis3lv02d *lis3, int reg) in lis3lv02d_read_12() 136 static s16 lis331dlh_read_data(struct lis3lv02d *lis3, int reg) in lis331dlh_read_data() 172 static void lis3lv02d_get_xyz(struct lis3lv02d *lis3, int *x, int *y, int *z) in lis3lv02d_get_xyz() 211 static int lis3lv02d_get_odr_index(struct lis3lv02d *lis3) in lis3lv02d_get_odr_index() 222 static int lis3lv02d_get_pwron_wait(struct lis3lv02d *lis3) in lis3lv02d_get_pwron_wait() 242 static int lis3lv02d_set_odr(struct lis3lv02d *lis3, int rate) in lis3lv02d_set_odr() 264 static int lis3lv02d_selftest(struct lis3lv02d *lis3, s16 results[3]) in lis3lv02d_selftest() 376 static inline void lis3_context_save(struct lis3lv02d *lis3) in lis3_context_save() [all …]
|
D | lis3lv02d_i2c.c | 31 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() 200 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_suspend() 210 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_resume() 229 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_suspend() 238 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_resume()
|
D | lis3lv02d_spi.c | 25 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() 112 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_suspend() 123 struct lis3lv02d *lis3 = spi_get_drvdata(spi); in lis3lv02d_spi_resume()
|
D | Kconfig | 13 /sys/devices/platform/lis3lv02d. 19 will be called lis3lv02d and a specific module for the SPI transport 29 /sys/devices/platform/lis3lv02d. 35 will be called lis3lv02d and a specific module for the I2C transport
|
D | Makefile | 6 obj-$(CONFIG_SENSORS_LIS3LV02D) += lis3lv02d.o
|
/linux-5.19.10/Documentation/misc-devices/ |
D | lis3lv02d.rst | 2 Kernel driver lis3lv02d 25 /sys/devices/platform/lis3lv02d. Reported values are scaled 28 Sysfs attributes under /sys/devices/platform/lis3lv02d/: 88 /sys/devices/platform/lis3lv02d/position in these four cases.
|
D | index.rst | 26 lis3lv02d
|
/linux-5.19.10/drivers/platform/x86/ |
D | hp_accel.c | 84 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()
|
D | Kconfig | 465 Documentation/misc-devices/lis3lv02d.rst.
|
/linux-5.19.10/Documentation/devicetree/bindings/iio/accel/ |
D | lis302.txt | 8 - compatible: should be set to "st,lis3lv02d-spi" 15 - compatible: should be set to "st,lis3lv02d" 93 compatible = "st,lis331dlh", "st,lis3lv02d";
|
/linux-5.19.10/arch/arm/boot/dts/ |
D | omap3-gta04a3.dts | 16 compatible = "st,lis331dlh", "st,lis3lv02d";
|
D | omap3-overo-common-peripherals.dtsi | 55 compatible = "st,lis33de", "st,lis3lv02d";
|
D | mmp2-olpc-xo-1-75.dts | 219 compatible = "st,lis331dlh", "st,lis3lv02d";
|
D | omap3-n950-n9.dtsi | 281 compatible = "st,lis3lv02d";
|
D | omap3-n900.dts | 770 lis302dl: lis3lv02d@1d { 771 compatible = "st,lis3lv02d";
|
D | am335x-pepper.dts | 78 compatible = "st,lis3lv02d";
|
D | am335x-evmsk.dts | 465 compatible = "st,lis331dlh", "st,lis3lv02d";
|
D | am335x-evm.dts | 428 compatible = "st,lis331dlh", "st,lis3lv02d";
|
/linux-5.19.10/drivers/misc/ |
D | Makefile | 41 obj-y += lis3lv02d/
|
D | Kconfig | 490 source "drivers/misc/lis3lv02d/Kconfig"
|
/linux-5.19.10/Documentation/devicetree/bindings/iio/ |
D | st,st-sensors.yaml | 88 - st,lis3lv02d
|
/linux-5.19.10/ |
D | MAINTAINERS | 11546 F: Documentation/misc-devices/lis3lv02d.rst 11547 F: drivers/misc/lis3lv02d/
|