Searched refs:ec_read16 (Results 1 – 2 of 2) sorted by relevance
/drivers/char/ |
D | sonypi.c | 541 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()
|
/drivers/platform/x86/ |
D | sony-laptop.c | 4121 static int ec_read16(u8 addr, u16 *value) in ec_read16() function 4177 if (ec_read16(SONYPI_BAT1_FULL, &val16)) { in sonypi_misc_ioctl() 4185 if (ec_read16(SONYPI_BAT1_LEFT, &val16)) { in sonypi_misc_ioctl() 4193 if (ec_read16(SONYPI_BAT2_FULL, &val16)) { in sonypi_misc_ioctl() 4201 if (ec_read16(SONYPI_BAT2_LEFT, &val16)) { in sonypi_misc_ioctl()
|