Lines Matching refs:byte
25 static int ps2_do_sendbyte(struct ps2dev *ps2dev, u8 byte,
40 error = serio_write(ps2dev->serio, byte);
43 "failed to write %#02x: %d\n", byte, error);
73 byte, error, ps2dev->nak, attempt);
79 * ps2_sendbyte() sends a byte to the device and waits for acknowledge.
86 int ps2_sendbyte(struct ps2dev *ps2dev, u8 byte, unsigned int timeout)
92 retval = ps2_do_sendbyte(ps2dev, byte, timeout, 1);
93 dev_dbg(&ps2dev->serio->dev, "%02x - %x\n", byte, ps2dev->nak);
145 * ps2_is_keyboard_id() checks received ID byte against the list of
165 * ps2_adjust_timeout() is called after receiving 1st byte of command
176 * Device has sent the first response byte after
179 * The next byte will come soon (keyboard) or not
190 * a single byte. Fail the command so atkbd will
202 * won't be 2nd byte of ID response.
255 /* Signal that we are sending the command byte */
425 * waiting for an ACK to the initial (first) command byte:
430 * on the 1st byte; if device spews data we really want to see