Searched refs:w1_dev (Results 1 - 3 of 3) sorted by relevance

/drivers/power/
H A Dds2760_battery.c57 struct device *w1_dev; member in struct:ds2760_device_info
140 ret = w1_ds2760_read(di->w1_dev, di->raw + start, start, count);
143 di->w1_dev);
244 if (w1_ds2760_write(di->w1_dev, acr, DS2760_CURRENT_ACCUM_MSB, 2) < 2)
299 w1_ds2760_write(di->w1_dev, &status, DS2760_STATUS_WRITE_REG, 1);
300 w1_ds2760_store_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1);
301 w1_ds2760_recall_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1);
310 w1_ds2760_write(di->w1_dev, &rated_capacity, DS2760_RATED_CAPACITY, 1);
311 w1_ds2760_store_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1);
312 w1_ds2760_recall_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK
[all...]
H A Dds2780_battery.c41 struct device *w1_dev; member in struct:ds2780_device_info
66 return w1_ds2780_io(dev_info->w1_dev, buf, addr, count, io);
116 ret = ds2780_store_eeprom(dev_info->w1_dev, reg);
120 ret = ds2780_recall_eeprom(dev_info->w1_dev, reg);
772 dev_info->w1_dev = pdev->dev.parent;
H A Dds2781_battery.c39 struct device *w1_dev; member in struct:ds2781_device_info
64 return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io);
120 ret = ds2781_store_eeprom(dev_info->w1_dev, reg);
124 ret = ds2781_recall_eeprom(dev_info->w1_dev, reg);
765 dev_info->w1_dev = pdev->dev.parent;

Completed in 57 milliseconds