olpc_ec_cmd 79 arch/x86/platform/olpc/olpc-xo1-sci.c if (olpc_ec_cmd(EC_READ_EB_MODE, NULL, 0, &state, 1)) { olpc_ec_cmd 244 arch/x86/platform/olpc/olpc.c return olpc_ec_cmd(EC_SET_SCI_INHIBIT, NULL, 0, NULL, 0); olpc_ec_cmd 250 arch/x86/platform/olpc/olpc.c olpc_ec_cmd(EC_SET_SCI_INHIBIT_RELEASE, NULL, 0, NULL, 0); olpc_ec_cmd 256 arch/x86/platform/olpc/olpc.c olpc_ec_cmd(EC_WAKE_UP_WLAN, NULL, 0, NULL, 0); olpc_ec_cmd 257 arch/x86/platform/olpc/olpc.c olpc_ec_cmd(EC_WAKE_UP_WLAN, NULL, 0, NULL, 0); olpc_ec_cmd 183 drivers/net/wireless/marvell/libertas/if_usb.c olpc_ec_cmd(0x25, NULL, 0, NULL, 0); olpc_ec_cmd 164 drivers/platform/olpc/olpc-ec.c EXPORT_SYMBOL_GPL(olpc_ec_cmd); olpc_ec_cmd 199 drivers/platform/olpc/olpc-ec.c return olpc_ec_cmd(EC_WRITE_EXT_SCI_MASK, (void *)&ec_word, 2, NULL, 0); olpc_ec_cmd 203 drivers/platform/olpc/olpc-ec.c return olpc_ec_cmd(EC_WRITE_SCI_MASK, &ec_byte, 1, NULL, 0); olpc_ec_cmd 233 drivers/platform/olpc/olpc-ec.c ret = olpc_ec_cmd(EC_EXT_SCI_QUERY, NULL, 0, (void *)&ec_word, 2); olpc_ec_cmd 239 drivers/platform/olpc/olpc-ec.c ret = olpc_ec_cmd(EC_SCI_QUERY, NULL, 0, &ec_byte, 1); olpc_ec_cmd 296 drivers/platform/olpc/olpc-ec.c olpc_ec_cmd(ec_cmd[0], (ec_cmd_bytes == 0) ? NULL : &ec_cmd[1], olpc_ec_cmd 361 drivers/platform/olpc/olpc-ec.c ret = olpc_ec_cmd(EC_DCON_POWER_MODE, &ec_byte, 1, NULL, 0); olpc_ec_cmd 428 drivers/platform/olpc/olpc-ec.c err = olpc_ec_cmd(EC_FIRMWARE_REV, NULL, 0, &ec->version, 1); olpc_ec_cmd 581 drivers/platform/olpc/olpc-xo175-ec.c return olpc_ec_cmd(CMD_WRITE_EXT_SCI_MASK, args, 2, NULL, 0); olpc_ec_cmd 587 drivers/platform/olpc/olpc-xo175-ec.c olpc_ec_cmd(CMD_POWER_OFF, NULL, 0, NULL, 0); olpc_ec_cmd 608 drivers/platform/olpc/olpc-xo175-ec.c olpc_ec_cmd(CMD_SUSPEND_HINT, (void *)&hintargs, sizeof(hintargs), olpc_ec_cmd 639 drivers/platform/olpc/olpc-xo175-ec.c olpc_ec_cmd(CMD_SUSPEND_HINT, &x, 1, NULL, 0); olpc_ec_cmd 28 drivers/platform/x86/xo1-rfkill.c r = olpc_ec_cmd(cmd, NULL, 0, NULL, 0); olpc_ec_cmd 73 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_STATUS, NULL, 0, &status, 1); olpc_ec_cmd 128 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_ERRCODE, NULL, 0, &ec_byte, 1); olpc_ec_cmd 166 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); olpc_ec_cmd 191 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); olpc_ec_cmd 221 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); olpc_ec_cmd 262 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_SOC, NULL, 0, &soc, 1); olpc_ec_cmd 286 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); olpc_ec_cmd 344 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_STATUS, NULL, 0, &ec_byte, 1); olpc_ec_cmd 399 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_VOLTAGE, NULL, 0, (void *)&ec_word, 2); olpc_ec_cmd 407 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_CURRENT, NULL, 0, (void *)&ec_word, 2); olpc_ec_cmd 414 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_SOC, NULL, 0, &ec_byte, 1); olpc_ec_cmd 438 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_TEMP, NULL, 0, (void *)&ec_word, 2); olpc_ec_cmd 445 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_AMB_TEMP, NULL, 0, (void *)&ec_word, 2); olpc_ec_cmd 452 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_ACR, NULL, 0, (void *)&ec_word, 2); olpc_ec_cmd 459 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_SERIAL, NULL, 0, (void *)&ser_buf, 8); olpc_ec_cmd 538 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &buf[i], 1); olpc_ec_cmd 567 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_ERRCODE, NULL, 0, &ec_byte, 1); olpc_ec_cmd 648 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_FIRMWARE_REV, NULL, 0, &ecver, 1); olpc_ec_cmd 669 drivers/power/supply/olpc_battery.c ret = olpc_ec_cmd(EC_BAT_STATUS, NULL, 0, &status, 1); olpc_ec_cmd 125 drivers/staging/olpc_dcon/olpc_dcon.c x = olpc_ec_cmd(EC_DCON_POWER_MODE, &pm, 1, NULL, 0); olpc_ec_cmd 143 drivers/staging/olpc_dcon/olpc_dcon.c olpc_ec_cmd(EC_DCON_POWER_MODE, &pm, 1, NULL, 0); olpc_ec_cmd 208 drivers/staging/olpc_dcon/olpc_dcon.c x = olpc_ec_cmd(EC_DCON_POWER_MODE, &pm, 1, NULL, 0); olpc_ec_cmd 48 include/linux/olpc-ec.h extern int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf,