Home
last modified time | relevance | path

Searched refs:ec_read16 (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/char/
Dsonypi.c541 static int ec_read16(u8 addr, u16 *value) in ec_read16() function
964 if (ec_read16(SONYPI_BAT1_FULL, &val16)) { in sonypi_misc_ioctl()
972 if (ec_read16(SONYPI_BAT1_LEFT, &val16)) { in sonypi_misc_ioctl()
980 if (ec_read16(SONYPI_BAT2_FULL, &val16)) { in sonypi_misc_ioctl()
988 if (ec_read16(SONYPI_BAT2_LEFT, &val16)) { in sonypi_misc_ioctl()
/Linux-v6.6/drivers/platform/x86/
Dsony-laptop.c4109 static int ec_read16(u8 addr, u16 *value) in ec_read16() function
4165 if (ec_read16(SONYPI_BAT1_FULL, &val16)) { in sonypi_misc_ioctl()
4173 if (ec_read16(SONYPI_BAT1_LEFT, &val16)) { in sonypi_misc_ioctl()
4181 if (ec_read16(SONYPI_BAT2_FULL, &val16)) { in sonypi_misc_ioctl()
4189 if (ec_read16(SONYPI_BAT2_LEFT, &val16)) { in sonypi_misc_ioctl()