Lines Matching refs:w83781d_data
205 struct w83781d_data {
245 static struct w83781d_data *w83781d_data_if_isa(void);
248 static int w83781d_read_value(struct w83781d_data *data, u16 reg);
249 static int w83781d_write_value(struct w83781d_data *data, u16 reg, u16 value);
250 static struct w83781d_data *w83781d_update_device(struct device *dev);
259 struct w83781d_data *data = w83781d_update_device(dev); \
272 struct w83781d_data *data = dev_get_drvdata(dev); \
311 struct w83781d_data *data = w83781d_update_device(dev); \
324 struct w83781d_data *data = dev_get_drvdata(dev);
355 struct w83781d_data *data = w83781d_update_device(dev); \
373 struct w83781d_data *data = dev_get_drvdata(dev); \
412 struct w83781d_data *data = w83781d_update_device(dev);
421 struct w83781d_data *data = dev_get_drvdata(dev);
428 struct w83781d_data *data = dev_get_drvdata(dev);
442 struct w83781d_data *data = w83781d_update_device(dev);
451 struct w83781d_data *data = w83781d_update_device(dev);
460 struct w83781d_data *data = w83781d_update_device(dev);
483 struct w83781d_data *data = w83781d_update_device(dev);
492 struct w83781d_data *data = dev_get_drvdata(dev);
519 struct w83781d_data *data = w83781d_update_device(dev);
528 struct w83781d_data *data = dev_get_drvdata(dev);
574 struct w83781d_data *data = w83781d_update_device(dev);
616 struct w83781d_data *data = w83781d_update_device(dev);
630 struct w83781d_data *data = dev_get_drvdata(dev);
676 struct w83781d_data *data = w83781d_update_device(dev);
683 struct w83781d_data *data = w83781d_update_device(dev);
692 struct w83781d_data *data = dev_get_drvdata(dev);
709 struct w83781d_data *data = dev_get_drvdata(dev);
751 struct w83781d_data *data = w83781d_update_device(dev);
760 struct w83781d_data *data = dev_get_drvdata(dev);
825 struct w83781d_data *data = i2c_get_clientdata(new_client);
1058 struct w83781d_data *isa = w83781d_data_if_isa();
1154 struct w83781d_data *data;
1157 data = kzalloc(sizeof(struct w83781d_data), GFP_KERNEL);
1208 struct w83781d_data *data = i2c_get_clientdata(client);
1227 w83781d_read_value_i2c(struct w83781d_data *data, u16 reg)
1267 w83781d_write_value_i2c(struct w83781d_data *data, u16 reg, u16 value)
1306 struct w83781d_data *data = dev_get_drvdata(dev);
1403 static struct w83781d_data *w83781d_update_device(struct device *dev)
1405 struct w83781d_data *data = dev_get_drvdata(dev);
1556 struct w83781d_data *data = dev_get_drvdata(dev);
1561 static struct w83781d_data *w83781d_data_if_isa(void)
1569 struct w83781d_data *isa;
1602 w83781d_read_value_isa(struct w83781d_data *data, u16 reg)
1635 w83781d_write_value_isa(struct w83781d_data *data, u16 reg, u16 value)
1671 w83781d_read_value(struct w83781d_data *data, u16 reg)
1686 w83781d_write_value(struct w83781d_data *data, u16 reg, u16 value)
1703 struct w83781d_data *data;
1714 data = kzalloc(sizeof(struct w83781d_data), GFP_KERNEL);
1768 struct w83781d_data *data = platform_get_drvdata(pdev);
1958 static struct w83781d_data *w83781d_data_if_isa(void)
1970 w83781d_read_value(struct w83781d_data *data, u16 reg)
1982 w83781d_write_value(struct w83781d_data *data, u16 reg, u16 value)