| /netbsd/src/sys/dev/ic/ |
| D | isp_netbsd.c | 91 isp_attach(struct ispsoftc *isp) in isp_attach() argument 93 device_t self = isp->isp_osinfo.dev; in isp_attach() 96 isp->isp_state = ISP_RUNSTATE; in isp_attach() 98 isp->isp_osinfo.adapter.adapt_dev = self; in isp_attach() 99 isp->isp_osinfo.adapter.adapt_openings = isp->isp_maxcmds; in isp_attach() 100 isp->isp_osinfo.loop_down_limit = 300; in isp_attach() 106 isp->isp_osinfo.adapter.adapt_max_periph = uimin(isp->isp_maxcmds, 255); in isp_attach() 107 isp->isp_osinfo.adapter.adapt_ioctl = ispioctl; in isp_attach() 108 isp->isp_osinfo.adapter.adapt_request = isprequest; in isp_attach() 109 if (isp->isp_type <= ISP_HA_SCSI_1020A) { in isp_attach() [all …]
|
| 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() argument 70 qe0 = isp_getrqentry(isp); in isp_send_cmd() 74 nxt = ISP_NXT_QENTRY(isp->isp_reqidx, RQUEST_QUEUE_LEN(isp)); in isp_send_cmd() 145 nxtnxt = ISP_NXT_QENTRY(nxt, RQUEST_QUEUE_LEN(isp)); in isp_send_cmd() 146 if (nxtnxt == isp->isp_reqodx) { in isp_send_cmd() 150 qe1 = ISP_QUEUE_ENTRY(isp->isp_rquest, nxt); in isp_send_cmd() 176 isp_put_cont64_req(isp, (ispcontreq64_t *)storage, qe1); in isp_send_cmd() 178 isp_put_cont_req(isp, (ispcontreq_t *)storage, qe1); in isp_send_cmd() 180 if (isp->isp_dblev & ISP_LOGDEBUG1) { in isp_send_cmd() 181 isp_print_bytes(isp, "additional queue entry", QENTRY_LEN, storage); in isp_send_cmd() [all …]
|
| D | isp.c | 69 isp_prt(isp, ISP_LOGSANCFG, \ 160 isp_reset(ispsoftc_t *isp, int do_load_defaults) in isp_reset() argument 168 isp->isp_state = ISP_NILSTATE; in isp_reset() 169 if (isp->isp_dead) { in isp_reset() 170 isp_shutdown(isp); in isp_reset() 171 ISP_DISABLE_INTS(isp); in isp_reset() 185 ISP_DISABLE_INTS(isp); in isp_reset() 192 if (IS_24XX(isp)) { in isp_reset() 193 isp->isp_maxcmds = 4096; in isp_reset() 194 } else if (IS_2322(isp)) { in isp_reset() [all …]
|
| D | ispvar.h | 110 #define ISP_MAX_TARGETS(isp) (IS_FC(isp)? MAX_FC_TARG : MAX_TARGETS) argument 111 #define ISP_MAX_LUNS(isp) (isp)->isp_maxluns argument 117 #define ISP_READ_ISR(isp, isrp, semap, mbox0p) \ argument 118 (*(isp)->isp_mdvec->dv_rd_isr)(isp, isrp, semap, mbox0p) 120 #define ISP_READ(isp, reg) \ argument 121 (*(isp)->isp_mdvec->dv_rd_reg)((isp), (reg)) 123 #define ISP_WRITE(isp, reg, val) \ argument 124 (*(isp)->isp_mdvec->dv_wr_reg)((isp), (reg), (val)) 126 #define ISP_MBOXDMASETUP(isp) \ argument 127 (*(isp)->isp_mdvec->dv_mbxdma)((isp)) [all …]
|
| D | isp_target.c | 145 isp_target_notify(ispsoftc_t *isp, void *vptr, uint32_t *optrp) in isp_target_notify() argument 199 type = isp_get_response_type(isp, (isphdr_t *)vptr); in isp_target_notify() 202 ISP_TDQE(isp, "isp_target_notify", (int) *optrp, vptr); in isp_target_notify() 206 if (IS_24XX(isp)) { in isp_target_notify() 209 isp_get_atio7(isp, at7iop, (at7_entry_t *) local); in isp_target_notify() 218 … isp_prt(isp, ISP_LOGINFO, "long IU length (%d) ignored", len); in isp_target_notify() 220 … *optrp = ISP_NXT_QENTRY(*optrp, RESULT_QUEUE_LEN(isp)); in isp_target_notify() 228 isp_got_tmf_24xx(isp, at7iop); in isp_target_notify() 234 isp_async(isp, ISPASYNC_TARGET_ACTION, local); in isp_target_notify() 236 isp_get_atio(isp, atiop, (at_entry_t *) local); in isp_target_notify() [all …]
|
| D | isp_netbsd.h | 110 #define ISP_MUSTPOLL(isp) \ argument 111 (isp->isp_osinfo.onintstack || isp->isp_osinfo.mbox_sleep_ok == 0) 123 #define ISP_SLEEP(isp, x) \ argument 124 if (!ISP_MUSTPOLL(isp)) \ 125 ISP_UNLOCK(isp); \ 127 if (!ISP_MUSTPOLL(isp)) \ 128 ISP_LOCK(isp) 138 #define MAXISPREQUEST(isp) 256 argument 141 #define MEMORYBARRIER(isp, type, offset, size, c) \ argument 146 bus_dmamap_sync(isp->isp_dmatag, isp->isp_rqdmap, \ [all …]
|
| D | ispreg.h | 251 #define INT_PENDING(isp, isr) \ argument 252 IS_FC(isp)? \ 253 (IS_24XX(isp)? (isr & BIU2400_ISR_RISC_INT) : (isr & BIU2100_ISR_RISC_INT)) :\ 256 #define INT_PENDING_MASK(isp) \ argument 257 (IS_FC(isp)? (IS_24XX(isp)? BIU2400_ISR_RISC_INT : BIU2100_ISR_RISC_INT) : \ 461 #define NMBOX(isp) \ argument 462 (((((isp)->isp_type & ISP_HA_SCSI) >= ISP_HA_SCSI_1040A) || \ 463 ((isp)->isp_type & ISP_HA_FC))? 12 : 6) 464 #define NMBOX_BMASK(isp) \ argument 465 (((((isp)->isp_type & ISP_HA_SCSI) >= ISP_HA_SCSI_1040A) || \ [all …]
|
| D | isp_library.h | 135 void isp_get_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *, isp_ct_pt_t *); 136 void isp_get_ms(ispsoftc_t *isp, isp_ms_t *, isp_ms_t *); 137 void isp_put_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *, isp_ct_pt_t *); 138 void isp_put_ms(ispsoftc_t *isp, isp_ms_t *, isp_ms_t *); 152 void isp_get_ct_hdr(ispsoftc_t *isp, ct_hdr_t *, ct_hdr_t *); 153 void isp_put_ct_hdr(ispsoftc_t *isp, ct_hdr_t *, ct_hdr_t *); 188 void isp_get_atio7(ispsoftc_t *isp, at7_entry_t *, at7_entry_t *);
|
| D | isp_target.h | 89 #define ISP_TDQE(isp, msg, idx, arg) \ argument 90 if (isp->isp_dblev & ISP_LOGTDEBUG2) isp_print_qentry(isp, msg, idx, arg)
|
| /netbsd/src/sys/dev/sbus/ |
| D | isp_sbus.c | 125 ispsoftc_t *isp = &sbc->sbus_isp; in isp_sbus_attach() local 127 isp->isp_osinfo.dev = self; in isp_sbus_attach() 131 isp->isp_nchan = isp->isp_osinfo.adapter.adapt_nchannels = 1; in isp_sbus_attach() 188 isp->isp_mdvec = &sbc->sbus_mdvec; in isp_sbus_attach() 189 isp->isp_bustype = ISP_BT_SBUS; in isp_sbus_attach() 190 isp->isp_type = ISP_HA_SCSI_UNKNOWN; in isp_sbus_attach() 191 isp->isp_param = &sbc->sbus_dev; in isp_sbus_attach() 192 isp->isp_dmatag = sa->sa_dmatag; in isp_sbus_attach() 193 ISP_MEMZERO(isp->isp_param, sizeof (sdparam)); in isp_sbus_attach() 194 isp->isp_osinfo.chan = &sbc->sbus_chan; in isp_sbus_attach() [all …]
|
| /netbsd/src/sys/dev/pci/ |
| D | isp_pci.c | 486 struct ispsoftc *isp = &pcs->pci_isp; in isp_pci_attach() local 497 isp->isp_osinfo.dev = self; in isp_pci_attach() 524 isp->isp_nchan = 1; in isp_pci_attach() 542 isp->isp_mdvec = &mdvec; in isp_pci_attach() 543 isp->isp_type = ISP_HA_SCSI_UNKNOWN; in isp_pci_attach() 550 isp->isp_mdvec = &mdvec_1080; in isp_pci_attach() 551 isp->isp_type = ISP_HA_SCSI_1080; in isp_pci_attach() 558 isp->isp_mdvec = &mdvec_1080; in isp_pci_attach() 559 isp->isp_type = ISP_HA_SCSI_1240; in isp_pci_attach() 560 isp->isp_nchan++; in isp_pci_attach() [all …]
|
| /netbsd/src/sys/arch/x86/x86/ |
| D | intr.c | 364 struct intrsource *isp; in intr_get_io_intrsource() local 368 SIMPLEQ_FOREACH(isp, &io_interrupt_sources, is_list) { in intr_get_io_intrsource() 369 KASSERT(isp->is_intrid != NULL); in intr_get_io_intrsource() 370 if (strncmp(intrid, isp->is_intrid, INTRIDBUF - 1) == 0) in intr_get_io_intrsource() 371 return isp; in intr_get_io_intrsource() 384 struct intrsource *isp; in intr_allocate_io_intrsource() local 392 isp = kmem_zalloc(sizeof(*isp), KM_SLEEP); in intr_allocate_io_intrsource() 394 isp->is_saved_evcnt = pep; in intr_allocate_io_intrsource() 399 strlcpy(isp->is_intrid, intrid, sizeof(isp->is_intrid)); in intr_allocate_io_intrsource() 401 SIMPLEQ_INSERT_TAIL(&io_interrupt_sources, isp, is_list); in intr_allocate_io_intrsource() [all …]
|
| D | x86_softintr.c | 226 struct intrsource *isp; in x86_init_preempt() local 228 isp = kmem_zalloc(sizeof(*isp), KM_SLEEP); in x86_init_preempt() 229 isp->is_recurse = Xrecurse_preempt; in x86_init_preempt() 230 isp->is_resume = Xresume_preempt; in x86_init_preempt() 233 isp->is_handlers = &fake_preempt_intrhand; in x86_init_preempt() 234 isp->is_pic = &softintr_pic; in x86_init_preempt() 235 ci->ci_isources[SIR_PREEMPT] = isp; in x86_init_preempt() 248 struct intrsource *isp; in softint_init_md() local 254 isp = kmem_zalloc(sizeof(*isp), KM_SLEEP); in softint_init_md() 255 isp->is_recurse = Xsoftintr; in softint_init_md() [all …]
|
| /netbsd/src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| D | dt_ident.c | 63 dt_idsig_t *isp = idp->di_data; in dt_idcook_sign() local 71 if (isp->dis_varargs >= 0) { in dt_idcook_sign() 72 mismatch = argc < isp->dis_varargs; in dt_idcook_sign() 73 arglimit = isp->dis_varargs; in dt_idcook_sign() 74 } else if (isp->dis_optargs >= 0) { in dt_idcook_sign() 75 mismatch = (argc < isp->dis_optargs || argc > isp->dis_argc); in dt_idcook_sign() 78 mismatch = argc != isp->dis_argc; in dt_idcook_sign() 79 arglimit = isp->dis_argc; in dt_idcook_sign() 86 isp->dis_optargs >= 0 ? "at least " : "", in dt_idcook_sign() 87 isp->dis_optargs >= 0 ? isp->dis_optargs : arglimit); in dt_idcook_sign() [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/bfd/doc/ |
| D | chew.c | 139 intptr_t *isp = &istack[0]; variable 334 if (isp < istack) in icheck_range() 336 if (isp >= istack + STACK) in icheck_range() 352 isp--; in idrop() 395 isp++; in push_number() 398 *isp = pc->l; in push_number() 483 (long) (isp - istack)); in print_stack_level() 1114 int cond = isp[0]; in catstrif() 1115 isp--; in catstrif() 1445 *(intptr_t *) ((isp[0])) = isp[-1]; in bang() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/bfd/doc/ |
| D | chew.c | 139 intptr_t *isp = &istack[0]; variable 334 if (isp < istack) in icheck_range() 336 if (isp >= istack + STACK) in icheck_range() 352 isp--; in idrop() 395 isp++; in push_number() 398 *isp = pc->l; in push_number() 483 (long) (isp - istack)); in print_stack_level() 1112 int cond = isp[0]; in catstrif() 1113 isp--; in catstrif() 1443 *(intptr_t *) ((isp[0])) = isp[-1]; in bang() [all …]
|
| /netbsd/src/external/bsd/byacc/dist/ |
| D | graph.c | 58 Value_t *isp; in graph_state() local 64 for (isp = itemset; isp < itemsetend; isp++) in graph_state() 69 sp1 = sp = ritem + *isp; in graph_state()
|
| D | lr0.c | 259 Value_t *isp; in new_itemsets() local 266 isp = itemset; in new_itemsets() 267 while (isp < itemsetend) in new_itemsets() 269 int j = *isp++; in new_itemsets() 442 Value_t *isp; in save_reductions() local 448 for (isp = itemset; isp < itemsetend; isp++) in save_reductions() 450 int item = ritem[*isp]; in save_reductions()
|
| D | closure.c | 190 Value_t *isp; in print_closure() local 193 for (isp = itemset; isp < itemsetend; isp++) in print_closure() 194 printf(" %d\n", *isp); in print_closure()
|
| /netbsd/src/sys/arch/x86/isa/ |
| D | isa_machdep.c | 124 struct intrsource *isp; in isa_intr_alloc() local 149 isp = ci->ci_isources[i]; in isa_intr_alloc() 150 if (isp == NULL) { in isa_intr_alloc() 157 switch(isp->is_type) { in isa_intr_alloc() 160 if (type != isp->is_type) in isa_intr_alloc() 171 for (p = &isp->is_handlers, tmp = 0; (q = *p) != NULL; in isa_intr_alloc()
|
| /netbsd/src/sys/arch/m68k/060sp/dist/ |
| D | readme | 52 isp.sa Integer Unimplemented Kernel Module - hex image 53 isp.s Integer Unimplemented Kernel Module - source code 54 isp.doc Integer Unimplemented Kernel Module - on-line doc 62 iskeleton.s Sample Call-outs needed by isp.sa 64 os.s Sample Call-outs needed by fpsp.sa, pfpsp.sa, and isp.sa 70 itest.sa Simple test program to test that isp.sa was
|
| D | isp.doc | 2 # $NetBSD: isp.doc,v 1.1 2000/04/14 20:24:39 is Exp $ 41 The file isp.sa contains the 68060 Integer Software Package. 47 isp.sa provides full emulation support for these instructions. 60 The file isp.sa is essentially a hexadecimal image of the 75 The source code isp.s has also been included but only for 98 is NOT INCLUDED in isp.sa (an example "Call-out" section is provided at 107 isp.sa image in memory. 110 to access the functions within the ISP. Since the isp.sa hex file contains 192 host system (see isp.s source code), then these "Call-out"s should be 209 source code in isp.s.
|
| /netbsd/src/sys/dev/usb/ |
| D | uirda.c | 792 u_int isp; in uirda_get_speeds() local 801 isp = 0; in uirda_get_speeds() 802 if (usp & UI_BR_4000000) isp |= IRDA_SPEED_4000000; in uirda_get_speeds() 803 if (usp & UI_BR_1152000) isp |= IRDA_SPEED_1152000; in uirda_get_speeds() 804 if (usp & UI_BR_576000) isp |= IRDA_SPEED_576000; in uirda_get_speeds() 805 if (usp & UI_BR_115200) isp |= IRDA_SPEED_115200; in uirda_get_speeds() 806 if (usp & UI_BR_57600) isp |= IRDA_SPEED_57600; in uirda_get_speeds() 807 if (usp & UI_BR_38400) isp |= IRDA_SPEED_38400; in uirda_get_speeds() 808 if (usp & UI_BR_19200) isp |= IRDA_SPEED_19200; in uirda_get_speeds() 809 if (usp & UI_BR_9600) isp |= IRDA_SPEED_9600; in uirda_get_speeds() [all …]
|
| /netbsd/src/sys/external/bsd/ipf/netinet/ |
| D | ip_state.c | 2627 ipstate_t *is, **isp; in ipf_checkicmpmatchingstate() local 2777 for (isp = &softs->ipf_state_table[hv]; in ipf_checkicmpmatchingstate() 2778 ((is = *isp) != NULL); ) { in ipf_checkicmpmatchingstate() 2779 isp = &is->is_hnext; in ipf_checkicmpmatchingstate() 2808 for (isp = &softs->ipf_state_table[hv]; ((is = *isp) != NULL); ) { in ipf_checkicmpmatchingstate() 2809 isp = &is->is_hnext; in ipf_checkicmpmatchingstate() 2914 ipstate_t **isp; in ipf_ipsmove() local 2924 isp = is->is_phnext; in ipf_ipsmove() 2926 is->is_hnext->is_phnext = isp; in ipf_ipsmove() 2927 *isp = is->is_hnext; in ipf_ipsmove() [all …]
|
| /netbsd/src/sys/arch/m68k/060sp/ |
| D | Makefile | 18 all: isp.S fpsp.S pfpsp.S 19 CLEANFILES+=isp.S fpsp.S pfpsp.S
|