Home
last modified time | relevance | path

Searched refs:iop (Results 1 – 25 of 64) sorted by relevance

123

/netbsd/src/sys/arch/mac68k/mac68k/
Diop.c90 default_listener(IOP *iop, struct iop_msg *msg) in default_listener() argument
99 IOP *iop; in iop_init() local
107 mac68k_iops[SCC_IOP].iop = (IOPHW *) in iop_init()
109 mac68k_iops[ISM_IOP].iop = (IOPHW *) in iop_init()
113 mac68k_iops[SCC_IOP].iop = (IOPHW *) in iop_init()
115 mac68k_iops[ISM_IOP].iop = (IOPHW *) in iop_init()
121 ioph = mac68k_iops[SCC_IOP].iop; in iop_init()
125 ioph = mac68k_iops[ISM_IOP].iop; in iop_init()
132 iop = &mac68k_iops[ii]; in iop_init()
133 ioph = iop->iop; in iop_init()
[all …]
/netbsd/src/sys/dev/i2o/
Dld_iop.c120 struct iop_softc *iop = device_private(parent); in ld_iop_attach() local
144 iop_initiator_register(iop, &sc->sc_ii); in ld_iop_attach()
151 iop_initiator_register(iop, &sc->sc_eventii); in ld_iop_attach()
153 rv = iop_util_eventreg(iop, &sc->sc_eventii, in ld_iop_attach()
178 iop_print_ident(iop, ia->ia_tid); in ld_iop_attach()
184 rv = iop_util_claim(iop, &sc->sc_ii, 0, in ld_iop_attach()
191 rv = iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_RBS_DEVICE_INFO, in ld_iop_attach()
238 rv = iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_RBS_CACHE_CONTROL, in ld_iop_attach()
256 iop_field_set(iop, ia->ia_tid, I2O_PARAM_RBS_OPERATION, in ld_iop_attach()
259 iop_field_set(iop, ia->ia_tid, I2O_PARAM_RBS_OPERATION, in ld_iop_attach()
[all …]
Diopsp.c86 struct iop_softc *iop; in iopsp_match() local
94 iop = device_private(parent); in iopsp_match()
99 if (iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_HBA_CTLR_INFO, &param, in iopsp_match()
115 struct iop_softc *iop; in iopsp_attach() local
130 iop = device_private(parent); in iopsp_attach()
139 iop_initiator_register(iop, &sc->sc_ii); in iopsp_attach()
141 rv = iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_HBA_CTLR_INFO, in iopsp_attach()
153 iop_print_ident(iop, ia->ia_tid); in iopsp_attach()
156 rv = iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_HBA_SCSI_CTLR_INFO, in iopsp_attach()
206 iop_initiator_unregister(iop, &sc->sc_ii); in iopsp_attach()
[all …]
Ddpti.c163 struct iop_softc *iop; in dpti_match() local
166 iop = device_private(parent); in dpti_match()
171 if (le16toh(iop->sc_status.orgid) != I2O_ORG_DPT) in dpti_match()
180 struct iop_softc *iop; in dpti_attach() local
191 iop = device_private(parent); in dpti_attach()
201 rv = iop_field_get_all(iop, I2O_TID_IOP, in dpti_attach()
224 struct iop_softc *iop; in dptiioctl() local
230 iop = device_private(device_parent(sc->sc_dev)); in dptiioctl()
245 mutex_enter(&iop->sc_conflock); in dptiioctl()
301 rv = iop_reconfigure(iop, 0); in dptiioctl()
[all …]
Dfiles.i2o3 device iop {tid = -1}
4 file dev/i2o/iop.c iop needs-flag
6 attach ld at iop with ld_iop
10 attach iopsp at iop
14 attach dpti at iop
Diop.c472 struct iop_softc *sc, *iop; in iop_config_interrupts() local
495 if ((iop = device_lookup_private(&iop_cd, i)) == NULL) in iop_config_interrupts()
497 if ((iop->sc_flags & IOP_HAVESTATUS) == 0) in iop_config_interrupts()
499 if (iop_status_get(iop, 1) != 0) { in iop_config_interrupts()
501 iop->sc_flags &= ~IOP_HAVESTATUS; in iop_config_interrupts()
519 if ((iop = device_lookup_private(&iop_cd, i)) == NULL) in iop_config_interrupts()
521 if ((iop->sc_flags & IOP_HAVESTATUS) == 0) in iop_config_interrupts()
524 ste->orgid = iop->sc_status.orgid; in iop_config_interrupts()
525 ste->iopid = device_unit(iop->sc_dev) + 2; in iop_config_interrupts()
527 htole32(le32toh(iop->sc_status.segnumber) & ~4095); in iop_config_interrupts()
[all …]
/netbsd/src/external/lgpl3/mpfr/dist/src/
Dmodf.c27 mpfr_modf (mpfr_ptr iop, mpfr_ptr fop, mpfr_srcptr op, mpfr_rnd_t rnd_mode) in mpfr_modf() argument
37 mpfr_get_prec (iop), mpfr_log_prec, iop, in mpfr_modf()
40 MPFR_ASSERTN (iop != fop); in mpfr_modf()
46 MPFR_SET_NAN (iop); in mpfr_modf()
50 MPFR_SET_SAME_SIGN (iop, op); in mpfr_modf()
54 MPFR_SET_INF (iop); in mpfr_modf()
61 MPFR_SET_ZERO (iop); in mpfr_modf()
73 MPFR_SET_SAME_SIGN (iop, op); in mpfr_modf()
74 MPFR_SET_ZERO (iop); in mpfr_modf()
79 inexi = (iop != op) ? mpfr_set (iop, op, rnd_mode) : 0; in mpfr_modf()
[all …]
/netbsd/src/external/bsd/cron/dist/
Dpopen.c66 FILE *iop; in cron_popen() local
155 iop = fdopen(pdes[0], type); in cron_popen()
158 iop = fdopen(pdes[1], type); in cron_popen()
161 pids[fileno(iop)] = pid; in cron_popen()
163 return (iop); in cron_popen()
167 cron_finalize(FILE *iop, int sig) { in cron_finalize() argument
177 if (pids == 0 || pids[fdes = fileno(iop)] == 0) in cron_finalize()
184 (void)fclose(iop); in cron_finalize()
195 (void)fclose(iop); in cron_finalize()
206 cron_pclose(FILE *iop) { in cron_pclose() argument
[all …]
/netbsd/src/libexec/ftpd/
Dpopen.c110 FILE * volatile iop; in ftpd_popen() local
116 iop = NULL; in ftpd_popen()
203 iop = fdopen(pdes[0], ptype); in ftpd_popen()
206 iop = fdopen(pdes[1], ptype); in ftpd_popen()
209 pids[fileno(iop)] = pid; in ftpd_popen()
214 return (iop); in ftpd_popen()
218 ftpd_pclose(FILE *iop) in ftpd_pclose() argument
228 if (pids == 0 || pids[fdes = fileno(iop)] == 0) in ftpd_pclose()
230 (void)fclose(iop); in ftpd_pclose()
/netbsd/src/bin/ksh/
Dtree.c19 static void pioact ARGS((struct shf *f, int indent, struct ioword *iop));
197 struct ioword *iop = *ioact++; local
200 if ((iop->flag & IOTYPE) == IOHERE && iop->heredoc) {
202 shf_puts(iop->heredoc, shf);
204 evalstr(iop->delim, 0));
218 pioact(shf, indent, iop) in pioact() argument
221 struct ioword *iop;
223 int flag = iop->flag;
229 : (type == IODUP && (iop->unit == !(flag & IORDUP))) ?
230 iop->unit
[all …]
Dlex.c61 static void readhere ARGS((struct ioword *iop));
632 struct ioword *iop = local
633 (struct ioword *) alloc(sizeof(*iop), ATEMP);
636 iop->unit = dp[1] - '0';
638 iop->unit = c == '>'; /* 0 for <, 1 for > */
643 iop->flag = c == c2 ?
645 if (iop->flag == IOHERE) {
647 iop->flag |= IOSKIP;
653 iop->flag = IODUP | (c == '<' ? IORDUP : 0);
655 iop->flag = c == '>' ? IOWRITE : IOREAD;
[all …]
Dsyn.c165 struct ioword *iop; local
171 iop = yylval.iop;
172 ishere = (iop->flag&IOTYPE) == IOHERE;
175 iop->delim = yylval.cp;
177 iop->flag |= IOEVAL;
180 *herep++ = iop;
182 iop->name = yylval.cp;
183 return iop;
214 struct ioword *iop, **iops; local
396 while ((iop = synio(syniocf)) != NULL) {
[all …]
Dexec.c1114 iosetup(iop, tp) in iosetup() argument
1115 struct ioword *iop; in iosetup()
1119 char *cp = iop->name;
1120 int iotype = iop->flag & IOTYPE;
1129 iotmp = *iop;
1152 if (Flag(FNOCLOBBER) && !(iop->flag & IOCLOB)
1164 u = herein(iop->heredoc, iop->flag & IOEVAL);
1177 X_OK | ((iop->flag & IORDUP) ? R_OK : W_OK),
1184 if (u == iop->unit)
1206 if (e->savefd[iop->unit] == 0) {
[all …]
/netbsd/src/lib/libc/gen/
Dpopen.c154 FILE *iop; in pdes_parent() local
158 iop = fdopen(pdes[0], type); in pdes_parent()
164 iop = fdopen(pdes[1], type); in pdes_parent()
172 cur->fp = iop; in pdes_parent()
267 pclose(FILE *iop) in pclose() argument
273 _DIAGASSERT(iop != NULL); in pclose()
279 if (cur->fp == iop) in pclose()
287 (void)fclose(iop); in pclose()
/netbsd/src/lib/libc/compat/stdio/
Dcompat_fsetpos.c62 fsetpos(FILE * __restrict iop, const off_t * __restrict pos) in fsetpos() argument
64 _DIAGASSERT(iop != NULL); in fsetpos()
67 return fseeko(iop, *pos, SEEK_SET) == (off_t)-1; in fsetpos()
/netbsd/src/sys/arch/x86/acpi/
Dacpi_machdep.c202 ACPI_MADT_INTERRUPT_OVERRIDE *iop; in acpi_md_findoverride() local
209 iop = (void *)hdrp; in acpi_md_findoverride()
211 if (iop->SourceIrq == ovrp->irq) { in acpi_md_findoverride()
212 ovrp->pin = iop->GlobalIrq; in acpi_md_findoverride()
213 ovrp->flags = iop->IntiFlags; in acpi_md_findoverride()
/netbsd/src/sys/arch/newsmips/conf/
Dfiles.newsmips21 #device iop { [addr = -1], [level = -1] }
22 #attach iop at mainbus
23 #file arch/newsmips/dev/iop.c iop
/netbsd/src/sys/arch/news68k/conf/
Dfiles.news68k51 #device iop { [addr = -1], [ipl = -1] }
52 #attach iop at mainbus
53 #file arch/news68k/dev/iop.c iop
/netbsd/src/external/bsd/mdocml/dist/
Dterm_ascii.c163 ascii_setwidth(struct termp *p, int iop, int width) in ascii_setwidth() argument
168 if (iop > 0) in ascii_setwidth()
170 else if (iop == 0) in ascii_setwidth()
Dterm.c873 int iop, width; in term_setwidth() local
875 iop = 0; in term_setwidth()
880 iop = 1; in term_setwidth()
884 iop = -1; in term_setwidth()
893 iop = 0; in term_setwidth()
895 (*p->setwidth)(p, iop, width); in term_setwidth()
/netbsd/src/sys/arch/mac68k/include/
Diopreg.h115 typedef void (*iop_msg_handler)(struct _s_IOP *iop, struct iop_msg *);
137 IOPHW *iop; member
/netbsd/src/sys/arch/sparc/sparc/
Diommu.c453 struct iommureg *iop = sc->sc_reg;
455 printf("iommu: afsr 0x%x, afar 0x%x\n", iop->io_afsr, iop->io_afar);
456 printf("iommu: mfsr 0x%x, mfar 0x%x\n", iop->io_mfsr, iop->io_mfar);
/netbsd/src/external/mit/lua/dist/src/
Dlvm.c949 #define op_arithI(L,iop,fop) { \ argument
955 pc++; setivalue(s2v(ra), iop(L, iv1, imm)); \
963 #define op_arithI(L,iop,fop) { \ argument
969 pc++; setivalue(s2v(ra), iop(L, iv1, imm)); \
1011 #define op_arith_aux(L,v1,v2,iop,fop) { \ argument
1015 pc++; setivalue(s2v(ra), iop(L, i1, i2)); \
1019 #define op_arith_aux(L,v1,v2,iop,fop) { \ argument
1023 pc++; setivalue(s2v(ra), iop(L, i1, i2)); \
1031 #define op_arith(L,iop,fop) { \ argument
1034 op_arith_aux(L, v1, v2, iop, fop); }
[all …]
/netbsd/src/sys/arch/zaurus/conf/
Dmajors.zaurus86 device-major iop char 89 iop
/netbsd/src/sys/arch/aarch64/conf/
Dmajors.aarch6485 device-major iop char 89 iop

123