Lines Matching refs:iha_scb

157 static void iha_append_free_scb(struct iha_softc *, struct iha_scb *);
158 static void iha_append_done_scb(struct iha_softc *, struct iha_scb *, uint8_t);
159 static inline struct iha_scb *iha_pop_done_scb(struct iha_softc *);
161 static struct iha_scb *iha_find_pend_scb(struct iha_softc *);
162 static inline void iha_append_pend_scb(struct iha_softc *, struct iha_scb *);
163 static inline void iha_push_pend_scb(struct iha_softc *, struct iha_scb *);
164 static inline void iha_del_pend_scb(struct iha_softc *, struct iha_scb *);
165 static inline void iha_mark_busy_scb(struct iha_scb *);
182 static void iha_select(struct iha_softc *, struct iha_scb *, uint8_t);
185 static void iha_exec_scb(struct iha_softc *, struct iha_scb *);
186 static void iha_done_scb(struct iha_softc *, struct iha_scb *);
187 static int iha_push_sense_request(struct iha_softc *, struct iha_scb *);
191 static uint8_t iha_data_over_run(struct iha_scb *);
202 static int iha_xfer_data(struct iha_softc *, struct iha_scb *, int);
242 iha_append_free_scb(struct iha_softc *sc, struct iha_scb *scb)
273 iha_append_done_scb(struct iha_softc *sc, struct iha_scb *scb, uint8_t hastat)
302 static inline struct iha_scb *
305 struct iha_scb *scb;
328 static struct iha_scb *
331 struct iha_scb *scb;
383 iha_append_pend_scb(struct iha_softc *sc, struct iha_scb *scb)
396 iha_push_pend_scb(struct iha_softc *sc, struct iha_scb *scb)
416 iha_del_pend_scb(struct iha_softc *sc, struct iha_scb *scb)
428 iha_mark_busy_scb(struct iha_scb *scb)
500 struct iha_scb *scb;
526 sc->sc_scb = malloc(sizeof(struct iha_scb) * IHA_MAX_SCB,
674 struct iha_scb *scb;
810 struct iha_scb *scb;
908 struct iha_scb *scb;
937 struct iha_scb *scb;
1028 iha_select(struct iha_softc *sc, struct iha_scb *scb, uint8_t select_type)
1142 iha_exec_scb(struct iha_softc *sc, struct iha_scb *scb)
1215 iha_done_scb(struct iha_softc *sc, struct iha_scb *scb)
1314 iha_push_sense_request(struct iha_softc *sc, struct iha_scb *scb)
1357 struct iha_scb *scb = (struct iha_scb *)arg;
1384 struct iha_scb *scb;
1432 iha_data_over_run(struct iha_scb *scb)
1568 struct iha_scb *scb = sc->sc_actscb;
1628 struct iha_scb *scb = sc->sc_actscb;
1654 struct iha_scb *scb = sc->sc_actscb;
1708 struct iha_scb *scb = sc->sc_actscb;
1770 struct iha_scb *scb = sc->sc_actscb;
1916 struct iha_scb *scb;
1961 iha_xfer_data(struct iha_softc *sc, struct iha_scb *scb, int direction)
2000 struct iha_scb *scb = sc->sc_actscb;
2031 struct iha_scb *scb = sc->sc_actscb;
2065 struct iha_scb *scb;
2136 struct iha_scb *scb;
2162 struct iha_scb *scb;
2615 struct iha_scb *scb = sc->sc_actscb;