/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ddi_impl.c | 104 static int poke_mem(peekpoke_ctlops_t *in_args); 105 static int peek_mem(peekpoke_ctlops_t *in_args); 2294 poke_mem(peekpoke_ctlops_t *in_args) in poke_mem() argument 2302 switch (in_args->size) { in poke_mem() 2304 *(uint8_t *)(in_args->dev_addr) = in poke_mem() 2305 *(uint8_t *)in_args->host_addr; in poke_mem() 2309 *(uint16_t *)(in_args->dev_addr) = in poke_mem() 2310 *(uint16_t *)in_args->host_addr; in poke_mem() 2314 *(uint32_t *)(in_args->dev_addr) = in poke_mem() 2315 *(uint32_t *)in_args->host_addr; in poke_mem() [all …]
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | polled_io.c | 384 uint_t in_args; in polled_read() local 393 in_args = p1275_cell2uint(cif[CIF_NUMBER_IN_ARGS]); in polled_read() 399 out_args = CIF_MIN_SIZE + in_args; in polled_read() 406 if (in_args != 2) { in polled_read() 579 uint_t in_args; in polled_write() local 587 in_args = p1275_cell2uint(cif[CIF_NUMBER_IN_ARGS]); in polled_write() 594 out_args = CIF_MIN_SIZE + in_args; in polled_write() 601 if (in_args != 2) { in polled_write()
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | print.h | 46 _doprnt(const char *format, va_list in_args, FILE *iop); 49 _ndoprnt(const char *format, va_list in_args, FILE *iop, int flag); 52 _wndoprnt(const wchar_t *format, va_list in_args, FILE *iop, int flag);
|
H A D | doprnt.c | 401 _wdoprnt(const wchar_t *format, va_list in_args, FILE *iop) in _wdoprnt() argument 403 return (_wndoprnt(format, in_args, iop, 0)); in _wdoprnt() 407 _doprnt(const char *format, va_list in_args, FILE *iop) in _doprnt() argument 409 return (_ndoprnt(format, in_args, iop, 0)); in _doprnt() 416 _wndoprnt(const wchar_t *format, va_list in_args, FILE *iop, int prflag) in _wndoprnt() argument 419 _ndoprnt(const char *format, va_list in_args, FILE *iop, int prflag) in _wndoprnt() 585 va_copy(args.ap, in_args); in _wndoprnt()
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci.c | 66 static int pci_ctlops_poke(pci_t *pci_p, peekpoke_ctlops_t *in_args); 67 static int pci_ctlops_peek(pci_t *pci_p, peekpoke_ctlops_t *in_args, 975 pci_do_poke(pci_t *pci_p, peekpoke_ctlops_t *in_args) in pci_do_poke() argument 989 err = do_poke(in_args->size, (void *)in_args->dev_addr, in pci_do_poke() 990 (void *)in_args->host_addr); in pci_do_poke() 1084 pci_ctlops_poke(pci_t *pci_p, peekpoke_ctlops_t *in_args) in pci_ctlops_poke() argument 1086 return (in_args->handle ? pci_do_caut_put(pci_p, in_args) : in pci_ctlops_poke() 1087 pci_do_poke(pci_p, in_args)); in pci_ctlops_poke() 1092 pci_do_peek(pci_t *pci_p, peekpoke_ctlops_t *in_args) in pci_do_peek() argument 1101 err = do_peek(in_args->size, (void *)in_args->dev_addr, in pci_do_peek() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_common.c | 1129 pci_common_ctlops_poke(peekpoke_ctlops_t *in_args) in pci_common_ctlops_poke() argument 1131 size_t size = in_args->size; in pci_common_ctlops_poke() 1132 uintptr_t dev_addr = in_args->dev_addr; in pci_common_ctlops_poke() 1133 uintptr_t host_addr = in_args->host_addr; in pci_common_ctlops_poke() 1134 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)in_args->handle; in pci_common_ctlops_poke() 1135 ddi_acc_hdl_t *hdlp = (ddi_acc_hdl_t *)in_args->handle; in pci_common_ctlops_poke() 1136 size_t repcount = in_args->repcount; in pci_common_ctlops_poke() 1137 uint_t flags = in_args->flags; in pci_common_ctlops_poke() 1144 if (in_args->handle == NULL) in pci_common_ctlops_poke() 1347 pci_common_ctlops_peek(peekpoke_ctlops_t *in_args) in pci_common_ctlops_peek() argument [all …]
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | rootnex.c | 807 rootnex_ctlops_peekpoke(ddi_ctl_enum_t cmd, peekpoke_ctlops_t *in_args, in rootnex_ctlops_peekpoke() argument 814 if (in_args->handle != NULL) in rootnex_ctlops_peekpoke() 823 err = do_poke(in_args->size, (void *)in_args->dev_addr, in rootnex_ctlops_peekpoke() 824 (void *)in_args->host_addr); in rootnex_ctlops_peekpoke() 827 err = do_peek(in_args->size, (void *)in_args->dev_addr, in rootnex_ctlops_peekpoke() 828 (void *)in_args->host_addr); in rootnex_ctlops_peekpoke() 829 result = (void *)in_args->host_addr; in rootnex_ctlops_peekpoke()
|
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_lib4v.c | 1718 peekpoke_ctlops_t *in_args) in px_lib_ctlops_poke() argument 1722 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)in_args->handle; in px_lib_ctlops_poke() 1724 size_t repcount = in_args->repcount; in px_lib_ctlops_poke() 1725 size_t size = in_args->size; in px_lib_ctlops_poke() 1726 uintptr_t dev_addr = in_args->dev_addr; in px_lib_ctlops_poke() 1727 uintptr_t host_addr = in_args->host_addr; in px_lib_ctlops_poke() 1816 if (in_args->flags == DDI_DEV_AUTOINCR) { in px_lib_ctlops_poke() 1830 peekpoke_ctlops_t *in_args, void *result) in px_lib_ctlops_peek() argument 1834 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)in_args->handle; in px_lib_ctlops_peek() 1836 size_t repcount = in_args->repcount; in px_lib_ctlops_peek() [all …]
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcicmu.c | 123 static int pcmu_ctlops_poke(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args); 124 static int pcmu_ctlops_peek(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args, 763 pcmu_do_poke(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args) in pcmu_do_poke() argument 777 err = do_poke(in_args->size, (void *)in_args->dev_addr, in pcmu_do_poke() 778 (void *)in_args->host_addr); in pcmu_do_poke() 809 pcmu_ctlops_poke(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args) in pcmu_ctlops_poke() argument 811 return (pcmu_do_poke(pcmu_p, in_args)); in pcmu_ctlops_poke() 816 pcmu_do_peek(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args) in pcmu_do_peek() argument 825 err = do_peek(in_args->size, (void *)in_args->dev_addr, in pcmu_do_peek() 826 (void *)in_args->host_addr); in pcmu_do_peek() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/px/ |
H A D | px_lib4u.c | 1579 peekpoke_ctlops_t *in_args) in px_lib_do_poke() argument 1595 err = do_poke(in_args->size, (void *)in_args->dev_addr, in px_lib_do_poke() 1596 (void *)in_args->host_addr); in px_lib_do_poke() 1601 px_lib_clr_errs(px_p, rdip, in_args->dev_addr); in px_lib_do_poke() 1700 peekpoke_ctlops_t *in_args) in px_lib_ctlops_poke() argument 1702 return (in_args->handle ? px_lib_do_caut_put(dip, rdip, in_args) : in px_lib_ctlops_poke() 1703 px_lib_do_poke(dip, rdip, in_args)); in px_lib_ctlops_poke() 1709 px_lib_do_peek(dev_info_t *dip, peekpoke_ctlops_t *in_args) in px_lib_do_peek() argument 1728 err = do_peek(in_args->size, (void *)in_args->dev_addr, in px_lib_do_peek() 1729 (void *)in_args->host_addr); in px_lib_do_peek() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sysiosbus.c | 268 sbus_ctlops_poke(struct sbus_soft_state *softsp, peekpoke_ctlops_t *in_args); 271 sbus_ctlops_peek(struct sbus_soft_state *softsp, peekpoke_ctlops_t *in_args, 1290 sbus_ctlops_poke(struct sbus_soft_state *softsp, peekpoke_ctlops_t *in_args) in sbus_ctlops_poke() argument 1297 if (in_args->handle != NULL) in sbus_ctlops_poke() 1308 err = do_poke(in_args->size, (void *)in_args->dev_addr, in sbus_ctlops_poke() 1309 (void *)in_args->host_addr); in sbus_ctlops_poke() 1342 sbus_ctlops_peek(struct sbus_soft_state *softsp, peekpoke_ctlops_t *in_args, in sbus_ctlops_peek() argument 1349 if (in_args->handle != NULL) in sbus_ctlops_peek() 1356 err = do_peek(in_args->size, (void *)in_args->dev_addr, in sbus_ctlops_peek() 1357 (void *)in_args->host_addr); in sbus_ctlops_peek() [all …]
|
/illumos-gate/usr/src/ucblib/libucb/inc/ |
H A D | libc.h | 55 extern int _doprnt(char *format, va_list in_args, FILE *iop);
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | ddi_impl.c | 1915 peekpoke_mem(ddi_ctl_enum_t cmd, peekpoke_ctlops_t *in_args) in peekpoke_mem() argument 1926 err = do_poke(in_args->size, (void *)in_args->dev_addr, in peekpoke_mem() 1927 (void *)in_args->host_addr); in peekpoke_mem() 1930 err = do_peek(in_args->size, (void *)in_args->dev_addr, in peekpoke_mem() 1931 (void *)in_args->host_addr); in peekpoke_mem()
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_lib.h | 173 peekpoke_ctlops_t *in_args); 175 peekpoke_ctlops_t *in_args, void *result);
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | fhc.c | 1543 fhc_ctlops_peekpoke(ddi_ctl_enum_t cmd, peekpoke_ctlops_t *in_args, in fhc_ctlops_peekpoke() argument 1550 if (in_args->handle != NULL) in fhc_ctlops_peekpoke() 1559 err = do_poke(in_args->size, (void *)in_args->dev_addr, in fhc_ctlops_peekpoke() 1560 (void *)in_args->host_addr); in fhc_ctlops_peekpoke() 1563 err = do_peek(in_args->size, (void *)in_args->dev_addr, in fhc_ctlops_peekpoke() 1564 (void *)in_args->host_addr); in fhc_ctlops_peekpoke() 1565 result = (void *)in_args->host_addr; in fhc_ctlops_peekpoke()
|
/illumos-gate/usr/src/ucblib/libucb/port/stdio/ |
H A D | doprnt.c | 154 _doprnt(char *format, va_list in_args, FILE *iop) in _doprnt() argument 257 va_copy(args.ap, in_args); in _doprnt()
|