Home
last modified time | relevance | path

Searched refs:isp (Results 1 – 25 of 147) sorted by relevance

123456

/netbsd-src/sys/dev/ic/
H A Disp_netbsd.c91 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 …]
H A 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() 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 …]
H A Disp.c69 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 …]
H A Dispvar.h110 #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 …]
H A Disp_target.c74 #include <dev/isp/isp_freebsd.h>
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_ACTIO in isp_target_notify()
489 isp_lun_cmd(ispsoftc_t * isp,int cmd,int bus,int lun,int cmd_cnt,int inot_cnt) isp_lun_cmd() argument
538 isp_target_put_entry(ispsoftc_t * isp,void * ap) isp_target_put_entry() argument
582 isp_target_put_atio(ispsoftc_t * isp,void * arg) isp_target_put_atio() argument
642 isp_endcmd(ispsoftc_t * isp,...) isp_endcmd() argument
789 isp_target_async(ispsoftc_t * isp,int bus,int event) isp_target_async() argument
886 isp_got_msg(ispsoftc_t * isp,in_entry_t * inp) isp_got_msg() argument
943 isp_got_msg_fc(ispsoftc_t * isp,in_fcentry_t * inp) isp_got_msg_fc() argument
1006 isp_got_tmf_24xx(ispsoftc_t * isp,at7_entry_t * aep) isp_got_tmf_24xx() argument
1063 isp_notify_ack(ispsoftc_t * isp,void * arg) isp_notify_ack() argument
1172 isp_acknak_abts(ispsoftc_t * isp,void * arg,int errno) isp_acknak_abts() argument
1251 isp_handle_atio(ispsoftc_t * isp,at_entry_t * aep) isp_handle_atio() argument
1325 isp_handle_atio2(ispsoftc_t * isp,at2_entry_t * aep) isp_handle_atio2() argument
1410 isp_handle_ctio(ispsoftc_t * isp,ct_entry_t * ct) isp_handle_ctio() argument
1560 isp_handle_ctio2(ispsoftc_t * isp,ct2_entry_t * ct) isp_handle_ctio2() argument
1715 isp_handle_ctio7(ispsoftc_t * isp,ct7_entry_t * ct) isp_handle_ctio7() argument
1859 isp_handle_24xx_inotify(ispsoftc_t * isp,in_fcentry_24xx_t * inot_24xx) isp_handle_24xx_inotify() argument
[all...]
H A Disp_netbsd.h110 #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 …]
H A Dispreg.h251 #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 …]
H A Disp_library.h135 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 *);
H A Disp_target.h89 #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/
H A Disp_sbus.c125 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/
H A Disp_pci.c486 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/
H A Dintr.c364 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 in intr_allocate_io_intrsource()
410 intr_free_io_intrsource_direct(struct intrsource * isp) intr_free_io_intrsource_direct() argument
435 struct intrsource *isp; intr_free_io_intrsource() local
459 struct intrsource *isp; intr_allocate_slot_cpu() local
524 struct intrsource *isp; intr_allocate_slot() local
644 struct intrsource *isp; intr_source_free() local
714 intr_append_intrsource_xname(struct intrsource * isp,const char * xname) intr_append_intrsource_xname() argument
913 struct intrsource *isp, *nisp; intr_establish_xname() local
1219 intr_num_handlers(struct intrsource * isp) intr_num_handlers() argument
1238 struct intrsource *isp; intr_disestablish() local
1371 struct intrsource *isp; cpu_intr_init() local
1461 struct intrsource *isp; intr_printconfig() local
1549 struct intrsource *isp; intr_redistribute_xc_t() local
1573 struct intrsource *isp; intr_redistribute_xc_s1() local
1626 struct intrsource *isp; intr_redistribute() local
1834 struct intrsource *isp; intr_deactivate_xcall() local
1876 intr_get_affinity(struct intrsource * isp,kcpuset_t * cpuset) intr_get_affinity() argument
1901 intr_set_affinity(struct intrsource * isp,const kcpuset_t * cpuset) intr_set_affinity() argument
2032 intr_is_affinity_intrsource(struct intrsource * isp,const kcpuset_t * cpuset) intr_is_affinity_intrsource() argument
2054 struct intrsource *isp; intr_get_handler() local
2069 struct intrsource *isp; x86_intr_get_count() local
2125 struct intrsource *isp; x86_intr_get_devname() local
2148 struct intrsource *isp; interrupt_get_count() local
2165 struct intrsource *isp; interrupt_get_assigned() local
2200 struct intrsource *isp; interrupt_get_devname() local
2219 struct intrsource *isp; intr_distribute_locked() local
2288 struct intrsource *isp; interrupt_construct_intrids() local
[all...]
H A Dx86_softintr.c226 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/
H A Ddt_ident.c63 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/mpl/bind/dist/bin/tests/system/geoip2/ns2/
H A Dnamed7.conf.in39 match-clients { geoip isp "One Systems, Inc."; };
47 match-clients { geoip isp "Two Technology Ltd."; };
55 match-clients { geoip isp "Three Network Labs"; };
63 match-clients { geoip isp "Four University"; };
71 match-clients { geoip isp "Five Telecom"; };
79 match-clients { geoip isp "Six Company"; };
87 match-clients { geoip isp "Seven Communications"; };
/netbsd-src/external/gpl3/binutils.old/dist/bfd/doc/
H A Dchew.c133 long *isp = &istack[0]; variable
328 if (isp < istack) in icheck_range()
330 if (isp >= istack + STACK) in icheck_range()
372 isp++; in push_number()
375 *isp = pc->l; in push_number()
452 (long) (isp - istack)); in print_stack_level()
1052 isp--; in idrop()
1077 internal_mode = *(isp); in internalmode()
1078 isp--; in internalmode()
1382 *(long *) ((isp[0])) = isp[-1]; in bang()
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/doc/
H A Dchew.c139 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/bsd/byacc/dist/
H A Dgraph.c58 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()
/netbsd-src/sys/arch/x86/isa/
H A Disa_machdep.c124 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/external/gpl2/dts/dist/arch/arm64/boot/dts/exynos/
H A Dexynos5433-tmu.dtsi262 isp_thermal: isp-thermal {
267 isp_alert_0: isp-alert-0 {
272 isp_alert_1: isp-alert-1 {
277 isp_alert_2: isp-alert-2 {
282 isp_alert_3: isp-alert-3 {
287 isp_alert_4: isp-alert-4 {
292 isp_alert_5: isp-alert-5 {
297 isp_alert_6: isp-alert-6 {
/netbsd-src/sys/arch/m68k/060sp/dist/
H A Dreadme52 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
H A Disp.doc2 # $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/
H A Duirda.c792 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/
H A Dip_state.c2627 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/
H A DMakefile18 all: isp.S fpsp.S pfpsp.S
19 CLEANFILES+=isp.S fpsp.S pfpsp.S

123456