Home
last modified time | relevance | path

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

12345

/src/sys/dev/isp/ !
H A Disp_pci.c222 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) in isp_get_generic_options() argument
291 isp->isp_confopts |= ISP_CFG_NORELOAD; in isp_get_generic_options()
295 isp->isp_confopts |= ISP_CFG_FWLOAD_FORCE; in isp_get_generic_options()
297 if ((isp->isp_confopts & (ISP_CFG_NORELOAD|ISP_CFG_FWLOAD_FORCE)) == in isp_get_generic_options()
304 isp->isp_confopts |= ISP_CFG_NONVRAM; in isp_get_generic_options()
309 isp->isp_dblev = tval; in isp_get_generic_options()
311 isp->isp_dblev = ISP_LOGWARN|ISP_LOGERR; in isp_get_generic_options()
[all …]
H A Disp_library.c63 isp_send_cmd(ispsoftc_t *isp, void *fqe, void *segp, uint32_t nsegs) in isp_send_cmd() argument
71 qe0 = isp_getrqentry(isp); in isp_send_cmd()
74 nxt = ISP_NXT_QENTRY(isp->isp_reqidx, RQUEST_QUEUE_LEN(isp)); in isp_send_cmd()
111 if (!isp_rqentry_avail(isp, ++nqe)) in isp_send_cmd()
125 qe1 = ISP_QUEUE_ENTRY(isp->isp_rquest, nxt); in isp_send_cmd()
126 isp_put_cont64_req(isp, &crq, qe1); in isp_send_cmd()
127 if (isp->isp_dblev & ISP_LOGDEBUG1) { in isp_send_cmd()
128 isp_print_bytes(isp, "additional queue entry", in isp_send_cmd()
132 nxt = ISP_NXT_QENTRY(nxt, RQUEST_QUEUE_LEN(isp)); in isp_send_cmd()
140 isp_put_request_t7(isp, fqe, qe0); in isp_send_cmd()
[all …]
H A Disp.c147 isp_change_fw_state(ispsoftc_t *isp, int chan, int state) in isp_change_fw_state() argument
149 fcparam *fcp = FCPARAM(isp, chan); in isp_change_fw_state()
153 isp_prt(isp, ISP_LOGCONFIG|ISP_LOG_SANCFG, in isp_change_fw_state()
160 isp_get_flash_addrs(ispsoftc_t *isp) in isp_get_flash_addrs() argument
162 fcparam *fcp = FCPARAM(isp, 0); in isp_get_flash_addrs()
165 if (IS_28XX(isp)) { in isp_get_flash_addrs()
168 } else if (IS_26XX(isp)) { /* 26xx and 27xx are identical */ in isp_get_flash_addrs()
171 } else if (IS_25XX(isp)) { in isp_get_flash_addrs()
179 r = isp_read_flthdr_2xxx(isp); in isp_get_flash_addrs()
181 isp_read_flt_2xxx(isp); in isp_get_flash_addrs()
[all …]
H A Disp_freebsd.c45 MODULE_VERSION(isp, 1);
46 MODULE_DEPEND(isp, cam, 1, 1, 1);
54 static void isp_loop_changed(ispsoftc_t *isp, int chan);
76 ispsoftc_t *isp = (ispsoftc_t *)arg1; in isp_role_sysctl() local
80 value = FCPARAM(isp, chan)->role; in isp_role_sysctl()
89 ISP_LOCK(isp); in isp_role_sysctl()
90 old = FCPARAM(isp, chan)->role; in isp_role_sysctl()
97 ISP_UNLOCK(isp); in isp_role_sysctl()
102 error = isp_control(isp, ISPCTL_CHANGE_ROLE, chan, value); in isp_role_sysctl()
103 ISP_UNLOCK(isp); in isp_role_sysctl()
[all …]
H A Disp_freebsd.h143 void *isp; member
198 struct ispsoftc *isp; member
293 #define ISP_FC_PC(isp, chan) (&(isp)->isp_osinfo.fc[(chan)]) argument
303 #define ISP_LOCK(isp) mtx_lock(&(isp)->isp_lock) argument
304 #define ISP_UNLOCK(isp) mtx_unlock(&(isp)->isp_lock) argument
305 #define ISP_ASSERT_LOCKED(isp) mtx_assert(&(isp)->isp_lock, MA_OWNED) argument
316 #define ISP_SLEEP(isp, x) msleep_sbt(&(isp)->isp_osinfo.is_exiting, \ argument
317 &(isp)->isp_lock, 0, "isp_sleep", (x) * SBT_1US, 0, 0)
327 #define ISP_DMASETUP(isp, xs, req) isp_dmasetup(isp, xs, req) argument
328 #define ISP_DMAFREE(isp, xs) isp_dmafree(isp, xs) argument
[all …]
H A Disp_target.c109 isp_target_notify(ispsoftc_t *isp, void *vptr, uint32_t *optrp, uint16_t ql) in isp_target_notify() argument
131 type = isp_get_response_type(isp, (isphdr_t *)vptr); in isp_target_notify()
134 if (isp->isp_dblev & ISP_LOGTDEBUG2) in isp_target_notify()
135 isp_print_qentry(isp, __func__, *optrp, vptr); in isp_target_notify()
139 isp_get_atio7(isp, at7iop, (at7_entry_t *) local); in isp_target_notify()
148 isp_prt(isp, ISP_LOGINFO, "long IU length (%d) ignored", len); in isp_target_notify()
158 isp_got_tmf_24xx(isp, at7iop); in isp_target_notify()
164 isp_async(isp, ISPASYNC_TARGET_ACTION, local); in isp_target_notify()
168 isp_get_ctio7(isp, ct7iop, (ct7_entry_t *) local); in isp_target_notify()
169 isp_handle_ctio7(isp, (ct7_entry_t *) local); in isp_target_notify()
[all …]
H A Dispvar.h80 #define ISP_MAX_TARGETS(isp) MAX_FC_TARG argument
87 #define ISP_RUN_ISR(isp) \ argument
88 (*(isp)->isp_mdvec->dv_run_isr)(isp)
90 #define ISP_READ(isp, reg) \ argument
91 (*(isp)->isp_mdvec->dv_rd_reg)((isp), (reg))
93 #define ISP_WRITE(isp, reg, val) \ argument
94 (*(isp)->isp_mdvec->dv_wr_reg)((isp), (reg), (val))
96 #define ISP_MBOXDMASETUP(isp) \ argument
97 (*(isp)->isp_mdvec->dv_mbxdma)((isp))
99 #define ISP_SEND_CMD(isp, qe, segp, nseg) \ argument
[all …]
H A Disp_library.h56 isp_rqentry_avail(ispsoftc_t *isp, uint32_t num) in isp_rqentry_avail() argument
58 if (ISP_QAVAIL(isp) >= num) in isp_rqentry_avail()
61 isp->isp_reqodx = ISP_READ(isp, BIU2400_REQOUTP); in isp_rqentry_avail()
62 return (ISP_QAVAIL(isp) >= num); in isp_rqentry_avail()
66 isp_getrqentry(ispsoftc_t *isp) in isp_getrqentry() argument
68 if (!isp_rqentry_avail(isp, 1)) in isp_getrqentry()
70 return (ISP_QUEUE_ENTRY(isp->isp_rquest, isp->isp_reqidx)); in isp_getrqentry()
125 void isp_get_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *, isp_ct_pt_t *);
126 void isp_put_ct_pt(ispsoftc_t *isp, isp_ct_pt_t *, isp_ct_pt_t *);
140 void isp_get_ct_hdr(ispsoftc_t *isp, ct_hdr_t *, ct_hdr_t *);
[all …]
H A Dispreg.h170 #define ISP_NMBOX(isp) 32 argument
199 #define ISP_INTS_ENABLED(isp) \ argument
200 (ISP_READ(isp, BIU2400_ICR) & BIU2400_IMASK)
202 #define ISP_ENABLE_INTS(isp) \ argument
203 ISP_WRITE(isp, BIU2400_ICR, BIU2400_IMASK)
205 #define ISP_DISABLE_INTS(isp) \ argument
206 ISP_WRITE(isp, BIU2400_ICR, 0)
/src/cddl/contrib/opensolaris/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 …]
/src/usr.bin/systat/ !
H A Diolat.c176 struct iosched_stat *isp; in find_dev() local
179 SLIST_FOREACH(isp, &curlist, link) { in find_dev()
180 if (strcmp(isp->dev_name, dev) != 0 || isp->unit != unit) in find_dev()
182 iosp = &isp->op_stats[op]; in find_dev()
191 struct iosched_stat *isp; in alloc_dev() local
194 isp = malloc(sizeof(*isp)); in alloc_dev()
195 if (isp == NULL) in alloc_dev()
197 strlcpy(isp->dev_name, dev, sizeof(isp->dev_name)); in alloc_dev()
198 isp->unit = unit; in alloc_dev()
199 SLIST_INSERT_HEAD(&curlist, isp, link); in alloc_dev()
[all …]
/src/contrib/byacc/ !
H A Dgraph.c54 Value_t *isp; in graph_state() local
60 for (isp = itemset; isp < itemsetend; isp++) in graph_state()
65 sp1 = sp = ritem + *isp; in graph_state()
H A Dclosure.c185 Value_t *isp; in print_closure() local
188 for (isp = itemset; isp < itemsetend; isp++) in print_closure()
189 printf(" %d\n", *isp); in print_closure()
H A Dlr0.c254 Value_t *isp; in new_itemsets() local
261 isp = itemset; in new_itemsets()
262 while (isp < itemsetend) in new_itemsets()
264 int j = *isp++; in new_itemsets()
437 Value_t *isp; in save_reductions() local
443 for (isp = itemset; isp < itemsetend; isp++) in save_reductions()
445 int item = ritem[*isp]; in save_reductions()
/src/sys/dev/iscsi/ !
H A Dicl_soft.c190 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)ip; in icl_soft_conn_pdu_free() local
192 KASSERT(isp->ref_cnt == 0, ("freeing active PDU")); in icl_soft_conn_pdu_free()
196 uma_zfree(icl_soft_pdu_zone, isp); in icl_soft_conn_pdu_free()
205 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)ip; in icl_soft_pdu_call_cb() local
207 if (isp->cb != NULL) in icl_soft_pdu_call_cb()
208 isp->cb(ip, isp->error); in icl_soft_pdu_call_cb()
212 uma_zfree(icl_soft_pdu_zone, isp); in icl_soft_pdu_call_cb()
218 struct icl_soft_pdu *isp = (struct icl_soft_pdu *)ip; in icl_soft_pdu_done() local
221 isp->error = error; in icl_soft_pdu_done()
230 if (atomic_fetchadd_int(&isp->ref_cnt, -1) == 1) in icl_soft_pdu_done()
[all …]
/src/sys/modules/isp/ !
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/isp
3 KMOD= isp
6 isp.c isp_library.c isp_target.c isp_freebsd.c isp_pci.c
/src/sys/contrib/device-tree/src/arm64/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 {
/src/share/examples/ppp/ !
H A Dppp.conf.span-isp.working2 # This is a working example of ppp.conf.span-isp that uses ppp connections
15 # exec /usr/sbin/pppin -direct isp-in-${tty#${tty%?}}
27 # ppp.linkup.span-isp.working, you see three links. This is because inetd
99 isp-in-7:
102 isp-in-6:
105 isp-in-4:
H A Dppp.conf.span-isp31 # There is a working example in ppp.*.span-isp.working that can be tested
75 # If you use ppp to connect to your ISPs, the isp* profiles shold be used,
76 # resulting in the vpn* profiles being called from ppp.linkup.span-isp.
92 # from ppp.linkup (see ppp.linkup.span-isp) for each link. We also remove
93 # the link from ppp.linkdown (see ppp.linkdown.span-isp). This is necessary
136 # ppp.linkup.span-isp).
180 # requires the contents of ppp.secret.span-isp.
/src/share/examples/ !
H A DMakefile240 ppp.conf.span-isp \
241 ppp.conf.span-isp.working \
243 ppp.linkdown.span-isp \
244 ppp.linkdown.span-isp.working \
246 ppp.linkup.span-isp \
247 ppp.linkup.span-isp.working \
249 ppp.secret.span-isp \
250 ppp.secret.span-isp.working
/src/sys/contrib/device-tree/Bindings/media/ !
H A Dti,omap3isp.txt4 The DT definitions can be found in include/dt-bindings/media/omap3-isp.h.
9 compatible : must contain "ti,omap3-isp"
58 isp@480bc000 {
59 compatible = "ti,omap3-isp";
/src/sys/contrib/device-tree/Bindings/leds/ !
H A Dleds-aat1290.txt16 - pinctrl-names : Must contain entries: "default", "host", "isp". Entries
19 "isp" must refer to the pin configuration node, which sets the
51 pinctrl-names = "default", "host", "isp";
72 camera_flash_isp: camera-flash-isp {
/src/sys/netpfil/ipfilter/netinet/ !
H A Dip_state.c2601 ipstate_t *is, **isp; in ipf_checkicmpmatchingstate() local
2751 for (isp = &softs->ipf_state_table[hv]; in ipf_checkicmpmatchingstate()
2752 ((is = *isp) != NULL); ) { in ipf_checkicmpmatchingstate()
2753 isp = &is->is_hnext; in ipf_checkicmpmatchingstate()
2782 for (isp = &softs->ipf_state_table[hv]; ((is = *isp) != NULL); ) { in ipf_checkicmpmatchingstate()
2783 isp = &is->is_hnext; in ipf_checkicmpmatchingstate()
2888 ipstate_t **isp; in ipf_ipsmove() local
2898 isp = is->is_phnext; in ipf_ipsmove()
2900 is->is_hnext->is_phnext = isp; in ipf_ipsmove()
2901 *isp = is->is_hnext; in ipf_ipsmove()
[all …]
/src/sys/contrib/device-tree/Bindings/soc/mediatek/ !
H A Dscpsys.txt40 CG: "mm-0", "mm-1", "mm-2", "mm-3", "isp-0",
41 "isp-1", "cam-0", "cam-1", "cam-2",
51 - isp-supply: Power supply for the isp power domain
/src/sys/contrib/device-tree/src/arm/samsung/ !
H A Dexynos4x12.dtsi287 compatible = "samsung,exynos4412-isp-clock";
510 "ppmuispmx", "isp",
519 iommu-names = "isp", "drc", "fd", "mcuctl";
526 i2c1_isp: i2c-isp@940000 {
527 compatible = "samsung,exynos4212-i2c-isp";
546 samsung,isp-wb;
554 samsung,isp-wb;
562 samsung,isp-wb;
572 samsung,isp-wb;

12345