Lines Matching refs:i8042

32 #include <sys/i8042.h>
138 struct i8042 *i8042_global;
159 struct i8042 {
192 * i8042 hardware register definitions
210 * These are commands to the i8042 itself (as distinct from the devices
350 "i8042 nexus driver", /* Name of module. */
395 static void i8042_write_command_byte(struct i8042 *, unsigned char);
399 static void i8042_send(struct i8042 *global, int reg, unsigned char cmd);
405 i8042_discard_junk_data(struct i8042 *global)
422 i8042_cleanup(struct i8042 *global)
508 kmem_free(global, sizeof (struct i8042));
523 i8042_wait_obf(struct i8042 *global)
542 i8042_purge_outbuf(struct i8042 *global)
575 struct i8042 *global;
582 global = (struct i8042 *)ddi_get_driver_private(dip);
599 global = (struct i8042 *)kmem_zalloc(sizeof (struct i8042), KM_SLEEP);
631 * If there are no interrupts on the i8042 node,
633 * has interrupts properties on i8042's children
643 cmn_err(CE_WARN, "i8042#%d: No interrupts defined!",
650 cmn_err(CE_WARN, "i8042#%d: No interrupts defined!",
791 struct i8042 *global = (struct i8042 *)ddi_get_driver_private(dip);
832 struct i8042 *global;
963 struct i8042 *i8042_p = (struct i8042 *)arg;
999 * i8042 hardware interrupt routine. Called for both main and aux port
1005 struct i8042 *global = (struct i8042 *)arg;
1038 cmn_err(CE_WARN, "i8042/%d: %d overruns\n",
1069 i8042_write_command_byte(struct i8042 *global, unsigned char cb)
1078 * Send a byte to either the i8042 command or data register, depending on
1082 i8042_send(struct i8042 *global, int reg, unsigned char val)
1088 * First, wait for the i8042 to be ready to accept data.
1141 struct i8042 *global;
1198 "i8042: Tried to read from empty buffer");
1211 cmn_err(CE_WARN, "i8042: read of write-only register 0x%p",
1281 cmn_err(CE_WARN, "i8042: read of undefined register 0x%p",
1293 struct i8042 *global;
1337 cmn_err(CE_WARN, "i8042: write of read-only register 0x%p",
1342 cmn_err(CE_WARN, "i8042: read of undefined register 0x%p",
1357 struct i8042 *global;
1465 struct i8042 *global;