Lines Matching refs:mesh_state

144 struct mesh_state {  struct
150 struct mesh_state *next; argument
183 static void dlog(struct mesh_state *ms, char *fmt, int a); argument
184 static void dumplog(struct mesh_state *ms, int tgt);
185 static void dumpslog(struct mesh_state *ms);
188 static inline void dlog(struct mesh_state *ms, char *fmt, int a) in dlog()
190 static inline void dumplog(struct mesh_state *ms, int tgt) in dumplog()
192 static inline void dumpslog(struct mesh_state *ms) in dumpslog()
198 static struct mesh_state *all_meshes;
200 static void mesh_init(struct mesh_state *);
202 static void mesh_dump_regs(struct mesh_state *);
203 static void mesh_start(struct mesh_state *);
204 static void mesh_start_cmd(struct mesh_state *, Scsi_Cmnd *);
205 static void add_sdtr_msg(struct mesh_state *);
206 static void set_sdtr(struct mesh_state *, int, int);
207 static void start_phase(struct mesh_state *);
208 static void get_msgin(struct mesh_state *);
209 static int msgin_length(struct mesh_state *);
210 static void cmd_complete(struct mesh_state *);
211 static void phase_mismatch(struct mesh_state *);
212 static void reselected(struct mesh_state *);
213 static void handle_reset(struct mesh_state *);
214 static void handle_error(struct mesh_state *);
215 static void handle_exception(struct mesh_state *);
218 static void handle_msgin(struct mesh_state *);
219 static void mesh_done(struct mesh_state *, int);
220 static void mesh_completed(struct mesh_state *, Scsi_Cmnd *);
221 static void set_dma_cmds(struct mesh_state *, Scsi_Cmnd *);
222 static void halt_dma(struct mesh_state *);
224 static void do_abort(struct mesh_state *ms);
225 static void set_mesh_power(struct mesh_state *ms, int state);
246 struct mesh_state *ms, **prev_statep; in mesh_detect()
301 mesh_host = scsi_register(tp, sizeof(struct mesh_state)); in mesh_detect()
311 ms = (struct mesh_state *) mesh_host->hostdata; in mesh_detect()
385 struct mesh_state *ms = (struct mesh_state *) host->hostdata; in mesh_release()
400 set_mesh_power(struct mesh_state *ms, int state) in set_mesh_power()
420 struct mesh_state *ms; in mesh_notify_sleep()
474 struct mesh_state *ms; in mesh_queue()
479 ms = (struct mesh_state *) cmd->host->hostdata; in mesh_queue()
500 struct mesh_state *ms = (struct mesh_state *) cmd->host->hostdata; in mesh_abort()
510 mesh_dump_regs(struct mesh_state *ms) in mesh_dump_regs()
551 struct mesh_state *ms = (struct mesh_state *) cmd->host->hostdata; in mesh_host_reset()
587 struct mesh_state *ms; in mesh_notify_reboot()
610 mesh_init(struct mesh_state *ms) in mesh_init()
657 mesh_start(struct mesh_state *ms) in mesh_start()
689 mesh_start_cmd(struct mesh_state *ms, Scsi_Cmnd *cmd) in mesh_start_cmd()
836 add_sdtr_msg(struct mesh_state *ms) in add_sdtr_msg()
849 set_sdtr(struct mesh_state *ms, int period, int offset) in set_sdtr()
891 start_phase(struct mesh_state *ms) in start_phase()
1034 get_msgin(struct mesh_state *ms) in get_msgin()
1049 msgin_length(struct mesh_state *ms) in msgin_length()
1068 cmd_complete(struct mesh_state *ms) in cmd_complete()
1247 static void phase_mismatch(struct mesh_state *ms) in phase_mismatch()
1325 reselected(struct mesh_state *ms) in reselected()
1442 static void do_abort(struct mesh_state *ms) in do_abort()
1452 handle_reset(struct mesh_state *ms) in handle_reset()
1494 static void handle_error(struct mesh_state *ms) in handle_error()
1588 static void handle_exception(struct mesh_state *ms) in handle_exception()
1623 struct mesh_state *ms = (struct mesh_state *) dev_id; in mesh_interrupt()
1649 handle_msgin(struct mesh_state *ms) in handle_msgin()
1748 mesh_done(struct mesh_state *ms, int start_next) in mesh_done()
1782 mesh_completed(struct mesh_state *ms, Scsi_Cmnd *cmd) in mesh_completed()
1791 set_dma_cmds(struct mesh_state *ms, Scsi_Cmnd *cmd) in set_dma_cmds()
1860 halt_dma(struct mesh_state *ms) in halt_dma()
1969 static void dlog(struct mesh_state *ms, char *fmt, int a) in dlog()
1994 static void dumplog(struct mesh_state *ms, int t) in dumplog()
2020 static void dumpslog(struct mesh_state *ms) in dumpslog()