/freebsd-10.1-release/sys/dev/isp/ |
H A D | isp_library.c | 39 #include <dev/isp/isp_freebsd.h> 61 isp_send_cmd(ispsoftc_t *isp, void *fqe, void *segp, uint32_t nsegs, uint32_t totalcnt, isp_ddir_t ddir, ispds64_t *ecmd) argument 70 qe0 = isp_getrqentry(isp); 74 nxt = ISP_NXT_QENTRY(isp->isp_reqidx, RQUEST_QUEUE_LEN(isp)); 145 nxtnxt = ISP_NXT_QENTRY(nxt, RQUEST_QUEUE_LEN(isp)); 146 if (nxtnxt == isp->isp_reqodx) { 147 isp->isp_reqodx = ISP_READ(isp, isp 251 isp_allocate_xs(ispsoftc_t *isp, XS_T *xs, uint32_t *handlep) argument 269 isp_find_xs(ispsoftc_t *isp, uint32_t handle) argument 279 isp_find_handle(ispsoftc_t *isp, XS_T *xs) argument 296 isp_handle_index(ispsoftc_t *isp, uint32_t handle) argument 307 isp_destroy_handle(ispsoftc_t *isp, uint32_t handle) argument 325 isp_getrqentry(ispsoftc_t *isp) argument 340 isp_print_qentry(ispsoftc_t *isp, const char *msg, int idx, void *arg) argument 358 isp_print_bytes(ispsoftc_t *isp, const char *msg, int amt, void *arg) argument 395 isp_fc_runstate(ispsoftc_t *isp, int chan, int tval) argument 441 isp_dump_portdb(ispsoftc_t *isp, int chan) argument 597 isp_fc_change_role(ispsoftc_t *isp, int chan, int new_role) argument 694 isp_clear_commands(ispsoftc_t *isp) argument 766 isp_shutdown(ispsoftc_t *isp) argument 805 isp_put_hdr(ispsoftc_t *isp, isphdr_t *hpsrc, isphdr_t *hpdst) argument 821 isp_get_hdr(ispsoftc_t *isp, isphdr_t *hpsrc, isphdr_t *hpdst) argument 837 isp_get_response_type(ispsoftc_t *isp, isphdr_t *hp) argument 849 isp_put_request(ispsoftc_t *isp, ispreq_t *rqsrc, ispreq_t *rqdst) argument 875 isp_put_marker(ispsoftc_t *isp, isp_marker_t *src, isp_marker_t *dst) argument 896 isp_put_marker_24xx(ispsoftc_t *isp, isp_marker_24xx_t *src, isp_marker_24xx_t *dst) argument 916 isp_put_request_t2(ispsoftc_t *isp, ispreqt2_t *src, ispreqt2_t *dst) argument 939 isp_put_request_t2e(ispsoftc_t *isp, ispreqt2e_t *src, ispreqt2e_t *dst) argument 961 isp_put_request_t3(ispsoftc_t *isp, ispreqt3_t *src, ispreqt3_t *dst) argument 986 isp_put_request_t3e(ispsoftc_t *isp, ispreqt3e_t *src, ispreqt3e_t *dst) argument 1010 isp_put_extended_request(ispsoftc_t *isp, ispextreq_t *src, ispextreq_t *dst) argument 1032 isp_put_request_t7(ispsoftc_t *isp, ispreqt7_t *src, ispreqt7_t *dst) argument 1067 isp_put_24xx_tmf(ispsoftc_t *isp, isp24xx_tmf_t *src, isp24xx_tmf_t *dst) argument 1098 isp_put_24xx_abrt(ispsoftc_t *isp, isp24xx_abrt_t *src, isp24xx_abrt_t *dst) argument 1118 isp_put_cont_req(ispsoftc_t *isp, ispcontreq_t *src, ispcontreq_t *dst) argument 1129 isp_put_cont64_req(ispsoftc_t *isp, ispcontreq64_t *src, ispcontreq64_t *dst) argument 1141 isp_get_response(ispsoftc_t *isp, ispstatusreq_t *src, ispstatusreq_t *dst) argument 1162 isp_get_cont_response(ispsoftc_t *isp, ispstatus_cont_t *src, ispstatus_cont_t *dst) argument 1181 isp_get_24xx_response(ispsoftc_t *isp, isp24xx_statusreq_t *src, isp24xx_statusreq_t *dst) argument 1206 isp_get_24xx_abrt(ispsoftc_t *isp, isp24xx_abrt_t *src, isp24xx_abrt_t *dst) argument 1227 isp_get_rio1(ispsoftc_t *isp, isp_rio1_t *r1src, isp_rio1_t *r1dst) argument 1244 isp_get_rio2(ispsoftc_t *isp, isp_rio2_t *r2src, isp_rio2_t *r2dst) argument 1262 isp_put_icb(ispsoftc_t *isp, isp_icb_t *src, isp_icb_t *dst) argument 1329 isp_put_icb_2400(ispsoftc_t *isp, isp_icb_2400_t *src, isp_icb_2400_t *dst) argument 1380 isp_put_icb_2400_vpinfo(ispsoftc_t *isp, isp_icb_2400_vpinfo_t *src, isp_icb_2400_vpinfo_t *dst) argument 1387 isp_put_vp_port_info(ispsoftc_t *isp, vp_port_info_t *src, vp_port_info_t *dst) argument 1403 isp_get_vp_port_info(ispsoftc_t *isp, vp_port_info_t *src, vp_port_info_t *dst) argument 1420 isp_put_vp_ctrl_info(ispsoftc_t *isp, vp_ctrl_info_t *src, vp_ctrl_info_t *dst) argument 1438 isp_get_vp_ctrl_info(ispsoftc_t *isp, vp_ctrl_info_t *src, vp_ctrl_info_t *dst) argument 1456 isp_put_vp_modify(ispsoftc_t *isp, vp_modify_t *src, vp_modify_t *dst) argument 1484 isp_get_vp_modify(ispsoftc_t *isp, vp_modify_t *src, vp_modify_t *dst) argument 1512 isp_get_pdb_21xx(ispsoftc_t *isp, isp_pdb_21xx_t *src, isp_pdb_21xx_t *dst) argument 1564 isp_get_pdb_24xx(ispsoftc_t *isp, isp_pdb_24xx_t *src, isp_pdb_24xx_t *dst) argument 1598 isp_get_plogx(ispsoftc_t *isp, isp_plogx_t *src, isp_plogx_t *dst) argument 1616 isp_put_plogx(ispsoftc_t *isp, isp_plogx_t *src, isp_plogx_t *dst) argument 1637 isp_get_ridacq(ispsoftc_t *isp, isp_ridacq_t *src, isp_ridacq_t *dst) argument 1669 isp_get_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *src, isp_ct_pt_t *dst) argument 1696 isp_get_ms(ispsoftc_t *isp, isp_ms_t *src, isp_ms_t *dst) argument 1723 isp_put_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *src, isp_ct_pt_t *dst) argument 1750 isp_put_ms(ispsoftc_t *isp, isp_ms_t *src, isp_ms_t *dst) argument 1781 isp_put_sns_request(ispsoftc_t *isp, sns_screq_t *src, sns_screq_t *dst) argument 1795 isp_put_gid_ft_request(ispsoftc_t *isp, sns_gid_ft_req_t *src, sns_gid_ft_req_t *dst) argument 1812 isp_put_gxn_id_request(ispsoftc_t *isp, sns_gxn_id_req_t *src, sns_gxn_id_req_t *dst) argument 1833 isp_get_sns_response(ispsoftc_t *isp, sns_scrsp_t *src, sns_scrsp_t *dst, int nwords) argument 1852 isp_get_gid_ft_response(ispsoftc_t *isp, sns_gid_ft_rsp_t *src, sns_gid_ft_rsp_t *dst, int nwords) argument 1869 isp_get_gxn_id_response(ispsoftc_t *isp, sns_gxn_id_rsp_t *src, sns_gxn_id_rsp_t *dst) argument 1879 isp_get_gff_id_response(ispsoftc_t *isp, sns_gff_id_rsp_t *src, sns_gff_id_rsp_t *dst) argument 1889 isp_get_ga_nxt_response(ispsoftc_t *isp, sns_ga_nxt_rsp_t *src, sns_ga_nxt_rsp_t *dst) argument 1933 isp_get_els(ispsoftc_t *isp, els_t *src, els_t *dst) argument 1963 isp_put_els(ispsoftc_t *isp, els_t *src, els_t *dst) argument 2001 isp_get_fc_hdr(ispsoftc_t *isp, fc_hdr_t *src, fc_hdr_t *dst) argument 2024 isp_put_fc_hdr(ispsoftc_t *isp, fc_hdr_t *src, fc_hdr_t *dst) argument 2047 isp_get_fcp_cmnd_iu(ispsoftc_t *isp, fcp_cmnd_iu_t *src, fcp_cmnd_iu_t *dst) argument 2065 isp_put_rft_id(ispsoftc_t *isp, rft_id_t *src, rft_id_t *dst) argument 2079 isp_get_ct_hdr(ispsoftc_t *isp, ct_hdr_t *src, ct_hdr_t *dst) argument 2098 isp_put_ct_hdr(ispsoftc_t *isp, ct_hdr_t *src, ct_hdr_t *dst) argument 2117 isp_put_fcp_rsp_iu(ispsoftc_t *isp, fcp_rsp_iu_t *src, fcp_rsp_iu_t *dst) argument 2145 isp_send_tgt_cmd(ispsoftc_t *isp, void *fqe, void *segp, uint32_t nsegs, uint32_t totalcnt, isp_ddir_t ddir, void *snsptr, uint32_t snslen) argument 2299 isp_allocate_xs_tgt(ispsoftc_t *isp, void *xs, uint32_t *handlep) argument 2323 isp_find_xs_tgt(ispsoftc_t *isp, uint32_t handle) argument 2333 isp_find_tgt_handle(ispsoftc_t *isp, void *xs) argument 2350 isp_destroy_tgt_handle(ispsoftc_t *isp, uint32_t handle) argument 2365 isp_find_pdb_by_wwn(ispsoftc_t *isp, int chan, uint64_t wwn, fcportdb_t **lptr) argument 2388 isp_find_pdb_by_loopid(ispsoftc_t *isp, int chan, uint32_t loopid, fcportdb_t **lptr) argument 2411 isp_find_pdb_by_sid(ispsoftc_t *isp, int chan, uint32_t sid, fcportdb_t **lptr) argument 2436 isp_find_chan_by_did(ispsoftc_t *isp, uint32_t did, uint16_t *cp) argument 2457 isp_add_wwn_entry(ispsoftc_t *isp, int chan, uint64_t ini, uint16_t nphdl, uint32_t s_id, uint16_t prli_params) argument 2592 isp_del_wwn_entry(ispsoftc_t *isp, int chan, uint64_t ini, uint16_t nphdl, uint32_t s_id) argument 2636 isp_del_all_wwn_entries(ispsoftc_t *isp, int chan) argument 2672 isp_del_wwn_entries(ispsoftc_t *isp, isp_notify_t *mp) argument 2716 isp_put_atio(ispsoftc_t *isp, at_entry_t *src, at_entry_t *dst) argument 2751 isp_get_atio(ispsoftc_t *isp, at_entry_t *src, at_entry_t *dst) argument 2786 isp_put_atio2(ispsoftc_t *isp, at2_entry_t *src, at2_entry_t *dst) argument 2815 isp_put_atio2e(ispsoftc_t *isp, at2e_entry_t *src, at2e_entry_t *dst) argument 2843 isp_get_atio2(ispsoftc_t *isp, at2_entry_t *src, at2_entry_t *dst) argument 2872 isp_get_atio2e(ispsoftc_t *isp, at2e_entry_t *src, at2e_entry_t *dst) argument 2900 isp_get_atio7(ispsoftc_t *isp, at7_entry_t *src, at7_entry_t *dst) argument 2911 isp_put_ctio(ispsoftc_t *isp, ct_entry_t *src, ct_entry_t *dst) argument 2949 isp_get_ctio(ispsoftc_t *isp, ct_entry_t *src, ct_entry_t *dst) argument 2986 isp_put_ctio2(ispsoftc_t *isp, ct2_entry_t *src, ct2_entry_t *dst) argument 3046 isp_put_ctio2e(ispsoftc_t *isp, ct2e_entry_t *src, ct2e_entry_t *dst) argument 3105 isp_put_ctio7(ispsoftc_t *isp, ct7_entry_t *src, ct7_entry_t *dst) argument 3156 isp_get_ctio2(ispsoftc_t *isp, ct2_entry_t *src, ct2_entry_t *dst) argument 3218 isp_get_ctio2e(ispsoftc_t *isp, ct2e_entry_t *src, ct2e_entry_t *dst) argument 3279 isp_get_ctio7(ispsoftc_t *isp, ct7_entry_t *src, ct7_entry_t *dst) argument 3331 isp_put_enable_lun(ispsoftc_t *isp, lun_entry_t *lesrc, lun_entry_t *ledst) argument 3367 isp_get_enable_lun(ispsoftc_t *isp, lun_entry_t *lesrc, lun_entry_t *ledst) argument 3403 isp_put_notify(ispsoftc_t *isp, in_entry_t *src, in_entry_t *dst) argument 3441 isp_get_notify(ispsoftc_t *isp, in_entry_t *src, in_entry_t *dst) argument 3479 isp_put_notify_fc(ispsoftc_t *isp, in_fcentry_t *src, in_fcentry_t *dst) argument 3493 isp_put_notify_fc_e(ispsoftc_t *isp, in_fcentry_e_t *src, in_fcentry_e_t *dst) argument 3506 isp_put_notify_24xx(ispsoftc_t *isp, in_fcentry_24xx_t *src, in_fcentry_24xx_t *dst) argument 3542 isp_get_notify_fc(ispsoftc_t *isp, in_fcentry_t *src, in_fcentry_t *dst) argument 3556 isp_get_notify_fc_e(ispsoftc_t *isp, in_fcentry_e_t *src, in_fcentry_e_t *dst) argument 3569 isp_get_notify_24xx(ispsoftc_t *isp, in_fcentry_24xx_t *src, in_fcentry_24xx_t *dst) argument 3605 isp_put_notify_ack(ispsoftc_t *isp, na_entry_t *src, na_entry_t *dst) argument 3628 isp_get_notify_ack(ispsoftc_t *isp, na_entry_t *src, na_entry_t *dst) argument 3651 isp_put_notify_ack_fc(ispsoftc_t *isp, na_fcentry_t *src, na_fcentry_t *dst) argument 3670 isp_put_notify_ack_fc_e(ispsoftc_t *isp, na_fcentry_e_t *src, na_fcentry_e_t *dst) argument 3688 isp_put_notify_24xx_ack(ispsoftc_t *isp, na_fcentry_24xx_t *src, na_fcentry_24xx_t *dst) argument 3722 isp_get_notify_ack_fc(ispsoftc_t *isp, na_fcentry_t *src, na_fcentry_t *dst) argument 3741 isp_get_notify_ack_fc_e(ispsoftc_t *isp, na_fcentry_e_t *src, na_fcentry_e_t *dst) argument 3759 isp_get_notify_ack_24xx(ispsoftc_t *isp, na_fcentry_24xx_t *src, na_fcentry_24xx_t *dst) argument 3793 isp_get_abts(ispsoftc_t *isp, abts_t *src, abts_t *dst) argument 3827 isp_put_abts_rsp(ispsoftc_t *isp, abts_rsp_t *src, abts_rsp_t *dst) argument 3881 isp_get_abts_rsp(ispsoftc_t *isp, abts_rsp_t *src, abts_rsp_t *dst) argument [all...] |
H A D | ispvar.h | 41 #include <dev/isp/isp_stds.h> 42 #include <dev/isp/ispmbox.h> 82 #define ISP_MAX_TARGETS(isp) (IS_FC(isp)? MAX_FC_TARG : MAX_TARGETS) 83 #define ISP_MAX_LUNS(isp) (isp)->isp_maxluns 89 #define ISP_READ_ISR(isp, isrp, semap, mbox0p) \ 90 (*(isp)->isp_mdvec->dv_rd_isr)(isp, isrp, semap, mbox0p) 92 #define ISP_READ(isp, re [all...] |
H A D | isp_sbus.c | 52 #include <dev/isp/isp_freebsd.h> 84 #define ISP_SBD(isp) ((struct isp_sbussoftc *)isp)->sbus_dev 109 "isp", isp_sbus_methods, sizeof (struct isp_sbussoftc) 112 DRIVER_MODULE(isp, sbus, isp_sbus_driver, isp_devclass, 0, 0); 113 MODULE_DEPEND(isp, cam, 1, 1, 1); 114 MODULE_DEPEND(isp, firmware, 1, 1, 1); 121 if (strcmp(name, "SUNW,isp") == 0 || 122 strcmp(name, "QLGC,isp") == 0 || 145 ispsoftc_t *isp local 360 ispsoftc_t *isp; local 391 isp_sbus_rd_isr(ispsoftc_t *isp, uint32_t *isrp, uint16_t *semap, uint16_t *mbp) argument 411 isp_sbus_rd_reg(ispsoftc_t *isp, int regoff) argument 424 isp_sbus_wr_reg(ispsoftc_t *isp, int regoff, uint32_t val) argument 436 ispsoftc_t *isp; member in struct:imush 449 ispsoftc_t *isp =imushp->isp; local 459 isp_sbus_mbxdma(ispsoftc_t *isp) argument 584 ispsoftc_t *isp; member in struct:__anon8845 599 ispsoftc_t *isp; local 634 isp_sbus_dmasetup(ispsoftc_t *isp, struct ccb_scsiio *csio, void *ff) argument 679 isp_sbus_reset0(ispsoftc_t *isp) argument 685 isp_sbus_reset1(ispsoftc_t *isp) argument 691 isp_sbus_dumpregs(ispsoftc_t *isp, const char *msg) argument [all...] |
H A D | isp_pci.c | 54 #include <dev/isp/isp_freebsd.h> 346 #define ISP_PCD(isp) ((struct isp_pcisoftc *)isp)->pci_dev 371 "isp", isp_pci_methods, sizeof (struct isp_pcisoftc) 374 DRIVER_MODULE(isp, pci, isp_pci_driver, isp_devclass, 0, 0); 375 MODULE_DEPEND(isp, cam, 1, 1, 1); 376 MODULE_DEPEND(isp, firmware, 1, 1, 1); 455 isp_get_generic_options(device_t dev, ispsoftc_t *isp) argument 465 isp->isp_osinfo.disabled = 1; 471 isp 526 isp_get_specific_options(device_t dev, int chan, ispsoftc_t *isp) argument 666 ispsoftc_t *isp; local 1022 ispsoftc_t *isp; local 1074 isp_pci_rd_debounced(ispsoftc_t *isp, int off, uint16_t *rp) argument 1091 isp_pci_rd_isr(ispsoftc_t *isp, uint32_t *isrp, uint16_t *semap, uint16_t *mbp) argument 1126 isp_pci_rd_isr_2300(ispsoftc_t *isp, uint32_t *isrp, uint16_t *semap, uint16_t *mbox0p) argument 1185 isp_pci_rd_isr_2400(ispsoftc_t *isp, uint32_t *isrp, uint16_t *semap, uint16_t *mbox0p) argument 1220 isp_pci_rd_reg(ispsoftc_t *isp, int regoff) argument 1242 isp_pci_wr_reg(ispsoftc_t *isp, int regoff, uint32_t val) argument 1265 isp_pci_rd_reg_1080(ispsoftc_t *isp, int regoff) argument 1297 isp_pci_wr_reg_1080(ispsoftc_t *isp, int regoff, uint32_t val) argument 1329 isp_pci_rd_reg_2400(ispsoftc_t *isp, int regoff) argument 1390 isp_pci_wr_reg_2400(ispsoftc_t *isp, int regoff, uint32_t val) argument 1455 ispsoftc_t *isp; member in struct:imush 1530 isp_pci_mbxdma(ispsoftc_t *isp) argument 1765 ispsoftc_t *isp; member in struct:__anon8843 1791 ispsoftc_t *isp; local 1866 ispsoftc_t *isp; local 1927 isp_pci_dmasetup(ispsoftc_t *isp, struct ccb_scsiio *csio, void *ff) argument 1982 isp_pci_reset0(ispsoftc_t *isp) argument 1988 isp_pci_reset1(ispsoftc_t *isp) argument 1999 isp_pci_dumpregs(ispsoftc_t *isp, const char *msg) argument [all...] |
H A D | isp.c | 51 #include <dev/isp/isp_freebsd.h> 68 isp_prt(isp, ISP_LOG_SANCFG, \ 158 isp_reset(ispsoftc_t *isp, int do_load_defaults) argument 168 isp->isp_state = ISP_NILSTATE; 169 if (isp->isp_dead) { 170 isp_shutdown(isp); 171 ISP_DISABLE_INTS(isp); 185 ISP_DISABLE_INTS(isp); 192 if (IS_24XX(isp)) { 193 isp 1296 isp_init(ispsoftc_t *isp) argument 1311 isp_scsi_init(ispsoftc_t *isp) argument 1495 isp_scsi_channel_init(ispsoftc_t *isp, int chan) argument 1610 isp_fibre_init(ispsoftc_t *isp) argument 1929 isp_fibre_init_2400(ispsoftc_t *isp) argument 2221 isp_mark_portdb(ispsoftc_t *isp, int chan, int disposition) argument 2266 isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags, int gs) argument 2421 isp_port_login(ispsoftc_t *isp, uint16_t handle, uint32_t portid) argument 2470 isp_port_logout(ispsoftc_t *isp, uint16_t handle, uint32_t portid) argument 2486 isp_getpdb(ispsoftc_t *isp, int chan, uint16_t id, isp_pdb_t *pdb, int dolock) argument 2553 isp_dump_chip_portdb(ispsoftc_t *isp, int chan, int dolock) argument 2576 isp_get_wwn(ispsoftc_t *isp, int chan, int loopid, int nodename) argument 2633 isp_fclink_test(ispsoftc_t *isp, int chan, int usdelay) argument 2909 isp_pdb_sync(ispsoftc_t *isp, int chan) argument 3058 isp_scan_loop(ispsoftc_t *isp, int chan) argument 3351 isp_gid_ft_sns(ispsoftc_t *isp, int chan) argument 3396 isp_gid_ft_ct_passthru(ispsoftc_t *isp, int chan) argument 3495 isp_scan_fabric(ispsoftc_t *isp, int chan) argument 4014 isp_login_device(ispsoftc_t *isp, int chan, uint32_t portid, isp_pdb_t *p, uint16_t *ohp) argument 4116 isp_register_fc4_type(ispsoftc_t *isp, int chan) argument 4156 isp_register_fc4_type_24xx(ispsoftc_t *isp, int chan) argument 4267 isp_nxt_handle(ispsoftc_t *isp, int chan, uint16_t handle) argument 4316 ispsoftc_t *isp; local 4639 isp_control(ispsoftc_t *isp, ispctl_t ctl, ...) argument 5012 isp_intr(ispsoftc_t *isp, uint32_t isr, uint16_t sema, uint16_t mbox) argument 5588 isp_prt_endcmd(ispsoftc_t *isp, XS_T *xs) argument 5612 isp_parse_async(ispsoftc_t *isp, uint16_t mbox) argument 5806 isp_parse_async_fc(ispsoftc_t *isp, uint16_t mbox) argument 6151 isp_handle_other_response(ispsoftc_t *isp, int type, isphdr_t *hp, uint32_t *optrp) argument 6212 isp_parse_status(ispsoftc_t *isp, ispstatusreq_t *sp, XS_T *xs, long *rp) argument 6541 isp_parse_status_24xx(ispsoftc_t *isp, isp24xx_statusreq_t *sp, XS_T *xs, long *rp) argument 6692 isp_fastpost_complete(ispsoftc_t *isp, uint32_t fph) argument 6725 isp_mbox_continue(ispsoftc_t *isp) argument 7288 isp_mboxcmd_qnw(ispsoftc_t *isp, mbreg_t *mbp, int nodelay) argument 7331 isp_mboxcmd(ispsoftc_t *isp, mbreg_t *mbp) argument 7511 isp_fw_state(ispsoftc_t *isp, int chan) argument 7526 isp_spi_update(ispsoftc_t *isp, int chan) argument 7641 isp_setdfltsdparm(ispsoftc_t *isp) argument 7780 isp_setdfltfcparm(ispsoftc_t *isp, int chan) argument 7854 isp_reinit(ispsoftc_t *isp, int do_load_defaults) argument 7907 isp_read_nvram(ispsoftc_t *isp, int bus) argument 7980 isp_read_nvram_2400(ispsoftc_t *isp, uint8_t *nvram_data) argument 8019 isp_rdnvram_word(ispsoftc_t *isp, int wo, uint16_t *rp) argument 8090 isp_rd_2400_nvram(ispsoftc_t *isp, uint32_t addr, uint32_t *rp) argument 8116 isp_parse_nvram_1020(ispsoftc_t *isp, uint8_t *nvram_data) argument 8228 isp_parse_nvram_1080(ispsoftc_t *isp, int bus, uint8_t *nvram_data) argument 8303 isp_parse_nvram_12160(ispsoftc_t *isp, int bus, uint8_t *nvram_data) argument 8378 isp_parse_nvram_2100(ispsoftc_t *isp, uint8_t *nvram_data) argument 8456 isp_parse_nvram_2400(ispsoftc_t *isp, uint8_t *nvram_data) argument [all...] |
H A D | isp_target.c | 45 #include <dev/isp/isp_freebsd.h> 116 isp_target_notify(ispsoftc_t *isp, void *vptr, uint32_t *optrp) argument 170 type = isp_get_response_type(isp, (isphdr_t *)vptr); 173 ISP_TDQE(isp, "isp_target_notify", (int) *optrp, vptr); 177 if (IS_24XX(isp)) { 180 isp_get_atio7(isp, at7iop, (at7_entry_t *) local); 189 isp_prt(isp, ISP_LOGINFO, "long IU length (%d) ignored", len); 191 *optrp = ISP_NXT_QENTRY(*optrp, RESULT_QUEUE_LEN(isp)); 199 isp_got_tmf_24xx(isp, at7iop); 205 isp_async(isp, ISPASYNC_TARGET_ACTIO 470 isp_lun_cmd(ispsoftc_t *isp, int cmd, int bus, int lun, int cmd_cnt, int inot_cnt) argument 526 isp_target_put_entry(ispsoftc_t *isp, void *ap) argument 570 isp_target_put_atio(ispsoftc_t *isp, void *arg) argument 630 isp_endcmd(ispsoftc_t *isp, ...) argument 777 isp_target_async(ispsoftc_t *isp, int bus, int event) argument 874 isp_got_msg(ispsoftc_t *isp, in_entry_t *inp) argument 931 isp_got_msg_fc(ispsoftc_t *isp, in_fcentry_t *inp) argument 994 isp_got_tmf_24xx(ispsoftc_t *isp, at7_entry_t *aep) argument 1051 isp_notify_ack(ispsoftc_t *isp, void *arg) argument 1167 isp_acknak_abts(ispsoftc_t *isp, void *arg, int errno) argument 1246 isp_handle_atio(ispsoftc_t *isp, at_entry_t *aep) argument 1320 isp_handle_atio2(ispsoftc_t *isp, at2_entry_t *aep) argument 1405 isp_handle_ctio(ispsoftc_t *isp, ct_entry_t *ct) argument 1555 isp_handle_ctio2(ispsoftc_t *isp, ct2_entry_t *ct) argument 1710 isp_handle_ctio7(ispsoftc_t *isp, ct7_entry_t *ct) argument 1854 isp_handle_24xx_inotify(ispsoftc_t *isp, in_fcentry_24xx_t *inot_24xx) argument [all...] |
H A D | isp_freebsd.c | 32 #include <dev/isp/isp_freebsd.h> 38 #include <dev/isp/isp_ioctl.h> 49 MODULE_VERSION(isp, 1); 50 MODULE_DEPEND(isp, cam, 1, 1, 1); 82 .d_name = "isp", 86 isp_attach_chan(ispsoftc_t *isp, struct cam_devq *devq, int chan) argument 95 sim = cam_sim_alloc(isp_action, isp_poll, "isp", isp, device_get_unit(isp->isp_dev), &isp 193 isp_attach(ispsoftc_t *isp) argument 269 isp_detach(ispsoftc_t *isp) argument 331 isp_freeze_loopdown(ispsoftc_t *isp, int chan, char *msg) argument 347 isp_unfreeze_loopdown(ispsoftc_t *isp, int chan) argument 364 ispsoftc_t *isp; local 738 ispsoftc_t *isp = arg; local 767 isp_get_pcmd(ispsoftc_t *isp, union ccb *ccb) argument 778 isp_free_pcmd(ispsoftc_t *isp, union ccb *ccb) argument 839 isp_tmlock(ispsoftc_t *isp, const char *msg) argument 849 isp_tmunlk(ispsoftc_t *isp) argument 859 is_any_lun_enabled(ispsoftc_t *isp, int bus) argument 873 is_lun_enabled(ispsoftc_t *isp, int bus, lun_id_t lun) argument 888 dump_tstates(ispsoftc_t *isp, int bus) argument 908 get_lun_statep(ispsoftc_t *isp, int bus, lun_id_t lun) argument 929 get_lun_statep_from_tag(ispsoftc_t *isp, int bus, uint32_t tagval) argument 952 get_ntp_from_tagdata(ispsoftc_t *isp, uint32_t tag_id, uint32_t seq_id, tstate_t **rslt) argument 976 rls_lun_statep(ispsoftc_t *isp, tstate_t *tptr) argument 983 isp_tmcmd_restart(ispsoftc_t *isp) argument 1033 isp_get_atpd(ispsoftc_t *isp, tstate_t *tptr, uint32_t tag) argument 1047 isp_find_atpd(ispsoftc_t *isp, tstate_t *tptr, uint32_t tag) argument 1059 isp_put_atpd(ispsoftc_t *isp, tstate_t *tptr, atio_private_data_t *atp) argument 1070 isp_dump_atpd(ispsoftc_t *isp, tstate_t *tptr) argument 1083 isp_get_ntpd(ispsoftc_t *isp, tstate_t *tptr) argument 1094 isp_find_ntpd(ispsoftc_t *isp, tstate_t *tptr, uint32_t tag_id, uint32_t seq_id) argument 1106 isp_put_ntpd(ispsoftc_t *isp, tstate_t *tptr, inot_private_data_t *ntp) argument 1114 create_lun_state(ispsoftc_t *isp, int bus, struct cam_path *path, tstate_t **rslt) argument 1160 destroy_lun_state(ispsoftc_t *isp, tstate_t *tptr) argument 1194 isp_enable_lun(ispsoftc_t *isp, union ccb *ccb) argument 1332 isp_enable_deferred_luns(ispsoftc_t *isp, int bus) argument 1378 isp_enable_deferred(ispsoftc_t *isp, int bus, lun_id_t lun) argument 1414 isp_disable_lun(ispsoftc_t *isp, union ccb *ccb) argument 1508 isp_enable_target_mode(ispsoftc_t *isp, int bus) argument 1533 isp_disable_target_mode(ispsoftc_t *isp, int bus) argument 1556 isp_ledone(ispsoftc_t *isp, lun_entry_t *lep) argument 1576 isp_target_start_ctio(ispsoftc_t *isp, union ccb *ccb, enum Start_Ctio_How how) argument 2122 ispsoftc_t *isp = XS_ISP(ccb); local 2132 ispsoftc_t *isp = tp->isp; local 2146 ispsoftc_t *isp; local 2209 isp_handle_platform_atio(ispsoftc_t *isp, at_entry_t *aep) argument 2329 isp_handle_platform_atio2(ispsoftc_t *isp, at2_entry_t *aep) argument 2504 isp_handle_platform_atio7(ispsoftc_t *isp, at7_entry_t *aep) argument 2735 isp_handle_srr_start(ispsoftc_t *isp, tstate_t *tptr, atio_private_data_t *atp) argument 2833 isp_handle_srr_notify(ispsoftc_t *isp, void *inot_raw) argument 2869 isp_handle_platform_ctio(ispsoftc_t *isp, void *arg) argument 3042 isp_handle_platform_notify_scsi(ispsoftc_t *isp, in_entry_t *inot) argument 3048 isp_handle_platform_notify_fc(ispsoftc_t *isp, in_fcentry_t *inp) argument 3143 isp_handle_platform_notify_24xx(ispsoftc_t *isp, in_fcentry_24xx_t *inot) argument 3290 isp_handle_platform_target_notify_ack(ispsoftc_t *isp, isp_notify_t *mp) argument 3398 isp_handle_platform_target_tmf(ispsoftc_t *isp, isp_notify_t *notify) argument 3507 isp_target_mark_aborted(ispsoftc_t *isp, union ccb *ccb) argument 3533 isp_target_mark_aborted_early(ispsoftc_t *isp, tstate_t *tptr, uint32_t tag_id) argument 3628 ispsoftc_t *isp; member in struct:isptarg_softc 3651 isptargnotify(ispsoftc_t *isp, union ccb *iccb, struct ccb_immediate_notify *inot) argument 3996 ispsoftc_t *isp; local 4090 isp_target_thread(ispsoftc_t *isp, int chan) argument 4420 ispsoftc_t *isp; local 4461 ispsoftc_t *isp = cam_sim_softc(sim); local 4475 ispsoftc_t *isp; local 4543 isp_make_here(ispsoftc_t *isp, int chan, int tgt) argument 4570 isp_make_gone(ispsoftc_t *isp, int chan, int tgt) argument 4605 ispsoftc_t *isp = fc->isp; local 4665 ispsoftc_t *isp = fc->isp; local 4745 ispsoftc_t *isp = fc->isp; local 4854 ispsoftc_t *isp; local 5517 ispsoftc_t *isp = XS_ISP(sccb); local 5554 isp_async(ispsoftc_t *isp, ispasync_t cmd, ...) argument 6071 isp_uninit(ispsoftc_t *isp) argument 6091 isp_default_wwn(ispsoftc_t * isp, int chan, int isactive, int iswwnn) argument 6174 isp_prt(ispsoftc_t *isp, int level, const char *fmt, ...) argument 6192 isp_xs_prt(ispsoftc_t *isp, XS_T *xs, int level, const char *fmt, ...) argument 6218 isp_mbox_acquire(ispsoftc_t *isp) argument 6230 isp_mbox_wait_complete(ispsoftc_t *isp, mbreg_t *mbp) argument 6283 isp_mbox_notify_done(ispsoftc_t *isp) argument 6292 isp_mbox_release(ispsoftc_t *isp) argument 6298 isp_fc_scratch_acquire(ispsoftc_t *isp, int chan) argument 6329 ispsoftc_t *isp = arg; local 6344 isp_common_dmateardown(ispsoftc_t *isp, struct ccb_scsiio *csio, uint32_t hdl) argument 6355 isp_fcp_next_crn(ispsoftc_t *isp, uint8_t *crnp, XS_T *cmd) argument 6409 ispsoftc_t *isp = arg; local 6417 isp_get_ecmd(ispsoftc_t *isp) argument 6427 isp_put_ecmd(ispsoftc_t *isp, isp_ecmd_t *ecmd) argument [all...] |
H A D | isp_freebsd.h | 102 #include <dev/isp/isp_target.h> 158 void *isp; member in struct:isp_timed_notify_ack 194 struct ispsoftc * isp; /* containing isp */ member in struct:isp_pcmd 227 struct ispsoftc *isp; member in struct:isp_fc 369 #define ISP_FC_PC(isp, chan) (&(isp)->isp_osinfo.pc.fc[(chan)]) 370 #define ISP_SPI_PC(isp, chan) (&(isp)->isp_osinfo.pc.spi[(chan)]) 371 #define ISP_GET_PC(isp, cha [all...] |
H A D | isp_target.h | 90 #define ISP_TDQE(isp, msg, idx, arg) \ 91 if (isp->isp_dblev & ISP_LOGTDEBUG2) isp_print_qentry(isp, msg, idx, arg)
|
H A D | isp_library.h | 129 void isp_get_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *, isp_ct_pt_t *); 130 void isp_get_ms(ispsoftc_t *isp, isp_ms_t *, isp_ms_t *); 131 void isp_put_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *, isp_ct_pt_t *); 132 void isp_put_ms(ispsoftc_t *isp, isp_ms_t *, isp_ms_t *); 147 void isp_get_ct_hdr(ispsoftc_t *isp, ct_hdr_t *, ct_hdr_t *); 148 void isp_put_ct_hdr(ispsoftc_t *isp, ct_hdr_t *, ct_hdr_t *); 149 void isp_put_fcp_rsp_iu(ispsoftc_t *isp, fcp_rsp_iu_t *, fcp_rsp_iu_t *); 157 #include <dev/isp/isp_target.h> 184 void isp_get_atio7(ispsoftc_t *isp, at7_entry_t *, at7_entry_t *);
|
H A D | ispreg.h | 249 #define INT_PENDING(isp, isr) \ 250 IS_FC(isp)? \ 251 (IS_24XX(isp)? (isr & BIU2400_ISR_RISC_INT) : (isr & BIU2100_ISR_RISC_INT)) :\ 254 #define INT_PENDING_MASK(isp) \ 255 (IS_FC(isp)? (IS_24XX(isp)? BIU2400_ISR_RISC_INT : BIU2100_ISR_RISC_INT) : \ 459 #define ISP_NMBOX(isp) ((IS_24XX(isp) || IS_23XX(isp))? 32 : (IS_2200(isp) [all...] |
H A D | ispmbox.h | 830 #define ISP_CAP_TMODE(isp) \ 831 (IS_24XX(isp)? 1 : (isp->isp_fwattr & ISP_FW_ATTR_TMODE)) 832 #define ISP_CAP_SCCFW(isp) \ 833 (IS_24XX(isp)? 1 : (isp->isp_fwattr & ISP_FW_ATTR_SCCLUN)) 834 #define ISP_CAP_2KLOGIN(isp) \ 835 (IS_24XX(isp)? 1 : (isp->isp_fwattr & ISP_FW_ATTR_2KLOGINS)) 840 #define ISP_CAP_MULTI_ID(isp) \ [all...] |
/freebsd-10.1-release/sys/modules/isp/ |
H A D | Makefile | 3 .PATH: ${.CURDIR}/../../dev/isp 5 KMOD= isp 8 isp.c isp_library.c isp_target.c isp_freebsd.c isp_pci.c
|
/freebsd-10.1-release/contrib/byacc/ |
H A D | graph.c | 54 Value_t *isp; local 62 for (isp = itemset; isp < itemsetend; isp++) 64 sp1 = sp = ritem + *isp;
|
H A D | lr0.c | 251 Value_t *isp; local 259 isp = itemset; 260 while (isp < itemsetend) 262 i = *isp++; 434 Value_t *isp; local 443 for (isp = itemset; isp < itemsetend; isp++) 445 item = ritem[*isp];
|
H A D | closure.c | 187 Value_t *isp; local 190 for (isp = itemset; isp < itemsetend; isp++) 191 printf(" %d\n", *isp);
|
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_ident.c | 63 dt_idsig_t *isp = idp->di_data; local 71 if (isp->dis_varargs >= 0) { 72 mismatch = argc < isp->dis_varargs; 73 arglimit = isp->dis_varargs; 74 } else if (isp->dis_optargs >= 0) { 75 mismatch = (argc < isp->dis_optargs || argc > isp->dis_argc); 78 mismatch = argc != isp->dis_argc; 79 arglimit = isp->dis_argc; 86 isp 121 dt_idsig_t *isp = idp->di_data = malloc(sizeof (dt_idsig_t)); local 187 dt_idsig_t *isp; local [all...] |
/freebsd-10.1-release/share/examples/ |
H A D | Makefile | 132 ppp/ppp.conf.span-isp \ 133 ppp/ppp.conf.span-isp.working \ 135 ppp/ppp.linkdown.span-isp \ 136 ppp/ppp.linkdown.span-isp.working \ 138 ppp/ppp.linkup.span-isp \ 139 ppp/ppp.linkup.span-isp.working \ 141 ppp/ppp.secret.span-isp \ 142 ppp/ppp.secret.span-isp.working \
|
/freebsd-10.1-release/contrib/binutils/bfd/doc/ |
H A D | chew.c | 278 long *isp = &istack[0]; variable 314 if (isp < istack) 316 if (isp >= istack + STACK) 396 isp++; 399 *isp = (long) (*pc); 476 fprintf (stderr, "current integer stack depth = %d\n", isp - istack); 1076 isp--; 1104 internal_mode = *(isp); 1105 isp--; 1382 *(long *) ((isp[ [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ |
H A D | RegisterContextFreeBSD_i386.cpp | 25 uint32_t isp; member in struct:GPR
|
/freebsd-10.1-release/sys/kern/ |
H A D | Make.tags.inc | 20 ${SYS}/dev/isp/*.[ch] \ 80 ${SYS}/dev/isp \
|
/freebsd-10.1-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_state.c | 2668 ipstate_t *is, **isp; local 2819 for (isp = &softs->ipf_state_table[hv]; 2820 ((is = *isp) != NULL); ) { 2821 isp = &is->is_hnext; 2850 for (isp = &softs->ipf_state_table[hv]; ((is = *isp) != NULL); ) { 2851 isp = &is->is_hnext; 2962 ipstate_t **isp; local 2972 isp = is->is_phnext; 2974 is->is_hnext->is_phnext = isp; 3024 ipstate_t *is, **isp; local 3807 ipstate_t *is, **isp; local 4443 ipstate_t *is, **isp; local [all...] |
/freebsd-10.1-release/sys/pc98/conf/ |
H A D | GENERIC | 95 device isp # Qlogic family
|
/freebsd-10.1-release/contrib/binutils/include/opcode/ |
H A D | cr16.h | 62 isp = ispl, enumerator in enum:__anon586
|
/freebsd-10.1-release/sys/i386/include/ |
H A D | vm86.h | 58 reg86_t isp; member in struct:vm86frame
|