lis3_dev 85 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d lis3_dev = { lis3_dev 86 drivers/misc/lis3lv02d/lis3lv02d.c .misc_wait = __WAIT_QUEUE_HEAD_INITIALIZER(lis3_dev.misc_wait), lis3_dev 88 drivers/misc/lis3lv02d/lis3lv02d.c EXPORT_SYMBOL_GPL(lis3_dev); lis3_dev 113 drivers/misc/lis3lv02d/lis3lv02d.c module_param_array_named(axes, lis3_dev.ac.as_array, axis, NULL, 0644); lis3_dev 318 drivers/misc/lis3lv02d/lis3lv02d.h extern struct lis3lv02d lis3_dev; lis3_dev 111 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.of_node = client->dev.of_node; lis3_dev 112 drivers/misc/lis3lv02d/lis3lv02d_i2c.c ret = lis3lv02d_init_dt(&lis3_dev); lis3_dev 115 drivers/misc/lis3lv02d/lis3lv02d_i2c.c pdata = lis3_dev.pdata; lis3_dev 123 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.blkread = lis3_i2c_blockread; lis3_dev 141 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators[0].supply = reg_vdd; lis3_dev 142 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators[1].supply = reg_vdd_io; lis3_dev 144 drivers/misc/lis3lv02d/lis3lv02d_i2c.c ARRAY_SIZE(lis3_dev.regulators), lis3_dev 145 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators); lis3_dev 149 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.pdata = pdata; lis3_dev 150 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.bus_priv = client; lis3_dev 151 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.init = lis3_i2c_init; lis3_dev 152 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.read = lis3_i2c_read; lis3_dev 153 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.write = lis3_i2c_write; lis3_dev 154 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.irq = client->irq; lis3_dev 155 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.ac = lis3lv02d_axis_map; lis3_dev 156 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.pm_dev = &client->dev; lis3_dev 158 drivers/misc/lis3lv02d/lis3lv02d_i2c.c i2c_set_clientdata(client, &lis3_dev); lis3_dev 161 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_reg_ctrl(&lis3_dev, LIS3_REG_ON); lis3_dev 163 drivers/misc/lis3lv02d/lis3lv02d_i2c.c ret = lis3lv02d_init_device(&lis3_dev); lis3_dev 165 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_reg_ctrl(&lis3_dev, LIS3_REG_OFF); lis3_dev 172 drivers/misc/lis3lv02d/lis3lv02d_i2c.c regulator_bulk_free(ARRAY_SIZE(lis3_dev.regulators), lis3_dev 173 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators); lis3_dev 189 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3lv02d_remove_fs(&lis3_dev); lis3_dev 192 drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3_dev.regulators); lis3_dev 78 drivers/misc/lis3lv02d/lis3lv02d_spi.c lis3_dev.bus_priv = spi; lis3_dev 79 drivers/misc/lis3lv02d/lis3lv02d_spi.c lis3_dev.init = lis3_spi_init; lis3_dev 80 drivers/misc/lis3lv02d/lis3lv02d_spi.c lis3_dev.read = lis3_spi_read; lis3_dev 81 drivers/misc/lis3lv02d/lis3lv02d_spi.c lis3_dev.write = lis3_spi_write; lis3_dev 82 drivers/misc/lis3lv02d/lis3lv02d_spi.c lis3_dev.irq = spi->irq; lis3_dev 83 drivers/misc/lis3lv02d/lis3lv02d_spi.c lis3_dev.ac = lis3lv02d_axis_normal; lis3_dev 84 drivers/misc/lis3lv02d/lis3lv02d_spi.c lis3_dev.pdata = spi->dev.platform_data; lis3_dev 88 drivers/misc/lis3lv02d/lis3lv02d_spi.c lis3_dev.of_node = spi->dev.of_node; lis3_dev 89 drivers/misc/lis3lv02d/lis3lv02d_spi.c ret = lis3lv02d_init_dt(&lis3_dev); lis3_dev 94 drivers/misc/lis3lv02d/lis3lv02d_spi.c spi_set_drvdata(spi, &lis3_dev); lis3_dev 96 drivers/misc/lis3lv02d/lis3lv02d_spi.c return lis3lv02d_init_device(&lis3_dev); lis3_dev 105 drivers/misc/lis3lv02d/lis3lv02d_spi.c return lis3lv02d_remove_fs(&lis3_dev); lis3_dev 115 drivers/misc/lis3lv02d/lis3lv02d_spi.c lis3lv02d_poweroff(&lis3_dev); lis3_dev 151 drivers/platform/x86/hp_accel.c lis3_dev.ac = *((union axis_conversion *)dmi->driver_data); lis3_dev 257 drivers/platform/x86/hp_accel.c struct acpi_device *dev = lis3_dev.bus_priv; lis3_dev 297 drivers/platform/x86/hp_accel.c lis3lv02d_get_resource, &lis3_dev.irq); lis3_dev 338 drivers/platform/x86/hp_accel.c lis3_dev.bus_priv = device; lis3_dev 339 drivers/platform/x86/hp_accel.c lis3_dev.init = lis3lv02d_acpi_init; lis3_dev 340 drivers/platform/x86/hp_accel.c lis3_dev.read = lis3lv02d_acpi_read; lis3_dev 341 drivers/platform/x86/hp_accel.c lis3_dev.write = lis3lv02d_acpi_write; lis3_dev 344 drivers/platform/x86/hp_accel.c device->driver_data = &lis3_dev; lis3_dev 350 drivers/platform/x86/hp_accel.c if (lis3_dev.ac.x && lis3_dev.ac.y && lis3_dev.ac.z) { lis3_dev 352 drivers/platform/x86/hp_accel.c lis3_dev.ac.x, lis3_dev.ac.y, lis3_dev.ac.z); lis3_dev 355 drivers/platform/x86/hp_accel.c lis3_dev.ac = lis3lv02d_axis_normal; lis3_dev 359 drivers/platform/x86/hp_accel.c ret = lis3lv02d_init_device(&lis3_dev); lis3_dev 371 drivers/platform/x86/hp_accel.c lis3lv02d_joystick_disable(&lis3_dev); lis3_dev 372 drivers/platform/x86/hp_accel.c lis3lv02d_poweroff(&lis3_dev); lis3_dev 386 drivers/platform/x86/hp_accel.c lis3lv02d_joystick_disable(&lis3_dev); lis3_dev 387 drivers/platform/x86/hp_accel.c lis3lv02d_poweroff(&lis3_dev); lis3_dev 392 drivers/platform/x86/hp_accel.c return lis3lv02d_remove_fs(&lis3_dev); lis3_dev 400 drivers/platform/x86/hp_accel.c lis3lv02d_poweroff(&lis3_dev); lis3_dev 406 drivers/platform/x86/hp_accel.c lis3lv02d_poweron(&lis3_dev);