Searched refs:olpc_ec_cmd (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/power/ |
D | olpc_battery.c | 66 ret = olpc_ec_cmd(EC_BAT_STATUS, NULL, 0, &status, 1); in olpc_ac_get_prop() 122 ret = olpc_ec_cmd(EC_BAT_ERRCODE, NULL, 0, &ec_byte, 1); in olpc_bat_get_health() 160 ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); in olpc_bat_get_mfr() 185 ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); in olpc_bat_get_tech() 215 ret = olpc_ec_cmd(EC_BAT_EEPROM, &ec_byte, 1, &ec_byte, 1); in olpc_bat_get_charge_full_design() 258 ret = olpc_ec_cmd(EC_BAT_SOC, NULL, 0, &soc, 1); in olpc_bat_get_charge_now() 282 ret = olpc_ec_cmd(EC_BAT_STATUS, NULL, 0, &ec_byte, 1); in olpc_bat_get_property() 337 ret = olpc_ec_cmd(EC_BAT_VOLTAGE, NULL, 0, (void *)&ec_word, 2); in olpc_bat_get_property() 345 ret = olpc_ec_cmd(EC_BAT_CURRENT, NULL, 0, (void *)&ec_word, 2); in olpc_bat_get_property() 352 ret = olpc_ec_cmd(EC_BAT_SOC, NULL, 0, &ec_byte, 1); in olpc_bat_get_property() [all …]
|
/linux-2.6.39/arch/x86/platform/olpc/ |
D | olpc.c | 112 int olpc_ec_cmd(unsigned char cmd, unsigned char *inbuf, size_t inlen, in olpc_ec_cmd() function 188 EXPORT_SYMBOL_GPL(olpc_ec_cmd); 256 olpc_ec_cmd(EC_FIRMWARE_REV, NULL, 0, in olpc_init()
|
/linux-2.6.39/drivers/platform/x86/ |
D | xo1-rfkill.c | 26 return olpc_ec_cmd(cmd, NULL, 0, NULL, 0); in rfkill_set_block()
|
/linux-2.6.39/arch/x86/include/asm/ |
D | olpc.h | 83 extern int olpc_ec_cmd(unsigned char cmd, unsigned char *inbuf, size_t inlen,
|
/linux-2.6.39/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 151 x = olpc_ec_cmd(0x26, (unsigned char *) &x, 1, NULL, 0); in dcon_bus_stabilize() 171 olpc_ec_cmd(0x26, (unsigned char *) &x, 1, NULL, 0); in dcon_bus_stabilize() 237 x = olpc_ec_cmd(0x26, (unsigned char *) &x, 1, NULL, 0); in dcon_sleep()
|
/linux-2.6.39/drivers/net/wireless/libertas/ |
D | if_usb.c | 229 olpc_ec_cmd(0x25, NULL, 0, NULL, 0); in if_usb_reset_olpc_card()
|