Searched refs:olpc_ec_cmd (Results 1 – 6 of 6) sorted by relevance
/drivers/power/supply/ |
D | olpc_battery.c | 73 ret = olpc_ec_cmd(EC_BAT_STATUS, NULL, 0, &status, 1); in olpc_ac_get_prop() 128 ret = olpc_ec_cmd(EC_BAT_ERRCODE, NULL, 0, &ec_byte, 1); in olpc_bat_get_health() 166 ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); in olpc_bat_get_mfr() 191 ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); in olpc_bat_get_tech() 221 ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); in olpc_bat_get_charge_full_design() 262 ret = olpc_ec_cmd(EC_BAT_SOC, NULL, 0, &soc, 1); in olpc_bat_get_charge_now() 286 ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); in olpc_bat_get_voltage_max_design() 344 ret = olpc_ec_cmd(EC_BAT_STATUS, NULL, 0, &ec_byte, 1); in olpc_bat_get_property() 399 ret = olpc_ec_cmd(EC_BAT_VOLTAGE, NULL, 0, (void *)&ec_word, 2); in olpc_bat_get_property() 407 ret = olpc_ec_cmd(EC_BAT_CURRENT, NULL, 0, (void *)&ec_word, 2); in olpc_bat_get_property() [all …]
|
/drivers/platform/olpc/ |
D | olpc-ec.c | 126 int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) in olpc_ec_cmd() function 163 EXPORT_SYMBOL_GPL(olpc_ec_cmd); 198 return olpc_ec_cmd(EC_WRITE_EXT_SCI_MASK, (void *)&ec_word, 2, NULL, 0); in olpc_ec_mask_write() 202 return olpc_ec_cmd(EC_WRITE_SCI_MASK, &ec_byte, 1, NULL, 0); in olpc_ec_mask_write() 232 ret = olpc_ec_cmd(EC_EXT_SCI_QUERY, NULL, 0, (void *)&ec_word, 2); in olpc_ec_sci_query() 238 ret = olpc_ec_cmd(EC_SCI_QUERY, NULL, 0, &ec_byte, 1); in olpc_ec_sci_query() 295 olpc_ec_cmd(ec_cmd[0], (ec_cmd_bytes == 0) ? NULL : &ec_cmd[1], in ec_dbgfs_cmd_write() 360 ret = olpc_ec_cmd(EC_DCON_POWER_MODE, &ec_byte, 1, NULL, 0); in olpc_ec_set_dcon_power() 429 err = olpc_ec_cmd(EC_FIRMWARE_REV, NULL, 0, &ec->version, 1); in olpc_ec_probe()
|
D | olpc-xo175-ec.c | 581 return olpc_ec_cmd(CMD_WRITE_EXT_SCI_MASK, args, 2, NULL, 0); in olpc_xo175_ec_set_event_mask() 587 olpc_ec_cmd(CMD_POWER_OFF, NULL, 0, NULL, 0); in olpc_xo175_ec_power_off() 608 olpc_ec_cmd(CMD_SUSPEND_HINT, (void *)&hintargs, sizeof(hintargs), in olpc_xo175_ec_suspend() 639 olpc_ec_cmd(CMD_SUSPEND_HINT, &x, 1, NULL, 0); in olpc_xo175_ec_resume()
|
/drivers/platform/x86/ |
D | xo1-rfkill.c | 28 r = olpc_ec_cmd(cmd, NULL, 0, NULL, 0); in rfkill_set_block()
|
/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 126 x = olpc_ec_cmd(EC_DCON_POWER_MODE, &pm, 1, NULL, 0); in dcon_bus_stabilize() 144 olpc_ec_cmd(EC_DCON_POWER_MODE, &pm, 1, NULL, 0); in dcon_bus_stabilize() 209 x = olpc_ec_cmd(EC_DCON_POWER_MODE, &pm, 1, NULL, 0); in dcon_sleep()
|
/drivers/net/wireless/marvell/libertas/ |
D | if_usb.c | 183 olpc_ec_cmd(0x25, NULL, 0, NULL, 0); in if_usb_reset_olpc_card()
|