/freebsd-current/sys/dev/isp/ |
H A D | isp_pci.c | 48 #include <dev/isp/isp_freebsd.h> 219 "isp", isp_pci_methods, sizeof (struct isp_pcisoftc) 222 DRIVER_MODULE(isp, pci, isp_pci_driver, 0, 0); 223 MODULE_DEPEND(isp, cam, 1, 1, 1); 224 MODULE_DEPEND(isp, firmware, 1, 1, 1); 285 isp_get_generic_options(device_t dev, ispsoftc_t *isp) argument 291 isp->isp_confopts |= ISP_CFG_NORELOAD; 295 isp->isp_confopts |= ISP_CFG_NONVRAM; 300 isp->isp_dblev = tval; 302 isp 318 isp_get_specific_options(device_t dev, int chan, ispsoftc_t *isp) argument 463 ispsoftc_t *isp = &pcs->pci_isp; local 671 ispsoftc_t *isp = &pcs->pci_isp; local 713 isp_pci_run_isr_2400(ispsoftc_t *isp) argument 756 isp_pci_rd_reg_2400(ispsoftc_t *isp, int regoff) argument 771 isp_pci_wr_reg_2400(ispsoftc_t *isp, int regoff, uint32_t val) argument 797 isp_pci_rd_reg_2600(ispsoftc_t *isp, int regoff) argument 834 isp_pci_wr_reg_2600(ispsoftc_t *isp, int regoff, uint32_t val) argument 885 isp_pci_mbxdma(ispsoftc_t *isp) argument 1136 isp_pci_mbxdmafree(ispsoftc_t *isp) argument 1239 isp_pci_irqsetup(ispsoftc_t *isp) argument [all...] |
H A D | isp_library.c | 41 #include <dev/isp/isp_freebsd.h> 63 isp_send_cmd(ispsoftc_t *isp, void *fqe, void *segp, uint32_t nsegs) argument 71 qe0 = isp_getrqentry(isp); 74 nxt = ISP_NXT_QENTRY(isp->isp_reqidx, RQUEST_QUEUE_LEN(isp)); 111 if (!isp_rqentry_avail(isp, ++nqe)) 125 qe1 = ISP_QUEUE_ENTRY(isp->isp_rquest, nxt); 126 isp_put_cont64_req(isp, &crq, qe1); 127 if (isp->isp_dblev & ISP_LOGDEBUG1) { 128 isp_print_bytes(isp, "additiona 163 isp_allocate_handle(ispsoftc_t *isp, void *xs, int type) argument 179 isp_find_xs(ispsoftc_t *isp, uint32_t handle) argument 189 isp_find_handle(ispsoftc_t *isp, void *xs) argument 206 isp_destroy_handle(ispsoftc_t *isp, uint32_t handle) argument 219 isp_print_qentry(ispsoftc_t *isp, const char *msg, int idx, void *arg) argument 237 isp_print_bytes(ispsoftc_t *isp, const char *msg, int amt, void *arg) argument 274 isp_fc_runstate(ispsoftc_t *isp, int chan, int tval) argument 307 isp_dump_portdb(ispsoftc_t *isp, int chan) argument 457 isp_clear_commands(ispsoftc_t *isp) argument 531 isp_put_hdr(ispsoftc_t *isp, isphdr_t *hpsrc, isphdr_t *hpdst) argument 540 isp_get_hdr(ispsoftc_t *isp, isphdr_t *hpsrc, isphdr_t *hpdst) argument 549 isp_get_response_type(ispsoftc_t *isp, isphdr_t *hp) argument 557 isp_put_marker_24xx(ispsoftc_t *isp, isp_marker_24xx_t *src, isp_marker_24xx_t *dst) argument 577 isp_put_request_t7(ispsoftc_t *isp, ispreqt7_t *src, ispreqt7_t *dst) argument 612 isp_put_24xx_tmf(ispsoftc_t *isp, isp24xx_tmf_t *src, isp24xx_tmf_t *dst) argument 643 isp_put_24xx_abrt(ispsoftc_t *isp, isp24xx_abrt_t *src, isp24xx_abrt_t *dst) argument 664 isp_put_cont64_req(ispsoftc_t *isp, ispcontreq64_t *src, ispcontreq64_t *dst) argument 676 isp_get_cont_response(ispsoftc_t *isp, ispstatus_cont_t *src, ispstatus_cont_t *dst) argument 689 isp_get_24xx_response(ispsoftc_t *isp, isp24xx_statusreq_t *src, isp24xx_statusreq_t *dst) argument 714 isp_get_24xx_abrt(ispsoftc_t *isp, isp24xx_abrt_t *src, isp24xx_abrt_t *dst) argument 735 isp_put_icb_2400(ispsoftc_t *isp, isp_icb_2400_t *src, isp_icb_2400_t *dst) argument 793 isp_put_icb_2400_vpinfo(ispsoftc_t *isp, isp_icb_2400_vpinfo_t *src, isp_icb_2400_vpinfo_t *dst) argument 800 isp_put_vp_port_info(ispsoftc_t *isp, vp_port_info_t *src, vp_port_info_t *dst) argument 816 isp_get_vp_port_info(ispsoftc_t *isp, vp_port_info_t *src, vp_port_info_t *dst) argument 833 isp_put_vp_ctrl_info(ispsoftc_t *isp, vp_ctrl_info_t *src, vp_ctrl_info_t *dst) argument 852 isp_get_vp_ctrl_info(ispsoftc_t *isp, vp_ctrl_info_t *src, vp_ctrl_info_t *dst) argument 871 isp_put_vp_modify(ispsoftc_t *isp, vp_modify_t *src, vp_modify_t *dst) argument 899 isp_get_vp_modify(ispsoftc_t *isp, vp_modify_t *src, vp_modify_t *dst) argument 927 isp_get_pdb_24xx(ispsoftc_t *isp, isp_pdb_24xx_t *src, isp_pdb_24xx_t *dst) argument 957 isp_get_pnhle_24xx(ispsoftc_t *isp, isp_pnhle_24xx_t *src, isp_pnhle_24xx_t *dst) argument 971 isp_get_plogx(ispsoftc_t *isp, isp_plogx_t *src, isp_plogx_t *dst) argument 989 isp_put_plogx(ispsoftc_t *isp, isp_plogx_t *src, isp_plogx_t *dst) argument 1010 isp_get_ridacq(ispsoftc_t *isp, isp_ridacq_t *src, isp_ridacq_t *dst) argument 1035 isp_get_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *src, isp_ct_pt_t *dst) argument 1062 isp_put_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *src, isp_ct_pt_t *dst) argument 1089 isp_put_gid_ft_request(ispsoftc_t *isp, sns_gid_ft_req_t *src, sns_gid_ft_req_t *dst) argument 1106 isp_get_gid_xx_response(ispsoftc_t *isp, sns_gid_xx_rsp_t *src, sns_gid_xx_rsp_t *dst, int nwords) argument 1124 isp_get_gxn_id_response(ispsoftc_t *isp, sns_gxn_id_rsp_t *src, sns_gxn_id_rsp_t *dst) argument 1134 isp_get_gft_id_response(ispsoftc_t *isp, sns_gft_id_rsp_t *src, sns_gft_id_rsp_t *dst) argument 1146 isp_get_gff_id_response(ispsoftc_t *isp, sns_gff_id_rsp_t *src, sns_gff_id_rsp_t *dst) argument 1158 isp_get_ga_nxt_response(ispsoftc_t *isp, sns_ga_nxt_rsp_t *src, sns_ga_nxt_rsp_t *dst) argument 1206 isp_get_fc_hdr(ispsoftc_t *isp, fc_hdr_t *src, fc_hdr_t *dst) argument 1229 isp_put_fc_hdr(ispsoftc_t *isp, fc_hdr_t *src, fc_hdr_t *dst) argument 1252 isp_get_fcp_cmnd_iu(ispsoftc_t *isp, fcp_cmnd_iu_t *src, fcp_cmnd_iu_t *dst) argument 1270 isp_put_rft_id(ispsoftc_t *isp, rft_id_t *src, rft_id_t *dst) argument 1284 isp_put_rspn_id(ispsoftc_t *isp, rspn_id_t *src, rspn_id_t *dst) argument 1295 isp_put_rff_id(ispsoftc_t *isp, rff_id_t *src, rff_id_t *dst) argument 1309 isp_put_rsnn_nn(ispsoftc_t *isp, rsnn_nn_t *src, rsnn_nn_t *dst) argument 1321 isp_get_ct_hdr(ispsoftc_t *isp, ct_hdr_t *src, ct_hdr_t *dst) argument 1340 isp_put_ct_hdr(ispsoftc_t *isp, ct_hdr_t *src, ct_hdr_t *dst) argument 1359 isp_put_fcp_rsp_iu(ispsoftc_t *isp, fcp_rsp_iu_t *src, fcp_rsp_iu_t *dst) argument 1377 isp_find_pdb_empty(ispsoftc_t *isp, int chan, fcportdb_t **lptr) argument 1394 isp_find_pdb_by_wwpn(ispsoftc_t *isp, int chan, uint64_t wwpn, fcportdb_t **lptr) argument 1413 isp_find_pdb_by_handle(ispsoftc_t *isp, int chan, uint16_t handle, fcportdb_t **lptr) argument 1433 isp_find_pdb_by_portid(ispsoftc_t *isp, int chan, uint32_t portid, fcportdb_t **lptr) argument 1454 isp_find_chan_by_did(ispsoftc_t *isp, uint32_t did, uint16_t *cp) argument 1476 isp_add_wwn_entry(ispsoftc_t *isp, int chan, uint64_t wwpn, uint64_t wwnn, uint16_t nphdl, uint32_t s_id, uint16_t prli_params) argument 1632 isp_del_wwn_entry(ispsoftc_t *isp, int chan, uint64_t wwpn, uint16_t nphdl, uint32_t s_id) argument 1658 isp_get_atio7(ispsoftc_t *isp, at7_entry_t *src, at7_entry_t *dst) argument 1669 isp_put_ctio7(ispsoftc_t *isp, ct7_entry_t *src, ct7_entry_t *dst) argument 1719 isp_get_ctio7(ispsoftc_t *isp, ct7_entry_t *src, ct7_entry_t *dst) argument 1771 isp_put_notify_24xx(ispsoftc_t *isp, in_fcentry_24xx_t *src, in_fcentry_24xx_t *dst) argument 1807 isp_get_notify_24xx(ispsoftc_t *isp, in_fcentry_24xx_t *src, in_fcentry_24xx_t *dst) argument 1843 isp_put_notify_ack_24xx(ispsoftc_t *isp, na_fcentry_24xx_t *src, na_fcentry_24xx_t *dst) argument 1877 isp_get_notify_ack_24xx(ispsoftc_t *isp, na_fcentry_24xx_t *src, na_fcentry_24xx_t *dst) argument 1911 isp_get_abts(ispsoftc_t *isp, abts_t *src, abts_t *dst) argument 1945 isp_put_abts_rsp(ispsoftc_t *isp, abts_rsp_t *src, abts_rsp_t *dst) argument 1999 isp_get_abts_rsp(ispsoftc_t *isp, abts_rsp_t *src, abts_rsp_t *dst) argument 2034 isp_put_entry(ispsoftc_t *isp, void *src, void *dst) argument 2073 isp_get_entry(ispsoftc_t *isp, void *src, void *dst) argument 2107 isp_send_entry(ispsoftc_t *isp, void *src) argument 2124 isp_exec_entry_mbox(ispsoftc_t *isp, void *src, void *dst, int timeout) argument 2148 isp_exec_entry_queue(ispsoftc_t *isp, void *src, void *dst, int timeout) argument [all...] |
H A D | isp.c | 55 #include <dev/isp/isp_freebsd.h> 147 isp_change_fw_state(ispsoftc_t *isp, int chan, int state) argument 149 fcparam *fcp = FCPARAM(isp, chan); 153 isp_prt(isp, ISP_LOGCONFIG|ISP_LOG_SANCFG, 160 isp_get_flash_addrs(ispsoftc_t *isp) argument 162 fcparam *fcp = FCPARAM(isp, 0); 165 if (IS_28XX(isp)) { 168 } else if (IS_26XX(isp)) { /* 26xx and 27xx are identical */ 171 } else if (IS_25XX(isp)) { 179 r = isp_read_flthdr_2xxx(isp); 207 isp_reset(ispsoftc_t *isp, int do_load_defaults) argument 821 isp_stop(ispsoftc_t *isp) argument 843 isp_shutdown(ispsoftc_t *isp) argument 859 isp_init(ispsoftc_t *isp) argument 1235 isp_fc_enable_vp(ispsoftc_t *isp, int chan) argument 1279 isp_fc_disable_vp(ispsoftc_t *isp, int chan) argument 1316 isp_fc_change_role(ispsoftc_t *isp, int chan, int new_role) argument 1346 isp_clear_portdb(ispsoftc_t *isp, int chan) argument 1374 isp_mark_portdb(ispsoftc_t *isp, int chan) argument 1396 isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags) argument 1507 isp_getpdb(ispsoftc_t *isp, int chan, uint16_t id, isp_pdb_t *pdb) argument 1550 isp_gethandles(ispsoftc_t *isp, int chan, uint16_t *handles, int *num, int loop) argument 1590 isp_dump_chip_portdb(ispsoftc_t *isp, int chan) argument 1609 isp_get_wwn(ispsoftc_t *isp, int chan, int nphdl, int nodename) argument 1640 isp_fclink_test(ispsoftc_t *isp, int chan, int usdelay) argument 1801 isp_pdb_sync(ispsoftc_t *isp, int chan) argument 1875 isp_pdb_add_update(ispsoftc_t *isp, int chan, isp_pdb_t *pdb) argument 1945 isp_scan_loop(ispsoftc_t *isp, int chan) argument 2021 isp_ct_passthru(ispsoftc_t *isp, int chan, uint32_t cmd_bcnt, uint32_t rsp_bcnt) argument 2082 isp_gid_pt(ispsoftc_t *isp, int chan) argument 2119 isp_gff_id(ispsoftc_t *isp, int chan, uint32_t portid) argument 2176 isp_gft_id(ispsoftc_t *isp, int chan, uint32_t portid) argument 2229 isp_scan_fabric(ispsoftc_t *isp, int chan) argument 2467 isp_login_device(ispsoftc_t *isp, int chan, uint32_t portid, isp_pdb_t *p, uint16_t *ohp) argument 2546 isp_register_fc4_type(ispsoftc_t *isp, int chan) argument 2591 isp_register_fc4_features_24xx(ispsoftc_t *isp, int chan) argument 2649 isp_register_port_name_24xx(ispsoftc_t *isp, int chan) argument 2713 isp_register_node_name_24xx(ispsoftc_t *isp, int chan) argument 2769 isp_next_handle(ispsoftc_t *isp, uint16_t *ohp) argument 2812 ispsoftc_t *isp; local 2985 isp_control(ispsoftc_t *isp, ispctl_t ctl, ...) argument 3222 isp_intr_atioq(ispsoftc_t *isp) argument 3256 isp_intr_mbox(ispsoftc_t *isp, uint16_t mbox0) argument 3275 isp_intr_respq(ispsoftc_t *isp) argument 3497 isp_intr_async(ispsoftc_t *isp, uint16_t mbox) argument 3771 isp_handle_control(ispsoftc_t *isp, isphdr_t *hp) argument 3804 isp_handle_rpt_id_acq(ispsoftc_t *isp, isphdr_t *hp) argument 3849 isp_parse_status_24xx(ispsoftc_t *isp, isp24xx_statusreq_t *sp, XS_T *xs) argument 4270 isp_mboxcmd(ispsoftc_t *isp, mbreg_t *mbp) argument 4433 isp_fw_state(ispsoftc_t *isp, int chan) argument 4445 isp_setdfltfcparm(ispsoftc_t *isp, int chan) argument 4507 isp_reinit(ispsoftc_t *isp, int do_load_defaults) argument 4540 flash_data_addr(ispsoftc_t *isp, uint32_t faddr) argument 4548 isp_read_flash_dword(ispsoftc_t *isp, uint32_t addr, uint32_t *data) argument 4567 isp_read_flash_data(ispsoftc_t *isp, uint32_t *dwptr, uint32_t faddr, uint32_t dwords) argument 4585 isp_rd_2xxx_flash(ispsoftc_t *isp, uint32_t addr, uint32_t *rp) argument 4606 isp_read_flthdr_2xxx(ispsoftc_t *isp) argument 4637 isp_parse_flthdr_2xxx(ispsoftc_t *isp, uint8_t *flthdr_data) argument 4658 isp_read_flt_2xxx(ispsoftc_t *isp) argument 4679 isp_parse_flt_2xxx(ispsoftc_t *isp, uint8_t *flt_data) argument 4861 isp_print_image(ispsoftc_t *isp, char *name, struct isp_image_status *image_status) argument 4932 isp_compare_image_generation(ispsoftc_t *isp, struct isp_image_status *pri_image_status, struct isp_image_status *sec_image_status) argument 4947 isp_get_aux_images(ispsoftc_t *isp, struct active_regions *active_regions) argument 5046 isp_get_active_image(ispsoftc_t *isp, struct active_regions * active_regions) argument 5143 isp_risc_firmware_invalid(ispsoftc_t *isp, uint32_t *dword) argument 5150 isp_load_ram(ispsoftc_t *isp, uint32_t *data, uint32_t risc_addr, uint32_t risc_code_size) argument 5179 isp_load_risc_flash(ispsoftc_t *isp, uint32_t *srisc_addr, uint32_t faddr) argument 5266 isp_load_risc(ispsoftc_t *isp, uint32_t *srisc_addr) argument 5297 isp_read_nvram(ispsoftc_t *isp) argument 5347 isp_parse_nvram_2400(ispsoftc_t *isp, uint8_t *nvram_data) argument [all...] |
H A D | isp_freebsd.h | 89 #include <dev/isp/isp_target.h> 143 void *isp; member in struct:isp_timed_notify_ack 198 struct ispsoftc *isp; member in struct:isp_fc 293 #define ISP_FC_PC(isp, chan) (&(isp)->isp_osinfo.fc[(chan)]) 303 #define ISP_LOCK(isp) mtx_lock(&(isp)->isp_lock) 304 #define ISP_UNLOCK(isp) mtx_unlock(&(isp)->isp_lock) 305 #define ISP_ASSERT_LOCKED(isp) mtx_asser [all...] |
H A D | isp_freebsd.c | 34 #include <dev/isp/isp_freebsd.h> 40 #include <dev/isp/isp_ioctl.h> 45 MODULE_VERSION(isp, 1); 46 MODULE_DEPEND(isp, cam, 1, 1, 1); 54 static void isp_loop_changed(ispsoftc_t *isp, int chan); 70 .d_name = "isp", 76 ispsoftc_t *isp = (ispsoftc_t *)arg1; local 80 value = FCPARAM(isp, chan)->role; 89 ISP_LOCK(isp); 90 old = FCPARAM(isp, cha 108 isp_attach_chan(ispsoftc_t *isp, struct cam_devq *devq, int chan) argument 228 isp_detach_chan(ispsoftc_t *isp, int chan) argument 243 isp_attach(ispsoftc_t *isp) argument 285 isp_detach(ispsoftc_t *isp) argument 305 isp_freeze_loopdown(ispsoftc_t *isp, int chan) argument 325 isp_unfreeze_loopdown(ispsoftc_t *isp, int chan) argument 346 isp_rq_check_above(ispsoftc_t *isp) argument 359 isp_rq_check_below(ispsoftc_t *isp) argument 374 ispsoftc_t *isp; local 601 isp_get_pcmd(ispsoftc_t *isp, union ccb *ccb) argument 612 isp_free_pcmd(ispsoftc_t *isp, union ccb *ccb) argument 650 get_lun_statep(ispsoftc_t *isp, int bus, lun_id_t lun) argument 663 isp_atio_restart(ispsoftc_t *isp, int bus, tstate_t *tptr) argument 690 isp_tmcmd_restart(ispsoftc_t *isp) argument 718 isp_get_atpd(ispsoftc_t *isp, int chan, uint32_t tag) argument 733 isp_find_atpd(ispsoftc_t *isp, int chan, uint32_t tag) argument 746 isp_put_atpd(ispsoftc_t *isp, int chan, atio_private_data_t *atp) argument 758 isp_dump_atpd(ispsoftc_t *isp, int chan) argument 773 isp_get_ntpd(ispsoftc_t *isp, int chan) argument 785 isp_find_ntpd(ispsoftc_t *isp, int chan, uint32_t tag_id, uint32_t seq_id) argument 798 isp_put_ntpd(ispsoftc_t *isp, int chan, inot_private_data_t *ntp) argument 807 create_lun_state(ispsoftc_t *isp, int bus, struct cam_path *path) argument 827 destroy_lun_state(ispsoftc_t *isp, int bus, tstate_t *tptr) argument 853 isp_enable_lun(ispsoftc_t *isp, union ccb *ccb) argument 891 isp_disable_lun(ispsoftc_t *isp, union ccb *ccb) argument 919 isp_target_start_ctio(ispsoftc_t *isp, union ccb *ccb, enum Start_Ctio_How how) argument 1260 ispsoftc_t *isp = tp->isp; local 1272 isp_complete_ctio(ispsoftc_t *isp, union ccb *ccb) argument 1281 isp_handle_platform_atio7(ispsoftc_t *isp, at7_entry_t *aep) argument 1462 isp_handle_srr_start(ispsoftc_t *isp, atio_private_data_t *atp) argument 1560 isp_handle_platform_srr(ispsoftc_t *isp, isp_notify_t *notify) argument 1583 isp_handle_platform_ctio(ispsoftc_t *isp, ct7_entry_t *ct) argument 1686 isp_handle_platform_target_notify_ack(ispsoftc_t *isp, isp_notify_t *mp, uint32_t rsp) argument 1784 isp_handle_platform_target_tmf(ispsoftc_t *isp, isp_notify_t *notify) argument 1894 isp_target_mark_aborted_early(ispsoftc_t *isp, int chan, tstate_t *tptr, uint32_t tag_id) argument 1930 ispsoftc_t *isp = cam_sim_softc(sim); local 1940 ispsoftc_t *isp; local 2000 isp_make_here(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) argument 2023 isp_make_gone(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) argument 2055 ispsoftc_t *isp = fc->isp; local 2113 isp_loop_changed(ispsoftc_t *isp, int chan) argument 2128 isp_loop_up(ispsoftc_t *isp, int chan) argument 2139 isp_loop_dead(ispsoftc_t *isp, int chan) argument 2218 ispsoftc_t *isp = fc->isp; local 2287 isp_abort_atio(ispsoftc_t *isp, union ccb *ccb) argument 2338 isp_abort_inot(ispsoftc_t *isp, union ccb *ccb) argument 2381 ispsoftc_t *isp; local 2802 ispsoftc_t *isp = XS_ISP(sccb); local 2835 isp_async(ispsoftc_t *isp, ispasync_t cmd, ...) argument 3171 isp_default_wwn(ispsoftc_t * isp, int chan, int isactive, int iswwnn) argument 3221 isp_prt(ispsoftc_t *isp, int level, const char *fmt, ...) argument 3239 isp_xs_prt(ispsoftc_t *isp, XS_T *xs, int level, const char *fmt, ...) argument 3266 isp_fc_scratch_acquire(ispsoftc_t *isp, int chan) argument 3279 ispsoftc_t *isp = arg; local 3289 ispsoftc_t *isp = arg; local 3302 ispsoftc_t *isp = arg; local 3315 ispsoftc_t *isp; member in struct:__anon30 3325 ispsoftc_t *isp= mp->isp; local 3346 isp_dmasetup(ispsoftc_t *isp, struct ccb_scsiio *csio, void *qe) argument 3386 isp_dmafree(ispsoftc_t *isp, struct ccb_scsiio *csio) argument 3408 isp_fcp_reset_crn(ispsoftc_t *isp, int chan, uint32_t tgt, int tgt_set) argument 3430 isp_fcp_next_crn(ispsoftc_t *isp, uint8_t *crnp, XS_T *cmd) argument 3477 ispsoftc_t *isp = arg; local 3486 isp_get_ecmd(ispsoftc_t *isp) argument 3496 isp_put_ecmd(ispsoftc_t *isp, isp_ecmd_t *ecmd) argument [all...] |
H A D | ispvar.h | 43 #include <dev/isp/isp_stds.h> 44 #include <dev/isp/ispmbox.h> 80 #define ISP_MAX_TARGETS(isp) MAX_FC_TARG 87 #define ISP_RUN_ISR(isp) \ 88 (*(isp)->isp_mdvec->dv_run_isr)(isp) 90 #define ISP_READ(isp, reg) \ 91 (*(isp)->isp_mdvec->dv_rd_reg)((isp), (reg)) 93 #define ISP_WRITE(isp, re [all...] |
H A D | isp_target.c | 47 #include <dev/isp/isp_freebsd.h> 109 isp_target_notify(ispsoftc_t *isp, void *vptr, uint32_t *optrp, uint16_t ql) argument 131 type = isp_get_response_type(isp, (isphdr_t *)vptr); 134 if (isp->isp_dblev & ISP_LOGTDEBUG2) 135 isp_print_qentry(isp, __func__, *optrp, vptr); 139 isp_get_atio7(isp, at7iop, (at7_entry_t *) local); 148 isp_prt(isp, ISP_LOGINFO, "long IU length (%d) ignored", len); 158 isp_got_tmf_24xx(isp, at7iop); 164 isp_async(isp, ISPASYNC_TARGET_ACTION, local); 168 isp_get_ctio7(isp, ct7io 239 isp_endcmd(ispsoftc_t *isp, ...) argument 309 isp_target_async(ispsoftc_t *isp, int bus, int event) argument 352 isp_got_tmf_24xx(ispsoftc_t *isp, at7_entry_t *aep) argument 422 isp_notify_ack(ispsoftc_t *isp, void *arg) argument 468 isp_acknak_abts(ispsoftc_t *isp, void *arg, int errno) argument 527 isp_handle_abts(ispsoftc_t *isp, abts_t *abts) argument 574 isp_handle_ctio7(ispsoftc_t *isp, ct7_entry_t *ct) argument 716 isp_handle_notify_24xx(ispsoftc_t *isp, in_fcentry_24xx_t *inot) argument [all...] |
H A D | isp_library.h | 56 isp_rqentry_avail(ispsoftc_t *isp, uint32_t num) argument 58 if (ISP_QAVAIL(isp) >= num) 61 isp->isp_reqodx = ISP_READ(isp, BIU2400_REQOUTP); 62 return (ISP_QAVAIL(isp) >= num); 66 isp_getrqentry(ispsoftc_t *isp) argument 68 if (!isp_rqentry_avail(isp, 1)) 70 return (ISP_QUEUE_ENTRY(isp->isp_rquest, isp->isp_reqidx)); 125 void isp_get_ct_pt(ispsoftc_t *isp, isp_ct_pt_ [all...] |
H A D | ispreg.h | 170 #define ISP_NMBOX(isp) 32 199 #define ISP_INTS_ENABLED(isp) \ 200 (ISP_READ(isp, BIU2400_ICR) & BIU2400_IMASK) 202 #define ISP_ENABLE_INTS(isp) \ 203 ISP_WRITE(isp, BIU2400_ICR, BIU2400_IMASK) 205 #define ISP_DISABLE_INTS(isp) \ 206 ISP_WRITE(isp, BIU2400_ICR, 0)
|
H A D | ispmbox.h | 590 #define ISP_CAP_MULTI_ID(isp) \ 591 (isp->isp_fwattr & ISP_FW_ATTR_MULTIID) 592 #define ISP_GET_VPIDX(isp, tag) \ 593 (ISP_CAP_MULTI_ID(isp) ? tag : 0) 594 #define ISP_CAP_MSIX(isp) \ 595 (isp->isp_fwattr & ISP_FW_ATTR_MSIX) 596 #define ISP_CAP_VP0(isp) \ 597 (isp->isp_fwattr & ISP_FW_ATTR_VP0) 599 #define ISP_FCTAPE_ENABLED(isp, chan) \ 600 ((FCPARAM(isp, cha [all...] |
/freebsd-current/sys/modules/isp/ |
H A D | Makefile | 2 .PATH: ${SRCTOP}/sys/dev/isp 4 KMOD= isp 7 isp.c isp_library.c isp_target.c isp_freebsd.c isp_pci.c
|
/freebsd-current/contrib/byacc/ |
H A D | graph.c | 54 Value_t *isp; local 60 for (isp = itemset; isp < itemsetend; isp++) 65 sp1 = sp = ritem + *isp;
|
H A D | closure.c | 185 Value_t *isp; local 188 for (isp = itemset; isp < itemsetend; isp++) 189 printf(" %d\n", *isp);
|
H A D | lr0.c | 254 Value_t *isp; local 261 isp = itemset; 262 while (isp < itemsetend) 264 int j = *isp++; 437 Value_t *isp; local 443 for (isp = itemset; isp < itemsetend; isp++) 445 int item = ritem[*isp];
|
/freebsd-current/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...] |
H A D | dt_cc.c | 1291 dt_idsig_t *isp; local 1359 isp = (dt_idsig_t *)aid->di_data; 1361 if (isp->dis_auxinfo == 0) { 1367 isp->dis_auxinfo = arg; 1368 } else if ((oarg = isp->dis_auxinfo) != arg) { 1426 dt_idsig_t *isp; local 1518 isp = (dt_idsig_t *)aid->di_data; 1520 if (isp->dis_auxinfo == 0) { 1526 isp->dis_auxinfo = arg; 1527 } else if ((oarg = isp [all...] |
H A D | dt_aggregate.c | 1943 dt_idsig_t *isp; local 1948 isp = (dt_idsig_t *)aid->di_data; 1949 assert(isp->dis_auxinfo != 0); 1950 larg = isp->dis_auxinfo;
|
H A D | dt_cg.c | 544 const dt_idsig_t *isp = idp->di_data; local 561 isp->dis_args[i].dn_reg = dnp->dn_reg; /* re-use register */ 562 dt_cg_typecast(dnp, &isp->dis_args[i], dlp, drp); 563 isp->dis_args[i].dn_reg = -1;
|
/freebsd-current/usr.bin/systat/ |
H A D | iolat.c | 176 struct iosched_stat *isp; local 179 SLIST_FOREACH(isp, &curlist, link) { 180 if (strcmp(isp->dev_name, dev) != 0 || isp->unit != unit) 182 iosp = &isp->op_stats[op]; 191 struct iosched_stat *isp; local 194 isp = malloc(sizeof(*isp)); 195 if (isp == NULL) 197 strlcpy(isp 386 struct iosched_stat *isp; local 475 struct iosched_stat *isp; local [all...] |
/freebsd-current/sys/dev/iscsi/ |
H A D | icl_soft.c | 190 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)ip; local 192 KASSERT(isp->ref_cnt == 0, ("freeing active PDU")); 196 uma_zfree(icl_soft_pdu_zone, isp); 205 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)ip; local 207 if (isp->cb != NULL) 208 isp->cb(ip, isp->error); 212 uma_zfree(icl_soft_pdu_zone, isp); 218 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)ip; local 221 isp 237 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)mb->m_ext.ext_arg1; local 248 struct icl_soft_pdu *isp; local 1094 struct icl_soft_pdu *isp; local 1113 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)request; local 1224 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)request; local 1321 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)ip; local [all...] |
/freebsd-current/share/examples/ |
H A D | Makefile | 237 ppp.conf.span-isp \ 238 ppp.conf.span-isp.working \ 240 ppp.linkdown.span-isp \ 241 ppp.linkdown.span-isp.working \ 243 ppp.linkup.span-isp \ 244 ppp.linkup.span-isp.working \ 246 ppp.secret.span-isp \ 247 ppp.secret.span-isp.working
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextFreeBSD_i386.cpp | 23 uint32_t isp; member in struct:GPR
|
/freebsd-current/sys/kern/ |
H A D | Make.tags.inc | 14 ${SYS}/dev/isp/*.[ch] \ 62 ${SYS}/dev/isp \
|
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | ip_state.c | 2612 ipstate_t *is, **isp; local 2763 for (isp = &softs->ipf_state_table[hv]; 2764 ((is = *isp) != NULL); ) { 2765 isp = &is->is_hnext; 2794 for (isp = &softs->ipf_state_table[hv]; ((is = *isp) != NULL); ) { 2795 isp = &is->is_hnext; 2900 ipstate_t **isp; local 2910 isp = is->is_phnext; 2912 is->is_hnext->is_phnext = isp; 2959 ipstate_t *is, **isp; local 3729 ipstate_t *is, **isp; local 4355 ipstate_t *is, **isp; local 4624 ipf_state_deref(ipf_main_softc_t *softc, ipstate_t **isp) argument [all...] |
/freebsd-current/sys/i386/include/ |
H A D | vm86.h | 58 reg86_t isp; member in struct:vm86frame
|