Searched refs:w1_dev (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/drivers/power/ |
D | ds2760_battery.c | 57 struct device *w1_dev; member 140 ret = w1_ds2760_read(di->w1_dev, di->raw + start, start, count); in ds2760_battery_read_status() 143 di->w1_dev); in ds2760_battery_read_status() 244 if (w1_ds2760_write(di->w1_dev, acr, DS2760_CURRENT_ACCUM_MSB, 2) < 2) in ds2760_battery_set_current_accum() 299 w1_ds2760_write(di->w1_dev, &status, DS2760_STATUS_WRITE_REG, 1); in ds2760_battery_write_status() 300 w1_ds2760_store_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1); in ds2760_battery_write_status() 301 w1_ds2760_recall_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1); in ds2760_battery_write_status() 310 w1_ds2760_write(di->w1_dev, &rated_capacity, DS2760_RATED_CAPACITY, 1); in ds2760_battery_write_rated_capacity() 311 w1_ds2760_store_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1); in ds2760_battery_write_rated_capacity() 312 w1_ds2760_recall_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1); in ds2760_battery_write_rated_capacity() [all …]
|
D | ds2780_battery.c | 41 struct device *w1_dev; member 68 return w1_ds2780_io_nolock(dev_info->w1_dev, buf, addr, count, io); in ds2780_battery_io() 70 return w1_ds2780_io(dev_info->w1_dev, buf, addr, count, io); in ds2780_battery_io() 120 ret = ds2780_store_eeprom(dev_info->w1_dev, reg); in ds2780_save_eeprom() 124 ret = ds2780_recall_eeprom(dev_info->w1_dev, reg); in ds2780_save_eeprom() 776 dev_info->w1_dev = pdev->dev.parent; in ds2780_battery_probe()
|
D | ds2781_battery.c | 39 struct device *w1_dev; member 66 return w1_ds2781_io_nolock(dev_info->w1_dev, buf, addr, in ds2781_battery_io() 69 return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io); in ds2781_battery_io() 125 ret = ds2781_store_eeprom(dev_info->w1_dev, reg); in ds2781_save_eeprom() 129 ret = ds2781_recall_eeprom(dev_info->w1_dev, reg); in ds2781_save_eeprom() 780 dev_info->w1_dev = pdev->dev.parent; in ds2781_battery_probe()
|