Lines Matching refs:mesh_state

144 struct mesh_state {  struct
150 struct mesh_state *next; argument
186 static void mesh_done(struct mesh_state *ms, int start_next); argument
187 static void mesh_interrupt(struct mesh_state *ms);
188 static void cmd_complete(struct mesh_state *ms);
189 static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd);
190 static void halt_dma(struct mesh_state *ms);
191 static void phase_mismatch(struct mesh_state *ms);
213 static void dlog(struct mesh_state *ms, char *fmt, int a) in dlog()
238 static void dumplog(struct mesh_state *ms, int t) in dumplog()
264 static void dumpslog(struct mesh_state *ms) in dumpslog()
291 static inline void dlog(struct mesh_state *ms, char *fmt, int a) in dlog()
293 static inline void dumplog(struct mesh_state *ms, int tgt) in dumplog()
295 static inline void dumpslog(struct mesh_state *ms) in dumpslog()
303 mesh_dump_regs(struct mesh_state *ms) in mesh_dump_regs()
349 static void mesh_init(struct mesh_state *ms) in mesh_init()
396 static void mesh_start_cmd(struct mesh_state *ms, struct scsi_cmnd *cmd) in mesh_start_cmd()
549 static void mesh_start(struct mesh_state *ms) in mesh_start()
580 static void mesh_done(struct mesh_state *ms, int start_next) in mesh_done()
620 static inline void add_sdtr_msg(struct mesh_state *ms) in add_sdtr_msg()
632 static void set_sdtr(struct mesh_state *ms, int period, int offset) in set_sdtr()
673 static void start_phase(struct mesh_state *ms) in start_phase()
818 static inline void get_msgin(struct mesh_state *ms) in get_msgin()
832 static inline int msgin_length(struct mesh_state *ms) in msgin_length()
850 static void reselected(struct mesh_state *ms) in reselected()
971 static void do_abort(struct mesh_state *ms) in do_abort()
980 static void handle_reset(struct mesh_state *ms) in handle_reset()
1016 struct mesh_state *ms = dev_id; in do_mesh_interrupt()
1025 static void handle_error(struct mesh_state *ms) in handle_error()
1121 static void handle_exception(struct mesh_state *ms) in handle_exception()
1153 static void handle_msgin(struct mesh_state *ms) in handle_msgin()
1254 static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd) in set_dma_cmds()
1315 static void halt_dma(struct mesh_state *ms) in halt_dma()
1361 static void phase_mismatch(struct mesh_state *ms) in phase_mismatch()
1440 static void cmd_complete(struct mesh_state *ms) in cmd_complete()
1630 struct mesh_state *ms; in mesh_queue_lck()
1634 ms = (struct mesh_state *) cmd->device->host->hostdata; in mesh_queue_lck()
1655 static void mesh_interrupt(struct mesh_state *ms) in DEF_SCSI_QCMD()
1687 struct mesh_state *ms = (struct mesh_state *) cmd->device->host->hostdata; in mesh_abort()
1704 struct mesh_state *ms = (struct mesh_state *) cmd->device->host->hostdata; in mesh_host_reset()
1741 static void set_mesh_power(struct mesh_state *ms, int state) in set_mesh_power()
1758 struct mesh_state *ms = (struct mesh_state *)macio_get_drvdata(mdev); in mesh_suspend()
1789 struct mesh_state *ms = (struct mesh_state *)macio_get_drvdata(mdev); in mesh_resume()
1815 struct mesh_state *ms = (struct mesh_state *)macio_get_drvdata(mdev); in mesh_shutdown()
1853 struct mesh_state *ms; in mesh_probe()
1879 mesh_host = scsi_host_alloc(&mesh_template, sizeof(struct mesh_state)); in mesh_probe()
1887 ms = (struct mesh_state *) mesh_host->hostdata; in mesh_probe()
1991 struct mesh_state *ms = (struct mesh_state *)macio_get_drvdata(mdev); in mesh_remove()