Lines Matching refs:cmd
375 standard_command_timeout(ps2_dev* dev, uint8 cmd, const uint8* out,
385 TRACE("ps2: ps2_dev_command cmd 0x%02x, out-count %d, in-count %d, "
386 "dev %s\n", cmd, out_count, in_count, dev->name);
426 if (cmd == PS2_CMD_GET_DEVICE_ID)
428 else if (cmd == PS2_CMD_RESEND)
432 ps2_write_data(cmd);
501 ps2_dev_command(ps2_dev* dev, uint8 cmd, const uint8* out, int out_count,
504 return ps2_dev_command_timeout(dev, cmd, out, out_count, in, in_count,
510 ps2_dev_command_timeout(ps2_dev* dev, uint8 cmd, const uint8* out,
513 return dev->command(dev, cmd, out, out_count, in, in_count, timeout);
518 ps2_dev_sliced_command(ps2_dev* dev, uint8 cmd)
524 val = (cmd >> 6) & 3;
528 val = (cmd >> 4) & 3;
532 val = (cmd >> 2) & 3;
536 val = cmd & 3;