Searched refs:datar (Results 1 – 1 of 1) sorted by relevance
185 u8 datar[2]; in ltc294x_read_charge_register() local187 ret = ltc294x_read_regs(info->client, reg, &datar[0], 2); in ltc294x_read_charge_register()190 return (datar[0] << 8) + datar[1]; in ltc294x_read_charge_register()282 u8 datar[2]; in ltc294x_get_voltage() local286 LTC294X_REG_VOLTAGE_MSB, &datar[0], 2); in ltc294x_get_voltage()287 value = (datar[0] << 8) | datar[1]; in ltc294x_get_voltage()312 u8 datar[2]; in ltc294x_get_current() local316 LTC2943_REG_CURRENT_MSB, &datar[0], 2); in ltc294x_get_current()317 value = (datar[0] << 8) | datar[1]; in ltc294x_get_current()334 u8 datar[2]; in ltc294x_get_temperature() local[all …]
Completed in 4 milliseconds