Home
last modified time | relevance | path

Searched refs:ispsoftc (Results 1 – 10 of 10) sorted by relevance

/mirbsd/src/sys/dev/ic/
Disp_inline.h42 static INLINE int isp_save_xs(struct ispsoftc *, XS_T *, u_int16_t *);
43 static INLINE XS_T *isp_find_xs(struct ispsoftc *, u_int16_t);
44 static INLINE u_int16_t isp_find_handle(struct ispsoftc *, XS_T *);
46 static INLINE void isp_destroy_handle(struct ispsoftc *, u_int16_t);
47 static INLINE void isp_remove_handle(struct ispsoftc *, XS_T *);
50 isp_save_xs(struct ispsoftc *isp, XS_T *xs, u_int16_t *handlep) in isp_save_xs()
74 isp_find_xs(struct ispsoftc *isp, u_int16_t handle) in isp_find_xs()
84 isp_find_handle(struct ispsoftc *isp, XS_T *xs) in isp_find_handle()
104 isp_destroy_handle(struct ispsoftc *isp, u_int16_t handle) in isp_destroy_handle()
112 isp_remove_handle(struct ispsoftc *isp, XS_T *xs) in isp_remove_handle()
[all …]
Dispvar.h65 struct ispsoftc;
68 (struct ispsoftc *, u_int16_t *, u_int16_t *, u_int16_t *);
69 u_int16_t (*dv_rd_reg) (struct ispsoftc *, int);
70 void (*dv_wr_reg) (struct ispsoftc *, int, u_int16_t);
71 int (*dv_mbxdma) (struct ispsoftc *);
72 int (*dv_dmaset) (struct ispsoftc *,
75 (struct ispsoftc *, XS_T *, u_int16_t);
76 void (*dv_reset0) (struct ispsoftc *);
77 void (*dv_reset1) (struct ispsoftc *);
78 void (*dv_dregs) (struct ispsoftc *, const char *);
[all …]
Disp_target.c60 static void isp_got_msg(struct ispsoftc *, int, in_entry_t *);
61 static void isp_got_msg_fc(struct ispsoftc *, int, in_fcentry_t *);
62 static void isp_notify_ack(struct ispsoftc *, void *);
63 static void isp_handle_atio(struct ispsoftc *, at_entry_t *);
64 static void isp_handle_atio2(struct ispsoftc *, at2_entry_t *);
65 static void isp_handle_ctio(struct ispsoftc *, ct_entry_t *);
66 static void isp_handle_ctio2(struct ispsoftc *, ct2_entry_t *);
115 isp_target_notify(struct ispsoftc *isp, void *vptr, u_int16_t *optrp) in isp_target_notify()
282 isp_lun_cmd(struct ispsoftc *isp, int cmd, int bus, int tgt, int lun, in isp_lun_cmd()
336 isp_target_put_entry(struct ispsoftc *isp, void *ap) in isp_target_put_entry()
[all …]
Disp_openbsd.c69 static int isp_polled_cmd (struct ispsoftc *, XS_T *);
73 static void isp_restart(struct ispsoftc *);
84 isp_attach(struct ispsoftc *isp) in isp_attach()
195 struct ispsoftc *isp = XS_ISP(xs); in ispcmd_slow()
267 static INLINE void isp_add2_blocked_queue(struct ispsoftc *, XS_T *);
270 isp_add2_blocked_queue(struct ispsoftc *isp, XS_T *xs) in isp_add2_blocked_queue()
284 struct ispsoftc *isp; in ispcmd()
381 isp_polled_cmd(struct ispsoftc *isp, XS_T *xs) in isp_polled_cmd()
448 struct ispsoftc *isp = XS_ISP(xs); in isp_done()
454 struct ispsoftc *isp = XS_ISP(xs); in isp_done()
[all …]
Disp_openbsd.h305 void isp_attach(struct ispsoftc *);
306 void isp_uninit(struct ispsoftc *);
308 static INLINE void isp_lock(struct ispsoftc *);
309 static INLINE void isp_unlock(struct ispsoftc *);
312 static void isp_wait_complete(struct ispsoftc *);
349 isp_lock(struct ispsoftc *isp) in isp_lock()
360 isp_unlock(struct ispsoftc *isp) in isp_unlock()
381 isp_wait_complete(struct ispsoftc *isp) in isp_wait_complete()
Disp.c116 static int isp_parse_async(struct ispsoftc *, u_int16_t);
117 static int isp_handle_other_response(struct ispsoftc *, int, isphdr_t *,
120 isp_parse_status(struct ispsoftc *, ispstatusreq_t *, XS_T *);
121 static void isp_fastpost_complete(struct ispsoftc *, u_int16_t);
122 static int isp_mbox_continue(struct ispsoftc *);
123 static void isp_scsi_init(struct ispsoftc *);
124 static void isp_scsi_channel_init(struct ispsoftc *, int);
125 static void isp_fibre_init(struct ispsoftc *);
126 static void isp_mark_getpdb_all(struct ispsoftc *);
127 static int isp_getmap(struct ispsoftc *, fcpos_map_t *);
[all …]
Disp_target.h522 int isp_target_notify(struct ispsoftc *, void *, u_int16_t *);
530 int isp_lun_cmd(struct ispsoftc *, int, int, int, int, int, int, u_int32_t);
535 int isp_target_put_entry(struct ispsoftc *isp, void *);
543 int isp_target_put_atio(struct ispsoftc *, void *);
549 int isp_endcmd(struct ispsoftc *, void *, u_int32_t, u_int16_t);
558 int isp_target_async(struct ispsoftc *, int, int);
/mirbsd/src/sys/arch/sparc/dev/
Disp_sbus.c60 isp_sbus_rd_isr(struct ispsoftc *, u_int16_t *, u_int16_t *, u_int16_t *);
61 static u_int16_t isp_sbus_rd_reg(struct ispsoftc *, int);
62 static void isp_sbus_wr_reg(struct ispsoftc *, int, u_int16_t);
63 static int isp_sbus_mbxdma(struct ispsoftc *);
64 static int isp_sbus_dmasetup(struct ispsoftc *, struct scsi_xfer *,
67 isp_sbus_dmateardown(struct ispsoftc *, struct scsi_xfer *, u_int16_t);
89 struct ispsoftc sbus_isp;
147 struct ispsoftc *isp = &sbc->sbus_isp; in isp_sbus_attach()
288 isp_sbus_rd_isr(struct ispsoftc *isp, u_int16_t *isrp, in isp_sbus_rd_isr()
310 isp_sbus_rd_reg(struct ispsoftc *isp, int regoff) in isp_sbus_rd_reg()
[all …]
/mirbsd/src/sys/dev/sbus/
Disp_sbus.c83 isp_sbus_rd_isr(struct ispsoftc *, u_int16_t *, u_int16_t *, u_int16_t *);
84 static u_int16_t isp_sbus_rd_reg(struct ispsoftc *, int);
85 static void isp_sbus_wr_reg (struct ispsoftc *, int, u_int16_t);
86 static int isp_sbus_mbxdma(struct ispsoftc *);
87 static int isp_sbus_dmasetup(struct ispsoftc *, XS_T *, ispreq_t *, u_int16_t *,
89 static void isp_sbus_dmateardown(struct ispsoftc *, XS_T *, u_int16_t);
109 struct ispsoftc sbus_isp;
162 struct ispsoftc *isp = &sbc->sbus_isp; in isp_sbus_attach()
311 struct ispsoftc *isp = arg; in isp_sbus_intr()
333 isp_sbus_rd_isr(struct ispsoftc *isp, u_int16_t *isrp, in isp_sbus_rd_isr()
[all …]
/mirbsd/src/sys/dev/pci/
Disp_pci.c43 static u_int16_t isp_pci_rd_reg(struct ispsoftc *, int);
44 static void isp_pci_wr_reg(struct ispsoftc *, int, u_int16_t);
46 static u_int16_t isp_pci_rd_reg_1080(struct ispsoftc *, int);
47 static void isp_pci_wr_reg_1080(struct ispsoftc *, int, u_int16_t);
50 isp_pci_rd_isr(struct ispsoftc *, u_int16_t *, u_int16_t *, u_int16_t *);
53 isp_pci_rd_isr_2300(struct ispsoftc *, u_int16_t *, u_int16_t *, u_int16_t *);
55 static int isp_pci_mbxdma(struct ispsoftc *);
56 static int isp_pci_dmasetup(struct ispsoftc *, struct scsi_xfer *,
59 isp_pci_dmateardown (struct ispsoftc *, struct scsi_xfer *, u_int16_t);
60 static void isp_pci_reset1 (struct ispsoftc *);
[all …]