Home
last modified time | relevance | path

Searched refs:ispsoftc_t (Results 1 – 9 of 9) sorted by relevance

/freebsd-9-stable/sys/dev/isp/
Disp_library.h39 int isp_send_cmd(ispsoftc_t *, void *, void *, uint32_t, uint32_t, isp_ddir_t, ispds64_t *);
46 int isp_allocate_xs(ispsoftc_t *, XS_T *, uint32_t *);
47 XS_T * isp_find_xs(ispsoftc_t *, uint32_t);
48 uint32_t isp_find_handle(ispsoftc_t *, XS_T *);
49 uint32_t isp_handle_index(ispsoftc_t *, uint32_t);
50 void isp_destroy_handle(ispsoftc_t *, uint32_t);
55 void *isp_getrqentry(ispsoftc_t *);
60 void isp_print_qentry (ispsoftc_t *, const char *, int, void *);
61 void isp_print_bytes(ispsoftc_t *, const char *, int, void *);
67 int isp_fc_runstate(ispsoftc_t *, int, int);
[all …]
Dispvar.h59 typedef struct ispsoftc ispsoftc_t; typedef
61 int (*dv_rd_isr) (ispsoftc_t *, uint32_t *, uint16_t *, uint16_t *);
62 uint32_t (*dv_rd_reg) (ispsoftc_t *, int);
63 void (*dv_wr_reg) (ispsoftc_t *, int, uint32_t);
64 int (*dv_mbxdma) (ispsoftc_t *);
65 int (*dv_dmaset) (ispsoftc_t *, XS_T *, void *);
66 void (*dv_dmaclr) (ispsoftc_t *, XS_T *, uint32_t);
67 void (*dv_reset0) (ispsoftc_t *);
68 void (*dv_reset1) (ispsoftc_t *);
69 void (*dv_dregs) (ispsoftc_t *, const char *);
[all …]
Disp_sbus.c54 static uint32_t isp_sbus_rd_reg(ispsoftc_t *, int);
55 static void isp_sbus_wr_reg(ispsoftc_t *, int, uint32_t);
56 static int isp_sbus_rd_isr(ispsoftc_t *, uint32_t *, uint16_t *, uint16_t *);
57 static int isp_sbus_mbxdma(ispsoftc_t *);
58 static int isp_sbus_dmasetup(ispsoftc_t *, XS_T *, void *);
61 static void isp_sbus_reset0(ispsoftc_t *);
62 static void isp_sbus_reset1(ispsoftc_t *);
63 static void isp_sbus_dumpregs(ispsoftc_t *, const char *);
86 ispsoftc_t sbus_isp;
145 ispsoftc_t *isp = NULL; in isp_sbus_attach()
[all …]
Disp_pci.c56 static uint32_t isp_pci_rd_reg(ispsoftc_t *, int);
57 static void isp_pci_wr_reg(ispsoftc_t *, int, uint32_t);
58 static uint32_t isp_pci_rd_reg_1080(ispsoftc_t *, int);
59 static void isp_pci_wr_reg_1080(ispsoftc_t *, int, uint32_t);
60 static uint32_t isp_pci_rd_reg_2400(ispsoftc_t *, int);
61 static void isp_pci_wr_reg_2400(ispsoftc_t *, int, uint32_t);
62 static int isp_pci_rd_isr(ispsoftc_t *, uint32_t *, uint16_t *, uint16_t *);
63 static int isp_pci_rd_isr_2300(ispsoftc_t *, uint32_t *, uint16_t *, uint16_t *);
64 static int isp_pci_rd_isr_2400(ispsoftc_t *, uint32_t *, uint16_t *, uint16_t *);
65 static int isp_pci_mbxdma(ispsoftc_t *);
[all …]
Disp_freebsd.c60 static void isp_freeze_loopdown(ispsoftc_t *, int, char *);
86 isp_attach_chan(ispsoftc_t *isp, struct cam_devq *devq, int chan) in isp_attach_chan()
193 isp_attach(ispsoftc_t *isp) in isp_attach()
269 isp_detach(ispsoftc_t *isp) in isp_detach()
331 isp_freeze_loopdown(ispsoftc_t *isp, int chan, char *msg) in isp_freeze_loopdown()
347 isp_unfreeze_loopdown(ispsoftc_t *isp, int chan) in isp_unfreeze_loopdown()
364 ispsoftc_t *isp; in ispioctl()
738 ispsoftc_t *isp = arg; in isp_intr_enable()
763 static ISP_INLINE int isp_get_pcmd(ispsoftc_t *, union ccb *);
764 static ISP_INLINE void isp_free_pcmd(ispsoftc_t *, union ccb *);
[all …]
Disp_library.c61 isp_send_cmd(ispsoftc_t *isp, void *fqe, void *segp, uint32_t nsegs, uint32_t totalcnt, isp_ddir_t … in isp_send_cmd()
249 isp_allocate_xs(ispsoftc_t *isp, XS_T *xs, uint32_t *handlep) in isp_allocate_xs()
267 isp_find_xs(ispsoftc_t *isp, uint32_t handle) in isp_find_xs()
277 isp_find_handle(ispsoftc_t *isp, XS_T *xs) in isp_find_handle()
294 isp_handle_index(ispsoftc_t *isp, uint32_t handle) in isp_handle_index()
305 isp_destroy_handle(ispsoftc_t *isp, uint32_t handle) in isp_destroy_handle()
323 isp_getrqentry(ispsoftc_t *isp) in isp_getrqentry()
334 isp_print_qentry(ispsoftc_t *isp, const char *msg, int idx, void *arg) in isp_print_qentry()
352 isp_print_bytes(ispsoftc_t *isp, const char *msg, int amt, void *arg) in isp_print_bytes()
389 isp_fc_runstate(ispsoftc_t *isp, int chan, int tval) in isp_fc_runstate()
[all …]
Disp_freebsd.h681 extern int isp_attach(ispsoftc_t *);
682 extern int isp_detach(ispsoftc_t *);
683 extern void isp_uninit(ispsoftc_t *);
684 extern uint64_t isp_default_wwn(ispsoftc_t *, int, int, int);
703 void isp_prt(ispsoftc_t *, int level, const char *, ...) __printflike(3, 4);
704 void isp_xs_prt(ispsoftc_t *, XS_T *, int level, const char *, ...) __printflike(4, 5);
706 int isp_mbox_acquire(ispsoftc_t *);
707 void isp_mbox_wait_complete(ispsoftc_t *, mbreg_t *);
708 void isp_mbox_notify_done(ispsoftc_t *);
709 void isp_mbox_release(ispsoftc_t *);
[all …]
Disp_target.c59 static void isp_got_msg(ispsoftc_t *, in_entry_t *);
60 static void isp_got_msg_fc(ispsoftc_t *, in_fcentry_t *);
61 static void isp_got_tmf_24xx(ispsoftc_t *, at7_entry_t *);
62 static void isp_handle_atio(ispsoftc_t *, at_entry_t *);
63 static void isp_handle_atio2(ispsoftc_t *, at2_entry_t *);
64 static void isp_handle_ctio(ispsoftc_t *, ct_entry_t *);
65 static void isp_handle_ctio2(ispsoftc_t *, ct2_entry_t *);
66 static void isp_handle_ctio7(ispsoftc_t *, ct7_entry_t *);
67 static void isp_handle_24xx_inotify(ispsoftc_t *, in_fcentry_24xx_t *);
116 isp_target_notify(ispsoftc_t *isp, void *vptr, uint32_t *optrp) in isp_target_notify()
[all …]
Disp.c104 static int isp_parse_async(ispsoftc_t *, uint16_t);
105 static int isp_parse_async_fc(ispsoftc_t *, uint16_t);
106 static int isp_handle_other_response(ispsoftc_t *, int, isphdr_t *, uint32_t *);
107 static void isp_parse_status(ispsoftc_t *, ispstatusreq_t *, XS_T *, long *); static void
108 isp_parse_status_24xx(ispsoftc_t *, isp24xx_statusreq_t *, XS_T *, long *);
109 static void isp_fastpost_complete(ispsoftc_t *, uint32_t);
110 static int isp_mbox_continue(ispsoftc_t *);
111 static void isp_scsi_init(ispsoftc_t *);
112 static void isp_scsi_channel_init(ispsoftc_t *, int);
113 static void isp_fibre_init(ispsoftc_t *);
[all …]