Searched refs:lis3_dev (Results 1 – 5 of 5) sorted by relevance
110 lis3_dev.of_node = client->dev.of_node; in lis3lv02d_i2c_probe()111 ret = lis3lv02d_init_dt(&lis3_dev); in lis3lv02d_i2c_probe()114 pdata = lis3_dev.pdata; in lis3lv02d_i2c_probe()122 lis3_dev.blkread = lis3_i2c_blockread; in lis3lv02d_i2c_probe()140 lis3_dev.regulators[0].supply = reg_vdd; in lis3lv02d_i2c_probe()141 lis3_dev.regulators[1].supply = reg_vdd_io; in lis3lv02d_i2c_probe()143 ARRAY_SIZE(lis3_dev.regulators), 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()[all …]
78 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()84 lis3_dev.pdata = spi->dev.platform_data; 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()[all …]
318 extern struct lis3lv02d lis3_dev;
85 struct lis3lv02d lis3_dev = { variable86 .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);
142 lis3_dev.ac = *((union axis_conversion *)dmi->driver_data); in lis3lv02d_dmi_matched()248 struct acpi_device *dev = lis3_dev.bus_priv; in hpled_set()302 lis3_dev.bus_priv = ACPI_COMPANION(&device->dev); in lis3lv02d_probe()303 lis3_dev.init = lis3lv02d_acpi_init; in lis3lv02d_probe()304 lis3_dev.read = lis3lv02d_acpi_read; in lis3lv02d_probe()305 lis3_dev.write = lis3lv02d_acpi_write; 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()318 lis3_dev.ac = lis3lv02d_axis_normal; in lis3lv02d_probe()[all …]