Lines Matching refs:ps2_putbyte
111 ps2_putbyte(int fd, byte b)
116 PS2DBG("ps2_putbyte: error xf86WriteSerial\n");
119 PS2DBG("ps2_putbyte: byte %02X send\n", b);
125 PS2DBG("ps2_putbyte: wrong acknowledge 0x%02x\n", ack);
143 if (!ps2_putbyte(fd, PS2_CMD_SET_SCALING_1_1))
148 if (!ps2_putbyte(fd, PS2_CMD_SET_RESOLUTION) ||
149 !ps2_putbyte(fd, (cmd >> 6) & 0x3))
163 return (ps2_special_cmd(fd, c) && ps2_putbyte(fd, PS2_CMD_STATUS_REQUEST));
178 ps2_putbyte(fd, PS2_CMD_SET_SAMPLE_RATE) && ps2_putbyte(fd, 0x14));
191 if (!ps2_putbyte(fd, PS2_CMD_RESET)) {
302 return ps2_putbyte(fd, PS2_CMD_ENABLE);
309 return ps2_putbyte(fd, PS2_CMD_DISABLE);