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) in njsc32_read_1()
152 njsc32_read_2(struct njsc32_softc *sc, int no) in njsc32_read_2()
159 njsc32_read_4(struct njsc32_softc *sc, int no) in njsc32_read_4()
166 njsc32_write_1(struct njsc32_softc *sc, int no, int val) in njsc32_write_1()
173 njsc32_write_2(struct njsc32_softc *sc, int no, int val) in njsc32_write_2()
180 njsc32_write_4(struct njsc32_softc *sc, int no, u_int32_t val) in njsc32_write_4()
187 njsc32_ireg_read_1(struct njsc32_softc *sc, int no) in njsc32_ireg_read_1()
195 njsc32_ireg_write_1(struct njsc32_softc *sc, int no, int val) in njsc32_ireg_write_1()
203 njsc32_ireg_write_2(struct njsc32_softc *sc, int no, int val) in njsc32_ireg_write_2()
292 njsc32_init(struct njsc32_softc *sc, int nosleep) in njsc32_init()
418 njsc32_init_cmds(struct njsc32_softc *sc) in njsc32_init_cmds()
505 njsc32_target_async(struct njsc32_softc *sc, struct njsc32_target *target) in njsc32_target_async()
517 njsc32_init_targets(struct njsc32_softc *sc) in njsc32_init_targets()
546 njsc32_attach(struct njsc32_softc *sc) in njsc32_attach()
674 njsc32_detach(struct njsc32_softc *sc, int flags) in njsc32_detach()
737 njsc32_init_msgout(struct njsc32_softc *sc) in njsc32_init_msgout()
745 njsc32_add_msgout(struct njsc32_softc *sc, int byte) in njsc32_add_msgout()
756 njsc32_get_auto_msgout(struct njsc32_softc *sc) in njsc32_get_auto_msgout()
787 njsc32_msgout_wdtr(struct njsc32_softc *sc, int width) in njsc32_msgout_wdtr()
799 njsc32_msgout_sdtr(struct njsc32_softc *sc, int period, int offset) in njsc32_msgout_sdtr()
810 njsc32_negotiate_xfer(struct njsc32_softc *sc, struct njsc32_target *target) in njsc32_negotiate_xfer()
862 njsc32_led_on(struct njsc32_softc *sc) in njsc32_led_on()
870 njsc32_led_off(struct njsc32_softc *sc) in njsc32_led_off()
877 njsc32_arbitration_failed(struct njsc32_softc *sc) in njsc32_arbitration_failed()
896 njsc32_cmd_load(struct njsc32_softc *sc, struct njsc32_cmd *cmd) in njsc32_cmd_load()
1017 njsc32_start(struct njsc32_softc *sc) in njsc32_start()
1063 njsc32_run_xfer(struct njsc32_softc *sc, struct scsipi_xfer *xs) in njsc32_run_xfer()
1195 njsc32_end_cmd(struct njsc32_softc *sc, struct njsc32_cmd *cmd, in njsc32_end_cmd()
1253 struct njsc32_softc *sc; in njsc32_scsipi_request()
1311 struct njsc32_softc *sc = arg; in njsc32_wait_reset_release()
1352 njsc32_reset_bus(struct njsc32_softc *sc) in njsc32_reset_bus()
1393 njsc32_clear_cmds(struct njsc32_softc *sc, scsipi_xfer_result_t cmdresult) in njsc32_clear_cmds()
1428 struct njsc32_softc *sc; in njsc32_scsipi_ioctl()
1462 njsc32_set_ptr(struct njsc32_softc *sc, struct njsc32_cmd *cmd, u_int32_t pos) in njsc32_set_ptr()
1534 njsc32_assert_ack(struct njsc32_softc *sc) in njsc32_assert_ack()
1547 njsc32_negate_ack(struct njsc32_softc *sc) in njsc32_negate_ack()
1561 njsc32_wait_req_negate(struct njsc32_softc *sc) in njsc32_wait_req_negate()
1576 njsc32_reconnect(struct njsc32_softc *sc, struct njsc32_cmd *cmd) in njsc32_reconnect()
1593 njsc32_resel_identify(struct njsc32_softc *sc, int lun, in njsc32_resel_identify()
1647 njsc32_resel_tag(struct njsc32_softc *sc, int tag, struct njsc32_cmd **pcmd) in njsc32_resel_tag()
1682 njsc32_cmd_reload(struct njsc32_softc *sc, struct njsc32_cmd *cmd, int cctl) in njsc32_cmd_reload()
1710 njsc32_update_xfer_mode(struct njsc32_softc *sc, struct njsc32_target *target) in njsc32_update_xfer_mode()
1727 njsc32_msgin(struct njsc32_softc *sc) in njsc32_msgin()
2125 njsc32_msgout(struct njsc32_softc *sc) in njsc32_msgout()
2194 struct njsc32_softc *sc; in njsc32_cmdtimeout()
2221 struct njsc32_softc *sc; in njsc32_reseltimeout()
2250 njsc32_end_auto(struct njsc32_softc *sc, struct njsc32_cmd *cmd, int auto_phase) in njsc32_end_auto()
2337 struct njsc32_softc *sc = arg; in njsc32_intr()