Lines Matching refs:mesh_softc
98 struct mesh_softc { struct
135 static inline int mesh_read_reg(struct mesh_softc *, int); argument
136 static inline void mesh_set_reg(struct mesh_softc *, int, int);
142 static void mesh_error(struct mesh_softc *, struct mesh_scb *, int, int);
143 static void mesh_select(struct mesh_softc *, struct mesh_scb *);
144 static void mesh_identify(struct mesh_softc *, struct mesh_scb *);
145 static void mesh_command(struct mesh_softc *, struct mesh_scb *);
146 static void mesh_dma_setup(struct mesh_softc *, struct mesh_scb *);
147 static void mesh_dataio(struct mesh_softc *, struct mesh_scb *);
148 static void mesh_status(struct mesh_softc *, struct mesh_scb *);
149 static void mesh_msgin(struct mesh_softc *, struct mesh_scb *);
150 static void mesh_msgout(struct mesh_softc *, int);
151 static void mesh_bus_reset(struct mesh_softc *);
152 static void mesh_reset(struct mesh_softc *);
153 static int mesh_stp(struct mesh_softc *, int);
154 static void mesh_setsync(struct mesh_softc *, struct mesh_tinfo *);
155 static struct mesh_scb *mesh_get_scb(struct mesh_softc *);
156 static void mesh_free_scb(struct mesh_softc *, struct mesh_scb *);
159 static void mesh_sched(struct mesh_softc *);
160 static int mesh_poll(struct mesh_softc *, struct scsipi_xfer *);
161 static void mesh_done(struct mesh_softc *, struct mesh_scb *);
181 CFATTACH_DECL_NEW(mesh, sizeof(struct mesh_softc),
204 struct mesh_softc *sc = device_private(self); in mesh_attach()
280 mesh_read_reg(struct mesh_softc *sc, int reg) in mesh_read_reg()
286 mesh_set_reg(struct mesh_softc *sc, int reg, int val) in mesh_set_reg()
294 struct mesh_softc *sc; in mesh_shutdown()
321 struct mesh_softc *sc = arg; in mesh_intr()
450 mesh_error(struct mesh_softc *sc, struct mesh_scb *scb, int error, int exception) in mesh_error()
481 mesh_select(struct mesh_softc *sc, struct mesh_scb *scb) in mesh_select()
521 mesh_identify(struct mesh_softc *sc, struct mesh_scb *scb) in mesh_identify()
540 mesh_command(struct mesh_softc *sc, struct mesh_scb *scb) in mesh_command()
568 mesh_dma_setup(struct mesh_softc *sc, struct mesh_scb *scb) in mesh_dma_setup()
621 mesh_dataio(struct mesh_softc *sc, struct mesh_scb *scb) in mesh_dataio()
643 mesh_status(struct mesh_softc *sc, struct mesh_scb *scb) in mesh_status()
666 mesh_msgin(struct mesh_softc *sc, struct mesh_scb *scb) in mesh_msgin()
777 mesh_msgout(struct mesh_softc *sc, int msg) in mesh_msgout()
828 mesh_bus_reset(struct mesh_softc *sc) in mesh_bus_reset()
844 mesh_reset(struct mesh_softc *sc) in mesh_reset()
892 mesh_stp(struct mesh_softc *sc, int v) in mesh_stp()
906 mesh_setsync(struct mesh_softc *sc, struct mesh_tinfo *ti) in mesh_setsync()
931 mesh_get_scb(struct mesh_softc *sc) in mesh_get_scb()
945 mesh_free_scb(struct mesh_softc *sc, struct mesh_scb *scb) in mesh_free_scb()
959 struct mesh_softc *sc = device_private(chan->chan_adapter->adapt_dev); in mesh_scsi_request()
1039 mesh_sched(struct mesh_softc *sc) in mesh_sched()
1060 mesh_poll(struct mesh_softc *sc, struct scsipi_xfer *xs) in mesh_poll()
1077 mesh_done(struct mesh_softc *sc, struct mesh_scb *scb) in mesh_done()
1112 struct mesh_softc *sc = in mesh_timeout()