Searched refs:ec_read_u16 (Results 1 – 3 of 3) sorted by relevance
239 static u16 ec_read_u16(u8 addr) in ec_read_u16() function249 return (s16) ec_read_u16(addr); in ec_read_s16()573 val->intval = ec_read_u16(BAT_VOLTAGE_DESIGN) * 1000; in bat_get_property()576 val->intval = ec_read_u16(BAT_VOLTAGE_NOW) * 1000; in bat_get_property()588 val->intval = ec_read_u16(BAT_CHARGE_DESIGN) * 1000; in bat_get_property()591 val->intval = ec_read_u16(BAT_CHARGE_NOW) * 1000; in bat_get_property()921 ec_read_u16(BAT_SERIAL_NUMBER_ADDR)); in initialize_power_supply_data()