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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/power/
H A Dds2760_battery.c57 struct device *w1_dev; member in struct:ds2760_device_info
132 ret = w1_ds2760_read(di->w1_dev, di->raw + start, start, count);
135 di->w1_dev);
236 if (w1_ds2760_write(di->w1_dev, acr, DS2760_CURRENT_ACCUM_MSB, 2) < 2)
291 w1_ds2760_write(di->w1_dev, &status, DS2760_STATUS_WRITE_REG, 1);
292 w1_ds2760_store_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1);
293 w1_ds2760_recall_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1);
302 w1_ds2760_write(di->w1_dev, &rated_capacity, DS2760_RATED_CAPACITY, 1);
303 w1_ds2760_store_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK1);
304 w1_ds2760_recall_eeprom(di->w1_dev, DS2760_EEPROM_BLOCK
[all...]

Completed in 40 milliseconds