Lines Matching full:ec

3  * Support for the OLPC DCON and OLPC EC access
19 #include <linux/olpc-ec.h>
32 /* the timeout that bugs in the EC might force us to actually use */
39 printk(KERN_ERR "olpc-ec: invalid argument to " in olpc_ec_timeout_set()
42 printk(KERN_DEBUG "olpc-ec: using %d ms delay for EC commands.\n", in olpc_ec_timeout_set()
75 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for IBF!\n", in __wait_on_ibf()
95 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for OBF!\n", in __wait_on_obf()
103 * This allows the kernel to run Embedded Controller commands. The EC is
105 * available EC commands are here:
107 * OpenFirmware's source is available, the EC's is not.
120 printk(KERN_ERR "olpc-ec: timeout while attempting to " in olpc_xo1_ec_cmd()
126 printk(KERN_ERR "olpc-ec: timeout waiting for EC to " in olpc_xo1_ec_cmd()
141 pr_devel("olpc-ec: running cmd 0x%x\n", cmd); in olpc_xo1_ec_cmd()
145 printk(KERN_ERR "olpc-ec: timeout waiting for EC to read " in olpc_xo1_ec_cmd()
151 /* write data to EC */ in olpc_xo1_ec_cmd()
153 pr_devel("olpc-ec: sending cmd arg 0x%x\n", inbuf[i]); in olpc_xo1_ec_cmd()
156 printk(KERN_ERR "olpc-ec: timeout waiting for" in olpc_xo1_ec_cmd()
157 " EC accept data!\n"); in olpc_xo1_ec_cmd()
163 /* read data from EC */ in olpc_xo1_ec_cmd()
166 printk(KERN_ERR "olpc-ec: timeout waiting for" in olpc_xo1_ec_cmd()
167 " EC to provide data!\n"); in olpc_xo1_ec_cmd()
173 pr_devel("olpc-ec: received 0x%x\n", outbuf[i]); in olpc_xo1_ec_cmd()
249 /* Tell the EC to stop inhibiting SCIs */ in olpc_xo1_ec_resume()
268 * XO-1 EC wakeups are available when olpc-xo1-sci driver is
279 * XO-1.5 EC wakeups are available when olpc-xo15-sci driver is
293 /* register the XO-1 and 1.5-specific EC handler */ in olpc_init()
298 platform_device_register_simple("olpc-ec", -1, NULL, 0); in olpc_init()