Lines Matching defs:opcode
126 static int wd719x_direct_cmd(struct wd719x *wd, u8 opcode, u8 dev, u8 lun,
139 if (opcode != WD719X_CMD_BUSRESET && opcode != WD719X_CMD_ABORT &&
140 opcode != WD719X_CMD_ABORT_TAG && opcode != WD719X_CMD_RESET)
152 wd719x_writeb(wd, WD719X_AMR_COMMAND, opcode);
158 if (opcode != WD719X_CMD_READ_FIRMVER)
284 /* send SCB opcode */
487 static int wd719x_reset(struct scsi_cmnd *cmd, u8 opcode, u8 device)
495 (opcode == WD719X_CMD_BUSRESET) ? "bus" : "device");
498 result = wd719x_direct_cmd(wd, opcode, device, 0, 0, 0,
502 if (opcode == WD719X_CMD_BUSRESET ||