Lines Matching refs:cmd
229 struct target_cmd *cmd);
4055 ahd_set_tags(struct ahd_softc *ahd, struct scsi_cmnd *cmd, in ahd_set_tags() argument
4058 struct scsi_device *sdev = cmd->device; in ahd_set_tags()
6204 uint32_t cmd; in ahd_reset() local
6216 cmd = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); in ahd_reset()
6229 mod_cmd = cmd & ~(PCIM_CMD_PERRESPEN|PCIM_CMD_SERRESPEN); in ahd_reset()
6260 cmd, /*bytes*/2); in ahd_reset()
10576 struct target_cmd *cmd; in ahd_run_tqinfifo() local
10579 while ((cmd = &ahd->targetcmds[ahd->tqinfifonext])->cmd_valid != 0) { in ahd_run_tqinfifo()
10585 if (ahd_handle_target_cmd(ahd, cmd) != 0) in ahd_run_tqinfifo()
10588 cmd->cmd_valid = 0; in ahd_run_tqinfifo()
10612 ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd) in ahd_handle_target_cmd() argument
10622 initiator = SCSIID_TARGET(ahd, cmd->scsiid); in ahd_handle_target_cmd()
10623 target = SCSIID_OUR_ID(cmd->scsiid); in ahd_handle_target_cmd()
10624 lun = (cmd->identify & MSG_IDENTIFY_LUNMASK); in ahd_handle_target_cmd()
10626 byte = cmd->bytes; in ahd_handle_target_cmd()
10704 if ((cmd->identify & MSG_IDENTIFY_DISCFLAG) == 0) { in ahd_handle_target_cmd()