Lines Matching refs:scsi_cmnd

528 static void __unmap_scsi_data(struct device *dev, struct scsi_cmnd *cmd)  in __unmap_scsi_data()
538 static int __map_scsi_sg_data(struct device *dev, struct scsi_cmnd *cmd) in __map_scsi_sg_data()
1552 struct scsi_cmnd *cmd; /* SCSI command */
1611 struct scsi_cmnd *waiting_list; /* Commands waiting for a CCB */
1613 struct scsi_cmnd *done_list; /* Commands waiting for done() */
1929 static struct ccb *ncr_get_ccb (struct ncb *np, struct scsi_cmnd *cmd);
1943 static int ncr_scatter (struct ncb *np, struct ccb *cp, struct scsi_cmnd *cmd);
1955 static void insert_into_waiting_list(struct ncb *np, struct scsi_cmnd *cmd);
1956 static struct scsi_cmnd *retrieve_from_waiting_list(int to_remove, struct ncb *np, struct scsi_cmnd
4028 static inline void ncr_queue_done_cmd(struct ncb *np, struct scsi_cmnd *cmd) in ncr_queue_done_cmd()
4035 static inline void ncr_flush_done_cmds(struct scsi_cmnd *lcmd) in ncr_flush_done_cmds()
4037 struct scsi_cmnd *cmd; in ncr_flush_done_cmds()
4041 lcmd = (struct scsi_cmnd *) cmd->host_scribble; in ncr_flush_done_cmds()
4119 static int ncr_queue_command (struct ncb *np, struct scsi_cmnd *cmd) in ncr_queue_command()
4562 static int ncr_reset_bus (struct ncb *np, struct scsi_cmnd *cmd, int sync_reset) in ncr_reset_bus()
4631 static int ncr_abort_command (struct ncb *np, struct scsi_cmnd *cmd)
4818 struct scsi_cmnd *cmd; in ncr_complete()
5532 struct scsi_cmnd *cmd = cp->cmd; in ncr_setsync()
5589 struct scsi_cmnd *cmd = cp->cmd; in ncr_setwide()
6543 struct scsi_cmnd *cmd = cp->cmd; in ncr_sir_to_redo()
7143 static struct ccb *ncr_get_ccb(struct ncb *np, struct scsi_cmnd *cmd) in ncr_get_ccb()
7647 static int ncr_scatter(struct ncb *np, struct ccb *cp, struct scsi_cmnd *cmd) in ncr_scatter()
8028 static int ncr53c8xx_queue_command_lck (struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) argument
8075 struct scsi_cmnd *done_list;
8100 struct scsi_cmnd *done_list;
8112 static int ncr53c8xx_bus_reset(struct scsi_cmnd *cmd)
8117 struct scsi_cmnd *done_list;
8139 static int ncr53c8xx_abort(struct scsi_cmnd *cmd)
8144 struct scsi_cmnd *done_list;
8178 static void insert_into_waiting_list(struct ncb *np, struct scsi_cmnd *cmd)
8180 struct scsi_cmnd *wcmd;
8189 wcmd = (struct scsi_cmnd *) wcmd->next_wcmd;
8194 static struct scsi_cmnd *retrieve_from_waiting_list(int to_remove, struct ncb *np, struct scsi_cmnd
8196 struct scsi_cmnd **pcmd = &np->waiting_list;
8201 *pcmd = (struct scsi_cmnd *) cmd->next_wcmd;
8209 pcmd = (struct scsi_cmnd **) &(*pcmd)->next_wcmd;
8216 struct scsi_cmnd *waiting_list, *wcmd;
8225 waiting_list = (struct scsi_cmnd *) wcmd->next_wcmd;