/netbsd-src/sys/dev/ic/ |
H A D | isp_library.h | 47 int isp_send_cmd(ispsoftc_t *, void *, void *, uint32_t, uint32_t, isp_ddir_t); 54 int isp_allocate_xs(ispsoftc_t *, XS_T *, uint32_t *); 55 XS_T * isp_find_xs(ispsoftc_t *, uint32_t); 56 uint32_t isp_find_handle(ispsoftc_t *, XS_T *); 57 uint32_t isp_handle_index(ispsoftc_t *, uint32_t); 58 void isp_destroy_handle(ispsoftc_t *, uint32_t); 63 void *isp_getrqentry(ispsoftc_t *); 68 void isp_print_qentry (ispsoftc_t *, const char *, int, void *); 69 void isp_print_bytes(ispsoftc_t *, const char *, int, void *); 75 int isp_fc_runstate(ispsoftc_t *, int, int); [all …]
|
H A D | ispvar.h | 87 typedef struct ispsoftc ispsoftc_t; typedef 89 int (*dv_rd_isr) (ispsoftc_t *, uint32_t *, uint16_t *, uint16_t *); 90 uint32_t (*dv_rd_reg) (ispsoftc_t *, int); 91 void (*dv_wr_reg) (ispsoftc_t *, int, uint32_t); 92 int (*dv_mbxdma) (ispsoftc_t *); 93 int (*dv_dmaset) (ispsoftc_t *, XS_T *, void *); 94 void (*dv_dmaclr) (ispsoftc_t *, XS_T *, uint32_t); 95 void (*dv_reset0) (ispsoftc_t *); 96 void (*dv_reset1) (ispsoftc_t *); 97 void (*dv_dregs) (ispsoftc_t *, const char *); [all …]
|
H A D | isp_netbsd.h | 357 void isp_attach(ispsoftc_t *); 358 void isp_uninit(ispsoftc_t *); 397 void isp_prt(ispsoftc_t *, int level, const char *, ...) __printflike(3, 4); 398 void isp_xs_prt(ispsoftc_t *, XS_T *, int level, const char *, ...) 400 void isp_lock(ispsoftc_t *); 401 void isp_unlock(ispsoftc_t *); 403 int isp_mbox_acquire(ispsoftc_t *); 404 void isp_mbox_wait_complete(ispsoftc_t *, mbreg_t *); 405 void isp_mbox_notify_done(ispsoftc_t *); 406 void isp_mbox_release(ispsoftc_t *);
|
H A D | isp_library.c | 61 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() 310 isp_destroy_handle(ispsoftc_t *isp, uint32_t handle) in isp_destroy_handle() 328 isp_getrqentry(ispsoftc_t *isp) in isp_getrqentry() 339 isp_print_qentry(ispsoftc_t *isp, const char *msg, int idx, void *arg) in isp_print_qentry() 357 isp_print_bytes(ispsoftc_t *isp, const char *msg, int amt, void *arg) in isp_print_bytes() 394 isp_fc_runstate(ispsoftc_t *isp, int chan, int tval) in isp_fc_runstate() [all …]
|
H A D | isp_target.c | 88 static void isp_got_msg(ispsoftc_t *, in_entry_t *); 89 static void isp_got_msg_fc(ispsoftc_t *, in_fcentry_t *); 90 static void isp_got_tmf_24xx(ispsoftc_t *, at7_entry_t *); 91 static void isp_handle_atio(ispsoftc_t *, at_entry_t *); 92 static void isp_handle_atio2(ispsoftc_t *, at2_entry_t *); 93 static void isp_handle_ctio(ispsoftc_t *, ct_entry_t *); 94 static void isp_handle_ctio2(ispsoftc_t *, ct2_entry_t *); 95 static void isp_handle_ctio7(ispsoftc_t *, ct7_entry_t *); 96 static void isp_handle_24xx_inotify(ispsoftc_t *, in_fcentry_24xx_t *); 145 isp_target_notify(ispsoftc_t *is [all...] |
H A D | isp.c | 105 static void isp_prt_endcmd(ispsoftc_t *, XS_T *); 106 static int isp_parse_async(ispsoftc_t *, uint16_t); 107 static int isp_parse_async_fc(ispsoftc_t *, uint16_t); 108 static int isp_handle_other_response(ispsoftc_t *, int, isphdr_t *, uint32_t *); 109 static void isp_parse_status(ispsoftc_t *, ispstatusreq_t *, XS_T *, long *); static void 110 isp_parse_status_24xx(ispsoftc_t *, isp24xx_statusreq_t *, XS_T *, long *); 111 static void isp_fastpost_complete(ispsoftc_t *, uint32_t); 112 static int isp_mbox_continue(ispsoftc_t *); 113 static void isp_scsi_init(ispsoftc_t *); 114 static void isp_scsi_channel_init(ispsoftc_t *, int); [all …]
|
H A D | isp_netbsd.c | 72 static void isp_make_here(ispsoftc_t *, int); 73 static void isp_make_gone(ispsoftc_t *, int); 923 ispsoftc_t *isp = arg; in isp_gdt() 976 ispsoftc_t *isp = arg; in isp_ldt() 1030 isp_make_here(ispsoftc_t *isp, int tgt) in isp_make_here() 1036 isp_make_gone(ispsoftc_t *isp, int tgt) in isp_make_gone() 1044 ispsoftc_t *isp = arg; in isp_fc_worker() 1579 isp_mbox_acquire(ispsoftc_t *isp) in isp_mbox_acquire() 1661 isp_mbox_notify_done(ispsoftc_t *isp) in isp_mbox_notify_done() 1670 isp_mbox_release(ispsoftc_t *isp) in isp_mbox_release()
|
/netbsd-src/sys/dev/sbus/ |
H A D | isp_sbus.c | 51 static void isp_sbus_reset0(ispsoftc_t *); 52 static void isp_sbus_reset1(ispsoftc_t *); 55 isp_sbus_rd_isr(ispsoftc_t *, uint32_t *, uint16_t *, uint16_t *); 56 static uint32_t isp_sbus_rd_reg(ispsoftc_t *, int); 57 static void isp_sbus_wr_reg (ispsoftc_t *, int, uint32_t); 58 static int isp_sbus_mbxdma(ispsoftc_t *); 59 static int isp_sbus_dmasetup(ispsoftc_t *, XS_T *, void *); 60 static void isp_sbus_dmateardown(ispsoftc_t *, XS_T *, uint32_t); 84 ispsoftc_t sbus_isp; 125 ispsoftc_t *isp = &sbc->sbus_isp; in isp_sbus_attach() [all …]
|
/netbsd-src/sys/dev/pci/ |
H A D | isp_pci.c | 924 isp_pci_rd_isr_2400(ispsoftc_t *isp, uint32_t *isrp, in isp_pci_rd_isr_2400() 961 isp_pci_rd_reg_2400(ispsoftc_t *isp, int regoff) in isp_pci_rd_reg_2400() 1023 isp_pci_wr_reg_2400(ispsoftc_t *isp, int regoff, uint32_t val) in isp_pci_wr_reg_2400() 1430 isp_pci_reset0(ispsoftc_t *isp) in isp_pci_reset0() 1436 isp_pci_reset1(ispsoftc_t *isp) in isp_pci_reset1()
|