Searched refs:DS2760_RATED_CAPACITY (Results 1 – 1 of 1) sorted by relevance
85 #define DS2760_RATED_CAPACITY 0x32 macro318 if (di->raw[DS2760_RATED_CAPACITY] < ARRAY_SIZE(rated_capacities)) in ds2760_battery_read_status()320 (unsigned int)di->raw[DS2760_RATED_CAPACITY]]; in ds2760_battery_read_status()322 di->rated_capacity = di->raw[DS2760_RATED_CAPACITY] * 10; in ds2760_battery_read_status()448 if (rated_capacity == di->raw[DS2760_RATED_CAPACITY]) in ds2760_battery_write_rated_capacity()451 w1_ds2760_write(di->dev, &rated_capacity, DS2760_RATED_CAPACITY, 1); in ds2760_battery_write_rated_capacity()