Lines Matching refs:lis3_dev

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()
150 lis3_dev.init = lis3_i2c_init; in lis3lv02d_i2c_probe()
151 lis3_dev.read = lis3_i2c_read; in lis3lv02d_i2c_probe()
152 lis3_dev.write = lis3_i2c_write; in lis3lv02d_i2c_probe()
153 lis3_dev.reg_ctrl = lis3_reg_ctrl; in lis3lv02d_i2c_probe()
154 lis3_dev.irq = client->irq; in lis3lv02d_i2c_probe()
155 lis3_dev.ac = lis3lv02d_axis_map; in lis3lv02d_i2c_probe()
156 lis3_dev.pm_dev = &client->dev; in lis3lv02d_i2c_probe()
158 i2c_set_clientdata(client, &lis3_dev); in lis3lv02d_i2c_probe()
161 lis3_reg_ctrl(&lis3_dev, LIS3_REG_ON); in lis3lv02d_i2c_probe()
163 ret = lis3lv02d_init_device(&lis3_dev); in lis3lv02d_i2c_probe()
165 lis3_reg_ctrl(&lis3_dev, LIS3_REG_OFF); in lis3lv02d_i2c_probe()
172 regulator_bulk_free(ARRAY_SIZE(lis3_dev.regulators), in lis3lv02d_i2c_probe()
173 lis3_dev.regulators); in lis3lv02d_i2c_probe()
189 lis3lv02d_remove_fs(&lis3_dev); in lis3lv02d_i2c_remove()
192 lis3_dev.regulators); in lis3lv02d_i2c_remove()