Lines Matching defs:device
192 struct wd719x *wd = shost_priv(cmd->device->host);
217 scb->devid = cmd->device->id;
218 scb->lun = cmd->device->lun;
468 struct wd719x *wd = shost_priv(cmd->device->host);
475 result = wd719x_direct_cmd(wd, action, cmd->device->id,
476 cmd->device->lun, cmd->tag, scb->phys, 0);
485 static int wd719x_reset(struct scsi_cmnd *cmd, u8 opcode, u8 device)
489 struct wd719x *wd = shost_priv(cmd->device->host);
493 (opcode == WD719X_CMD_BUSRESET) ? "bus" : "device");
496 result = wd719x_direct_cmd(wd, opcode, device, 0, 0, 0,
498 /* flush all SCBs (or all for a device if dev_reset) */
501 scb->cmd->device->id == device)
513 return wd719x_reset(cmd, WD719X_CMD_RESET, cmd->device->id);
523 struct wd719x *wd = shost_priv(cmd->device->host);
631 scb->cmd->device->id);