Lines Matching refs:vt8231_data
147 struct vt8231_data {
172 static struct vt8231_data *vt8231_update_device(struct device *dev);
173 static void vt8231_init_device(struct vt8231_data *data);
175 static inline int vt8231_read_value(struct vt8231_data *data, u8 reg)
180 static inline void vt8231_write_value(struct vt8231_data *data, u8 reg,
192 struct vt8231_data *data = vt8231_update_device(dev);
202 struct vt8231_data *data = vt8231_update_device(dev);
212 struct vt8231_data *data = vt8231_update_device(dev);
222 struct vt8231_data *data = dev_get_drvdata(dev);
237 struct vt8231_data *data = dev_get_drvdata(dev);
251 struct vt8231_data *data = vt8231_update_device(dev);
260 struct vt8231_data *data = vt8231_update_device(dev);
269 struct vt8231_data *data = vt8231_update_device(dev);
278 struct vt8231_data *data = dev_get_drvdata(dev);
292 struct vt8231_data *data = dev_get_drvdata(dev);
325 struct vt8231_data *data = vt8231_update_device(dev);
332 struct vt8231_data *data = vt8231_update_device(dev);
339 struct vt8231_data *data = vt8231_update_device(dev);
346 struct vt8231_data *data = dev_get_drvdata(dev);
358 struct vt8231_data *data = dev_get_drvdata(dev);
373 struct vt8231_data *data = vt8231_update_device(dev);
382 struct vt8231_data *data = vt8231_update_device(dev);
391 struct vt8231_data *data = vt8231_update_device(dev);
400 struct vt8231_data *data = dev_get_drvdata(dev);
414 struct vt8231_data *data = dev_get_drvdata(dev);
451 struct vt8231_data *data = vt8231_update_device(dev);
461 struct vt8231_data *data = vt8231_update_device(dev);
471 struct vt8231_data *data = vt8231_update_device(dev);
480 struct vt8231_data *data = dev_get_drvdata(dev);
493 struct vt8231_data *data = dev_get_drvdata(dev);
540 struct vt8231_data *data = vt8231_update_device(dev);
549 struct vt8231_data *data = vt8231_update_device(dev);
570 struct vt8231_data *data = dev_get_drvdata(dev);
719 struct vt8231_data *data;
731 if (!(data = kzalloc(sizeof(struct vt8231_data), GFP_KERNEL))) {
793 struct vt8231_data *data = platform_get_drvdata(pdev);
812 static void vt8231_init_device(struct vt8231_data *data)
818 static struct vt8231_data *vt8231_update_device(struct device *dev)
820 struct vt8231_data *data = dev_get_drvdata(dev);