Home
last modified time | relevance | path

Searched full:iop (Results 1 – 25 of 81) sorted by relevance

1234

/freebsd/usr.sbin/bhyve/amd64/
H A Dinout.c86 struct inout_port iop; in register_default_iohandler() local
90 bzero(&iop, sizeof(iop)); in register_default_iohandler()
91 iop.name = "default"; in register_default_iohandler()
92 iop.port = start; in register_default_iohandler()
93 iop.size = size; in register_default_iohandler()
94 iop.flags = IOPORT_F_INOUT | IOPORT_F_DEFAULT; in register_default_iohandler()
95 iop.handler = default_inout; in register_default_iohandler()
97 register_inout(&iop); in register_default_iohandler()
237 struct inout_port **iopp, *iop; in init_inout() local
248 iop = *iopp; in init_inout()
[all …]
H A Dfwctl.c554 struct inout_port iop; in fwctl_init() local
557 bzero(&iop, sizeof(iop)); in fwctl_init()
558 iop.name = "fwctl_wreg"; in fwctl_init()
559 iop.port = FWCTL_OUT; in fwctl_init()
560 iop.size = 1; in fwctl_init()
561 iop.flags = IOPORT_F_INOUT; in fwctl_init()
562 iop.handler = fwctl_handler; in fwctl_init()
564 error = register_inout(&iop); in fwctl_init()
567 bzero(&iop, sizeof(iop)); in fwctl_init()
568 iop.name = "fwctl_rreg"; in fwctl_init()
[all …]
H A Datkbdc.c514 struct inout_port iop; in atkbdc_init() local
523 bzero(&iop, sizeof(struct inout_port)); in atkbdc_init()
524 iop.name = "atkdbc"; in atkbdc_init()
525 iop.port = KBD_STS_CTL_PORT; in atkbdc_init()
526 iop.size = 1; in atkbdc_init()
527 iop.flags = IOPORT_F_INOUT; in atkbdc_init()
528 iop.handler = atkbdc_sts_ctl_handler; in atkbdc_init()
529 iop.arg = sc; in atkbdc_init()
531 error = register_inout(&iop); in atkbdc_init()
534 bzero(&iop, sizeof(struct inout_port)); in atkbdc_init()
[all …]
H A Dpci_lpc.c248 struct inout_port iop; in lpc_init() local
278 bzero(&iop, sizeof(struct inout_port)); in lpc_init()
279 iop.name = name; in lpc_init()
280 iop.port = sc->iobase; in lpc_init()
281 iop.size = UART_NS16550_IO_BAR_SIZE; in lpc_init()
282 iop.flags = IOPORT_F_INOUT; in lpc_init()
283 iop.handler = lpc_uart_io_handler; in lpc_init()
284 iop.arg = sc; in lpc_init()
286 error = register_inout(&iop); in lpc_init()
H A Dinout.h75 int register_inout(struct inout_port *iop);
76 int unregister_inout(struct inout_port *iop);
H A Dvga.c1268 struct inout_port iop; in vga_init() local
1274 bzero(&iop, sizeof(struct inout_port)); in vga_init()
1275 iop.name = "VGA"; in vga_init()
1277 iop.port = port; in vga_init()
1278 iop.size = 1; in vga_init()
1279 iop.flags = IOPORT_F_INOUT; in vga_init()
1280 iop.handler = vga_port_handler; in vga_init()
1281 iop.arg = sc; in vga_init()
1283 error = register_inout(&iop); in vga_init()
/freebsd/lib/libc/stdio/
H A Dprintfcommon.h73 io_init(struct io_state *iop, FILE *fp) in io_init() argument
76 iop->uio.uio_iov = iop->iov; in io_init()
77 iop->uio.uio_resid = 0; in io_init()
78 iop->uio.uio_iovcnt = 0; in io_init()
79 iop->fp = fp; in io_init()
87 io_print(struct io_state *iop, const CHAR * __restrict ptr, int len, locale_t locale) in io_print() argument
90 iop->iov[iop->uio.uio_iovcnt].iov_base = (char *)ptr; in io_print()
91 iop->iov[iop->uio.uio_iovcnt].iov_len = len; in io_print()
92 iop->uio.uio_resid += len; in io_print()
93 if (++iop->uio.uio_iovcnt >= NIOV) in io_print()
[all …]
H A Dfsetpos.c42 fsetpos(FILE *iop, const fpos_t *pos) in fsetpos() argument
44 return (fseeko(iop, (off_t)*pos, SEEK_SET)); in fsetpos()
/freebsd/sys/dev/pst/
H A Dpst-raid.c54 #include "dev/pst/pst-iop.h"
59 struct iop_softc *iop; member
100 psc->iop = sc; in pst_add_raid()
122 if (!(reply = iop_get_util_params(psc->iop, psc->lct->local_tid, in pst_attach()
135 if (!(reply = iop_get_util_params(psc->iop, psc->lct->local_tid, in pst_attach()
172 device_get_nameunit(psc->iop->dev)); in pst_attach()
188 psc->iop->reg->oqueue_intr_mask = 0xffffffff; in pst_shutdown_post_sync()
191 mfa = iop_get_mfa(psc->iop); in pst_shutdown_post_sync()
192 msg = (struct i2o_bsa_cache_flush_message *)(psc->iop->ibase + mfa); in pst_shutdown_post_sync()
201 if (iop_queue_wait_msg(psc->iop, mf in pst_shutdown_post_sync()
[all...]
/freebsd/contrib/libpcap/
H A Dpcap-sita.html37 <TH VALIGN=TOP>IOP</TH>
44 Each IOP will be capable of supporting multiple connections from an SMP
46 its own separate connection. The IOP is responsible to ensure and report
106 "SMP/IOP Inter-Process Communication Protocol" section.
114 <TR><TH VALIGN=TOP NOWRAP>SMP -> IOP</TH>
116 The SMP will open a connection to the selected IOP on its 'sniffer' port
121 <TR><TH VALIGN=TOP NOWRAP>IOP -> SMP</TH>
123 After any required processing is complete, the IOP will return a
146 <TR><TH VALIGN=TOP NOWRAP>SMP -> IOP</TH>
148 The SMP will sequentially open a connection to each IOP on its 'sniffer' port to ensure
[all …]
H A Dpcap-sita.c45 #define IOP_SNIFFER_PORT 49152 /* TCP port on the IOP used for 'distributed pcap' usage */
56 char *IOPname; /* this interface's name on an IOP */
339 fprintf(stderr, "pcap can't open a socket for connecting to IOP at %s\n", ip); in open_with_IOP()
343 fprintf(stderr, "pcap can't connect to IOP at %s\n", ip); in open_with_IOP()
479 fprintf(stderr, "Error... invalid IOP name %s\n", IOPname); in translate_IOP_to_pcap_name()
485 …fprintf(stderr, "Error...couldn't allocate memory for IOP port name...value of errno is: %d\n", er… in translate_IOP_to_pcap_name()
582 ptr = u->imsg; /* point to the start of the msg for this IOP */ in process_client_data()
801 if (u->ip && (open_with_IOP(u, FIND))) { /* connect to the remote IOP */ in acn_findalldevs()
825 send_to_fd(handle->fd, 1, (unsigned char *)"S"); /* send the get_stats command to the IOP */ in pcap_stats_acn()
851 open_with_IOP(u, LIVE); /* start a connection with that IOP */ in acn_open_live()
[all …]
/freebsd/lib/libc/gen/
H A Dpopen.c67 FILE *iop; in popen() local
97 iop = fdopen(pdes[0], type); in popen()
100 iop = fdopen(pdes[1], type); in popen()
103 if (iop == NULL) { in popen()
122 * up iop. in popen()
126 (void)fclose(iop); in popen()
166 cur->fp = iop; in popen()
178 (void)_fcntl(fileno(iop), F_SETFD, 0); in popen()
180 return (iop); in popen()
189 pclose(FILE *iop) in pclose() argument
[all …]
/freebsd/libexec/ftpd/
H A Dpopen.c67 FILE *iop; in ftpd_popen() local
110 iop = NULL; in ftpd_popen()
156 iop = fdopen(pdes[0], type); in ftpd_popen()
159 iop = fdopen(pdes[1], type); in ftpd_popen()
162 pids[fileno(iop)] = pid; in ftpd_popen()
167 return (iop); in ftpd_popen()
171 ftpd_pclose(FILE *iop) in ftpd_pclose() argument
180 if (pids == NULL || pids[fdes = fileno(iop)] == 0) in ftpd_pclose()
182 (void)fclose(iop); in ftpd_pclose()
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c104 FILE *iop; in ftpd_popen() local
162 iop = NULL; in ftpd_popen()
192 iop = fdopen(pdes[0], type); in ftpd_popen()
195 iop = fdopen(pdes[1], type); in ftpd_popen()
198 pids[fileno(iop)] = pid; in ftpd_popen()
205 return (iop); in ftpd_popen()
209 ftpd_pclose(FILE *iop) in ftpd_pclose() argument
219 if (pids == 0 || pids[fdes = fileno(iop)] == 0) in ftpd_pclose()
221 fclose(iop); in ftpd_pclose()
/freebsd/usr.sbin/cron/cron/
H A Dpopen.c51 FILE *iop; in cron_popen() local
101 iop = NULL; in cron_popen()
194 iop = fdopen(pdes[0], type); in cron_popen()
197 iop = fdopen(pdes[1], type); in cron_popen()
200 pids[fileno(iop)] = pid; in cron_popen()
212 return (iop); in cron_popen()
216 cron_pclose(FILE *iop) in cron_pclose() argument
227 if (pids == 0 || pids[fdes = fileno(iop)] == 0) in cron_pclose()
229 (void)fclose(iop); in cron_pclose()
/freebsd/contrib/blocklist/port/
H A Dpopenve.c156 FILE *iop; in pdes_parent() local
160 iop = fdopen(pdes[0], type); in pdes_parent()
166 iop = fdopen(pdes[1], type); in pdes_parent()
174 cur->fp = iop; in pdes_parent()
233 pcloseve(FILE *iop) in pcloseve() argument
245 if (cur->fp == iop) in pcloseve()
255 (void)fclose(iop); in pcloseve()
/freebsd/usr.sbin/bhyve/
H A Dqemu_fwcfg.c305 struct inout_port iop; in qemu_fwcfg_register_port() local
307 bzero(&iop, sizeof(iop)); in qemu_fwcfg_register_port()
308 iop.name = name; in qemu_fwcfg_register_port()
309 iop.port = port; in qemu_fwcfg_register_port()
310 iop.size = size; in qemu_fwcfg_register_port()
311 iop.flags = flags; in qemu_fwcfg_register_port()
312 iop.handler = handler; in qemu_fwcfg_register_port()
314 return (register_inout(&iop)); in qemu_fwcfg_register_port()
/freebsd/contrib/libpcap/doc/
H A DREADME.sita47 for host names that match the format of IOP type devices. ie. aaa_I_x_y
50 each IOP, sorts it, and provides it (to Wireshark et.al) as the
54 which opens a TCP session (to a well known port) on the target IOP
/freebsd/sys/contrib/device-tree/Bindings/timer/
H A Dhpe,gxp-timer.yaml27 const: iop
46 clock-names = "iop";
/freebsd/sys/cam/
H A Dcam_iosched.c174 * Called to see if the limiter thinks this IOP can be allowed to
175 * proceed. If so, the limiter assumes that the IOP proceeded
345 sbintime_t max_lat; /* when != 0, if iop latency > max_lat, call max_lat_fcn */
1936 cam_iosched_devctl_outlier(struct iop_stats *iop, sbintime_t sim_latency, in cam_iosched_devctl_outlier() argument
1940 daddr_t cnt = bp->bio_bcount / iop->softc->disk->d_sectorsize; in cam_iosched_devctl_outlier()
1950 iop->softc->periph->periph_name, in cam_iosched_devctl_outlier()
1951 iop->softc->periph->unit_number, in cam_iosched_devctl_outlier()
1960 cam_iosched_update(struct iop_stats *iop, sbintime_t sim_latency, in cam_iosched_update() argument
1970 if (sim_latency > iop->bad_latency) { in cam_iosched_update()
1971 cam_iosched_devctl_outlier(iop, sim_latency, bp); in cam_iosched_update()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp213 if (auto *IOp = dyn_cast<Instruction>(Operand)) in getMinBitWidth() local
215 std::max(Info.MinBitWidth, InstInfoMap[IOp].MinBitWidth); in getMinBitWidth()
228 if (auto *IOp = dyn_cast<Instruction>(Operand)) { in getMinBitWidth() local
232 unsigned IOpBitwidth = InstInfoMap.lookup(IOp).ValidBitWidth; in getMinBitWidth()
235 InstInfoMap[IOp].ValidBitWidth = ValidBitWidth; in getMinBitWidth()
236 Worklist.push_back(IOp); in getMinBitWidth()
/freebsd/usr.sbin/autofs/
H A Dpopen.c146 auto_pclose(FILE *iop) in auto_pclose() argument
156 if (cur->outfp == iop) in auto_pclose()
/freebsd/tools/tools/indent_wrapper/
H A Dindent_wrapper.c264 cmd_popen(char *command, FILE **iop) in cmd_popen() argument
300 iop[0] = fdopen(pdes[3], "w"); in cmd_popen()
301 iop[1] = fdopen(pdes[0], "r"); in cmd_popen()
306 iop[0] = iop[1] = NULL; in cmd_popen()
/freebsd/sys/modules/pst/
H A DMakefile4 SRCS= pst-pci.c pst-iop.c pst-raid.c
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dspcdefs.h176 bit32 upperIOPeventLogAddress; /**< DW18 Upper physical IOP Event log address */
177 bit32 lowerIOPeventLogAddress; /**< DW19 Lower physical IOP Event log address */
178 bit32 IOPeventLogSize; /**< DW1A Size of IOP Event log, 0 means log disable */
179 bit32 IOPeventLogOption; /**< DW1B Option of IOP Event log */
199 …ErrorDumpOffset1; /**< DW1F FERDO-SSTRUCPCS Fatal Error Register Dump Offset for IOP */
200 …rrorDumpLength1; /**< DW20 FERDLSTRUCTTPCS Fatal Error Register Dump Length for IOP */
397 bit32 IopTcnt; /**< DW4 - IOP Tick count */

1234