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);
469 struct device *dev = &wd->pdev->dev;
476 result = wd719x_direct_cmd(wd, action, cmd->device->id,
477 cmd->device->lun, scsi_cmd_to_rq(cmd)->tag,
487 static int wd719x_reset(struct scsi_cmnd *cmd, u8 opcode, u8 device)
491 struct wd719x *wd = shost_priv(cmd->device->host);
495 (opcode == WD719X_CMD_BUSRESET) ? "bus" : "device");
498 result = wd719x_direct_cmd(wd, opcode, device, 0, 0, 0,
500 /* flush all SCBs (or all for a device if dev_reset) */
503 scb->cmd->device->id == device)
515 return wd719x_reset(cmd, WD719X_CMD_RESET, cmd->device->id);
525 struct wd719x *wd = shost_priv(cmd->device->host);
633 scb->cmd->device->id);