Home
last modified time | relevance | path

Searched refs:lis3_dev (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d_i2c.c114 pdata = lis3_dev.pdata; in lis3lv02d_i2c_probe()
144 lis3_dev.regulators); in lis3lv02d_i2c_probe()
148 lis3_dev.pdata = pdata; in lis3lv02d_i2c_probe()
149 lis3_dev.bus_priv = client; in lis3lv02d_i2c_probe()
150 lis3_dev.init = lis3_i2c_init; in lis3lv02d_i2c_probe()
151 lis3_dev.read = lis3_i2c_read; in lis3lv02d_i2c_probe()
154 lis3_dev.irq = client->irq; in lis3lv02d_i2c_probe()
156 lis3_dev.pm_dev = &client->dev; in lis3lv02d_i2c_probe()
173 lis3_dev.regulators); in lis3lv02d_i2c_probe()
189 lis3lv02d_remove_fs(&lis3_dev); in lis3lv02d_i2c_remove()
[all …]
H A Dlis3lv02d_spi.c78 lis3_dev.bus_priv = spi; in lis302dl_spi_probe()
79 lis3_dev.init = lis3_spi_init; in lis302dl_spi_probe()
80 lis3_dev.read = lis3_spi_read; in lis302dl_spi_probe()
81 lis3_dev.write = lis3_spi_write; in lis302dl_spi_probe()
82 lis3_dev.irq = spi->irq; in lis302dl_spi_probe()
83 lis3_dev.ac = lis3lv02d_axis_normal; in lis302dl_spi_probe()
88 lis3_dev.of_node = spi->dev.of_node; in lis302dl_spi_probe()
89 ret = lis3lv02d_init_dt(&lis3_dev); in lis302dl_spi_probe()
94 spi_set_drvdata(spi, &lis3_dev); in lis302dl_spi_probe()
105 lis3lv02d_remove_fs(&lis3_dev); in lis302dl_spi_remove()
[all …]
H A Dlis3lv02d.h318 extern struct lis3lv02d lis3_dev;
H A Dlis3lv02d.c85 struct lis3lv02d lis3_dev = { variable
86 .misc_wait = __WAIT_QUEUE_HEAD_INITIALIZER(lis3_dev.misc_wait),
88 EXPORT_SYMBOL_GPL(lis3_dev);
113 module_param_array_named(axes, lis3_dev.ac.as_array, axis, NULL, 0644);
/openbmc/linux/drivers/platform/x86/hp/
H A Dhp_accel.c303 lis3_dev.init = lis3lv02d_acpi_init; in lis3lv02d_probe()
304 lis3_dev.read = lis3lv02d_acpi_read; in lis3lv02d_probe()
310 lis3_dev.irq = ret; in lis3lv02d_probe()
313 if (lis3_dev.ac.x && lis3_dev.ac.y && lis3_dev.ac.z) { in lis3lv02d_probe()
315 lis3_dev.ac.x, lis3_dev.ac.y, lis3_dev.ac.z); in lis3lv02d_probe()
336 lis3lv02d_poweroff(&lis3_dev); in lis3lv02d_probe()
338 lis3lv02d_remove_fs(&lis3_dev); in lis3lv02d_probe()
349 lis3lv02d_poweroff(&lis3_dev); in lis3lv02d_remove()
354 lis3lv02d_remove_fs(&lis3_dev); in lis3lv02d_remove()
360 lis3lv02d_poweroff(&lis3_dev); in lis3lv02d_suspend()
[all …]