Lines Matching refs:nsp_softc
129 static void nsp_pio_read(struct nsp_softc *, int);
130 static void nsp_pio_write(struct nsp_softc *, int);
131 static int nsp_xfer(struct nsp_softc *, u_int8_t *, int, int, int);
132 static int nsp_msg(struct nsp_softc *, struct targ_info *, u_int);
133 static int nsp_reselected(struct nsp_softc *);
134 static int nsp_disconnected(struct nsp_softc *, struct targ_info *);
135 static void nsp_pdma_end(struct nsp_softc *, struct targ_info *);
136 static void nsphw_init(struct nsp_softc *);
137 static int nsp_target_nexus_establish(struct nsp_softc *);
138 static int nsp_lun_nexus_establish(struct nsp_softc *);
139 static int nsp_ccb_nexus_establish(struct nsp_softc *);
140 static int nsp_world_start(struct nsp_softc *, int);
141 static int nsphw_start_selection(struct nsp_softc *sc, struct slccb *);
142 static void nsphw_bus_reset(struct nsp_softc *);
143 static void nsphw_attention(struct nsp_softc *);
144 static u_int nsp_fifo_count(struct nsp_softc *);
145 static u_int nsp_request_count(struct nsp_softc *);
146 static int nsp_negate_signal(struct nsp_softc *, u_int8_t, u_char *);
147 static int nsp_expect_signal(struct nsp_softc *, u_int8_t, u_int8_t);
148 static void nsp_start_timer(struct nsp_softc *, int);
149 static void nsp_setup_fifo(struct nsp_softc *, int, int, int);
150 static int nsp_targ_init(struct nsp_softc *, struct targ_info *, int);
151 static void nsphw_selection_done_and_expect_msgout(struct nsp_softc *);
152 static void nsp_data_padding(struct nsp_softc *, int, u_int);
153 static int nsp_timeout(struct nsp_softc *);
154 static int nsp_read_fifo(struct nsp_softc *, int);
155 static int nsp_write_fifo(struct nsp_softc *, int);
156 static int nsp_phase_match(struct nsp_softc *, u_int8_t, u_int8_t);
157 static int nsp_wait_interrupt(struct nsp_softc *);
205 nsp_expect_signal(struct nsp_softc *sc, u_int8_t curphase, u_int8_t mask)
235 struct nsp_softc *sc;
282 struct nsp_softc *sc;
295 struct nsp_softc *sc;
314 struct nsp_softc *sc;
336 struct nsp_softc *sc;
440 struct nsp_softc *sc;
490 struct nsp_softc *sc;
554 struct nsp_softc *sc;
573 struct nsp_softc *sc;
602 struct nsp_softc *sc;
622 struct nsp_softc *sc;
637 struct nsp_softc *sc;
652 struct nsp_softc *sc;
711 struct nsp_softc *sc;
782 struct nsp_softc *sc;
808 struct nsp_softc *sc;
899 struct nsp_softc *sc;
972 struct nsp_softc *sc;
998 struct nsp_softc *sc;
1077 struct nsp_softc *sc;
1187 nsp_negate_signal(struct nsp_softc *sc, u_int8_t mask, u_char *s)
1211 struct nsp_softc *sc;
1254 struct nsp_softc *sc;
1285 struct nsp_softc *sc;
1311 static void nsp_error(struct nsp_softc *, u_char *, u_int8_t, u_int8_t, u_int8_t);
1314 nsp_error(struct nsp_softc * sc, u_char *s, u_int8_t isrc, u_int8_t ph,
1326 struct nsp_softc *sc;
1345 struct nsp_softc *sc;
1353 struct nsp_softc *sc;
1388 nsp_phase_match(struct nsp_softc *sc, u_int8_t phase, u_int8_t stat)
1409 struct nsp_softc *sc = arg;
1814 struct nsp_softc *sc;