Lines Matching refs:njsc32_softc
97 static void njsc32_init(struct njsc32_softc *, int nosleep);
98 static int njsc32_init_cmds(struct njsc32_softc *);
99 static void njsc32_target_async(struct njsc32_softc *,
101 static void njsc32_init_targets(struct njsc32_softc *);
102 static void njsc32_add_msgout(struct njsc32_softc *, int);
103 static u_int32_t njsc32_get_auto_msgout(struct njsc32_softc *);
105 static void njsc32_msgout_wdtr(struct njsc32_softc *, int);
107 static void njsc32_msgout_sdtr(struct njsc32_softc *, int period,
109 static void njsc32_negotiate_xfer(struct njsc32_softc *,
111 static void njsc32_arbitration_failed(struct njsc32_softc *);
112 static void njsc32_start(struct njsc32_softc *);
113 static void njsc32_run_xfer(struct njsc32_softc *, struct scsipi_xfer *);
114 static void njsc32_end_cmd(struct njsc32_softc *, struct njsc32_cmd *,
117 static void njsc32_reset_bus(struct njsc32_softc *);
118 static void njsc32_clear_cmds(struct njsc32_softc *,
120 static void njsc32_set_ptr(struct njsc32_softc *, struct njsc32_cmd *,
122 static void njsc32_assert_ack(struct njsc32_softc *);
123 static void njsc32_negate_ack(struct njsc32_softc *);
124 static void njsc32_wait_req_negate(struct njsc32_softc *);
125 static void njsc32_reconnect(struct njsc32_softc *, struct njsc32_cmd *);
131 static enum njsc32_reselstat njsc32_resel_identify(struct njsc32_softc *,
133 static enum njsc32_reselstat njsc32_resel_tag(struct njsc32_softc *,
135 static void njsc32_cmd_reload(struct njsc32_softc *, struct njsc32_cmd *,
137 static void njsc32_update_xfer_mode(struct njsc32_softc *,
139 static void njsc32_msgin(struct njsc32_softc *);
140 static void njsc32_msgout(struct njsc32_softc *);
145 njsc32_read_1(struct njsc32_softc *sc, int no)
152 njsc32_read_2(struct njsc32_softc *sc, int no)
159 njsc32_read_4(struct njsc32_softc *sc, int no)
166 njsc32_write_1(struct njsc32_softc *sc, int no, int val)
173 njsc32_write_2(struct njsc32_softc *sc, int no, int val)
180 njsc32_write_4(struct njsc32_softc *sc, int no, u_int32_t val)
187 njsc32_ireg_read_1(struct njsc32_softc *sc, int no)
195 njsc32_ireg_write_1(struct njsc32_softc *sc, int no, int val)
203 njsc32_ireg_write_2(struct njsc32_softc *sc, int no, int val)
292 njsc32_init(struct njsc32_softc *sc, int nosleep)
418 njsc32_init_cmds(struct njsc32_softc *sc)
505 njsc32_target_async(struct njsc32_softc *sc, struct njsc32_target *target)
517 njsc32_init_targets(struct njsc32_softc *sc)
546 njsc32_attach(struct njsc32_softc *sc)
674 njsc32_detach(struct njsc32_softc *sc, int flags)
737 njsc32_init_msgout(struct njsc32_softc *sc)
745 njsc32_add_msgout(struct njsc32_softc *sc, int byte)
756 njsc32_get_auto_msgout(struct njsc32_softc *sc)
787 njsc32_msgout_wdtr(struct njsc32_softc *sc, int width)
799 njsc32_msgout_sdtr(struct njsc32_softc *sc, int period, int offset)
810 njsc32_negotiate_xfer(struct njsc32_softc *sc, struct njsc32_target *target)
862 njsc32_led_on(struct njsc32_softc *sc)
870 njsc32_led_off(struct njsc32_softc *sc)
877 njsc32_arbitration_failed(struct njsc32_softc *sc)
896 njsc32_cmd_load(struct njsc32_softc *sc, struct njsc32_cmd *cmd)
1017 njsc32_start(struct njsc32_softc *sc)
1063 njsc32_run_xfer(struct njsc32_softc *sc, struct scsipi_xfer *xs)
1195 njsc32_end_cmd(struct njsc32_softc *sc, struct njsc32_cmd *cmd,
1253 struct njsc32_softc *sc;
1311 struct njsc32_softc *sc = arg;
1352 njsc32_reset_bus(struct njsc32_softc *sc)
1393 njsc32_clear_cmds(struct njsc32_softc *sc, scsipi_xfer_result_t cmdresult)
1428 struct njsc32_softc *sc;
1462 njsc32_set_ptr(struct njsc32_softc *sc, struct njsc32_cmd *cmd, u_int32_t pos)
1534 njsc32_assert_ack(struct njsc32_softc *sc)
1547 njsc32_negate_ack(struct njsc32_softc *sc)
1561 njsc32_wait_req_negate(struct njsc32_softc *sc)
1576 njsc32_reconnect(struct njsc32_softc *sc, struct njsc32_cmd *cmd)
1593 njsc32_resel_identify(struct njsc32_softc *sc, int lun,
1647 njsc32_resel_tag(struct njsc32_softc *sc, int tag, struct njsc32_cmd **pcmd)
1682 njsc32_cmd_reload(struct njsc32_softc *sc, struct njsc32_cmd *cmd, int cctl)
1710 njsc32_update_xfer_mode(struct njsc32_softc *sc, struct njsc32_target *target)
1727 njsc32_msgin(struct njsc32_softc *sc)
2125 njsc32_msgout(struct njsc32_softc *sc)
2194 struct njsc32_softc *sc;
2221 struct njsc32_softc *sc;
2250 njsc32_end_auto(struct njsc32_softc *sc, struct njsc32_cmd *cmd, int auto_phase)
2337 struct njsc32_softc *sc = arg;