/netbsd-src/sys/dev/isa/ |
H A D | ad1848_isa.c | 152 ad1848_isa_mapprobe(struct ad1848_isa_softc *isc, int iobase) in ad1848_isa_mapprobe() argument 156 sc = &isc->sc_ad1848; in ad1848_isa_mapprobe() 168 if (!ad1848_isa_probe(isc)) { in ad1848_isa_mapprobe() 179 ad1848_isa_probe(struct ad1848_isa_softc *isc) in ad1848_isa_probe() argument 185 sc = &isc->sc_ad1848; in ad1848_isa_probe() 427 ad1848_isa_unmap(struct ad1848_isa_softc *isc) in ad1848_isa_unmap() argument 431 sc = &isc->sc_ad1848; in ad1848_isa_unmap() 440 ad1848_isa_attach(struct ad1848_isa_softc *isc) in ad1848_isa_attach() argument 445 sc = &isc->sc_ad1848; in ad1848_isa_attach() 449 if (isc->sc_playdrq != -1) { in ad1848_isa_attach() [all …]
|
H A D | cs89x0isa.c | 67 struct cs_softc_isa *isc = (struct cs_softc_isa *)sc; in cs_isa_dma_attach() local 69 if (isc->sc_drq == ISA_UNKNOWN_DRQ) in cs_isa_dma_attach() 72 else if (isc->sc_drq < 5 || isc->sc_drq > 7) in cs_isa_dma_attach() 79 maxsize = isa_dmamaxsize(isc->sc_ic, isc->sc_drq); in cs_isa_dma_attach() 88 if (isa_drq_alloc(isc->sc_ic, isc->sc_drq) != 0) { in cs_isa_dma_attach() 91 isc->sc_drq); in cs_isa_dma_attach() 95 if (isa_dmamap_create(isc->sc_ic, isc->sc_drq, in cs_isa_dma_attach() 101 if (isa_dmamem_alloc(isc->sc_ic, isc->sc_drq, in cs_isa_dma_attach() 107 if (isa_dmamem_map(isc->sc_ic, isc->sc_drq, dma_addr, in cs_isa_dma_attach() 108 CS8900_DMASIZE, (void **)&isc->sc_dmabase, in cs_isa_dma_attach() [all …]
|
H A D | com_isa.c | 165 struct com_isa_softc *isc = device_private(self); in com_isa_attach() local 166 struct com_softc *sc = &isc->sc_com; in com_isa_attach() 214 isc->sc_ic = ia->ia_ic; in com_isa_attach() 215 isc->sc_irq = irq; in com_isa_attach() 216 isc->sc_ih = isa_intr_establish_xname(ia->ia_ic, irq, IST_EDGE, in com_isa_attach() 223 struct com_isa_softc *isc = device_private(self); in com_isa_suspend() local 228 isa_intr_disestablish(isc->sc_ic, isc->sc_ih); in com_isa_suspend() 229 isc->sc_ih = NULL; in com_isa_suspend() 237 struct com_isa_softc *isc = device_private(self); in com_isa_resume() local 238 struct com_softc *sc = &isc->sc_com; in com_isa_resume() [all …]
|
H A D | if_ix.c | 113 struct ix_softc *isc = (struct ix_softc *)sc; in ix_reset() local 117 bus_space_write_1(isc->sc_regt, isc->sc_regh, IX_ECTRL, in ix_reset() 120 bus_space_write_1(isc->sc_regt, isc->sc_regh, IX_ECTRL, 0); in ix_reset() 132 struct ix_softc *isc = (struct ix_softc *)sc; in ix_atten() local 134 bus_space_write_1(isc->sc_regt, isc->sc_regh, IX_ATTN, 0); in ix_atten() 217 struct ix_softc *isc = (struct ix_softc *)sc; in ix_intrhook() local 222 bus_space_write_1(isc->sc_regt, isc->sc_regh, in ix_intrhook() 223 IX_IRQ, isc->irq_encoded); in ix_intrhook() 228 bus_space_write_1(isc->sc_regt, isc->sc_regh, IX_IRQ, in ix_intrhook() 229 isc->irq_encoded | IX_IRQ_ENABLE); in ix_intrhook() [all …]
|
H A D | pckbc_isa.c | 149 struct pckbc_isa_softc *isc = device_private(self); in pckbc_isa_attach() local 150 struct pckbc_softc *sc = &isc->sc_pckbc; in pckbc_isa_attach() 157 isc->sc_ic = ia->ia_ic; in pckbc_isa_attach() 163 isc->sc_irq[PCKBC_KBD_SLOT] = in pckbc_isa_attach() 164 isc->sc_irq[PCKBC_AUX_SLOT] = ia->ia_irq[0].ir_irq; in pckbc_isa_attach() 169 isc->sc_irq[PCKBC_KBD_SLOT] = ia->ia_irq[0].ir_irq; in pckbc_isa_attach() 170 isc->sc_irq[PCKBC_AUX_SLOT] = ia->ia_irq[1].ir_irq; in pckbc_isa_attach() 175 isc->sc_irq[PCKBC_KBD_SLOT] = 1; in pckbc_isa_attach() 176 isc->sc_irq[PCKBC_AUX_SLOT] = 12; in pckbc_isa_attach() 217 struct pckbc_isa_softc *isc = (void *) sc; in pckbc_isa_intr_establish() local [all …]
|
/netbsd-src/external/mpl/bind/dist/lib/isc/ |
H A D | Makefile.am | 5 libisc_ladir = $(includedir)/isc 7 include/isc/ascii.h \ 8 include/isc/assertions.h \ 9 include/isc/async.h \ 10 include/isc/atomic.h \ 11 include/isc/attributes.h \ 12 include/isc/backtrace.h \ 13 include/isc/barrier.h \ 14 include/isc/base32.h \ 15 include/isc/base6 [all...] |
/netbsd-src/sys/dev/pci/ |
H A D | agp_i810.c | 67 #define READ1(off) bus_space_read_1(isc->bst, isc->bsh, off) 68 #define READ4(off) bus_space_read_4(isc->bst, isc->bsh, off) 69 #define WRITE4(off,v) bus_space_write_4(isc->bst, isc->bsh, off, v) 124 agp_i810_write_gtt_entry(struct agp_i810_softc *isc, off_t off, in agp_i810_write_gtt_entry() argument 147 if (isc->chiptype == CHIP_I965 || in agp_i810_write_gtt_entry() 148 isc->chiptype == CHIP_G33 || in agp_i810_write_gtt_entry() 149 isc->chiptype == CHIP_PINEVIEW || in agp_i810_write_gtt_entry() 150 isc->chiptype == CHIP_G4X) { in agp_i810_write_gtt_entry() 160 bus_space_write_4(isc->gtt_bst, isc->gtt_bsh, in agp_i810_write_gtt_entry() 167 agp_i810_post_gtt_entry(struct agp_i810_softc *isc, off_t off) in agp_i810_post_gtt_entry() argument [all …]
|
H A D | agp_intel.c | 112 struct agp_intel_softc *isc; in agp_intel_attach() local 116 isc = malloc(sizeof *isc, M_AGP, M_WAITOK|M_ZERO); in agp_intel_attach() 118 sc->as_chipc = isc; in agp_intel_attach() 120 if (pci_find_device(&isc->vga_pa, agp_intel_vgamatch) == 0) { in agp_intel_attach() 123 isc->chiptype = CHIP_INTEL; in agp_intel_attach() 131 free(isc, M_AGP); in agp_intel_attach() 136 switch (PCI_PRODUCT(isc->vga_pa.pa_id)) { in agp_intel_attach() 140 isc->chiptype = CHIP_I443; in agp_intel_attach() 143 isc->chiptype = CHIP_I840; in agp_intel_attach() 148 isc->chiptype = CHIP_I845; in agp_intel_attach() [all …]
|
H A D | if_ixl.c | 6045 struct ixl_stats_counters *isc; in ixl_setup_stats() local 6090 isc = &sc->sc_stats_counters; in ixl_setup_stats() 6091 evcnt_attach_dynamic(&isc->isc_crc_errors, EVCNT_TYPE_MISC, in ixl_setup_stats() 6093 evcnt_attach_dynamic(&isc->isc_illegal_bytes, EVCNT_TYPE_MISC, in ixl_setup_stats() 6095 evcnt_attach_dynamic(&isc->isc_mac_local_faults, EVCNT_TYPE_MISC, in ixl_setup_stats() 6097 evcnt_attach_dynamic(&isc->isc_mac_remote_faults, EVCNT_TYPE_MISC, in ixl_setup_stats() 6099 evcnt_attach_dynamic(&isc->isc_link_xon_rx, EVCNT_TYPE_MISC, in ixl_setup_stats() 6101 evcnt_attach_dynamic(&isc->isc_link_xon_tx, EVCNT_TYPE_MISC, in ixl_setup_stats() 6103 evcnt_attach_dynamic(&isc->isc_link_xoff_rx, EVCNT_TYPE_MISC, in ixl_setup_stats() 6105 evcnt_attach_dynamic(&isc->isc_link_xoff_tx, EVCNT_TYPE_MISC, in ixl_setup_stats() [all …]
|
/netbsd-src/external/mpl/bind/dist/tests/dns/testdata/dnstap/ |
H A D | dnstap.text | 1 03-Feb-2017 15:47:16.000 SQ 10.53.0.1:2112 -> 10.53.0.2:2112 UDP 40b www.isc.org/IN/A 2 03-Feb-2017 16:47:16.830 SQ 10.53.0.1:2112 -> 10.53.0.2:2112 UDP 40b www.isc.org/IN/A 3 03-Feb-2017 15:47:16.000 SQ 10.53.0.1:2112 -> 10.53.0.2:2112 UDP 40b www.isc.org/IN/A 4 03-Feb-2017 16:47:16.830 SQ 10.53.0.1:2112 -> 10.53.0.2:2112 UDP 40b www.isc.org/IN/A 5 03-Feb-2017 15:47:16.000 SQ 10.53.0.1:2112 -> 10.53.0.2:2112 TCP 40b www.isc.org/IN/A 6 03-Feb-2017 16:47:16.830 SQ 10.53.0.1:2112 -> 10.53.0.2:2112 TCP 40b www.isc.org/IN/A 7 03-Feb-2017 15:47:16.000 SQ 10.53.0.1:2112 -> 10.53.0.2:2112 TCP 40b www.isc.org/IN/A 8 03-Feb-2017 16:47:16.830 SQ 10.53.0.1:2112 -> 10.53.0.2:2112 TCP 40b www.isc.org/IN/A 9 03-Feb-2017 17:47:16.000 SR 10.53.0.1:2112 <- 10.53.0.2:2112 UDP 287b www.isc.org/IN/A 10 03-Feb-2017 17:47:16.000 SR 10.53.0.1:2112 <- 10.53.0.2:2112 UDP 287b www.isc.org/IN/A [all …]
|
/netbsd-src/sys/arch/sgimips/dev/ |
H A D | imc.c | 86 struct imc_softc isc; variable 106 isc.iot = normal_memt; in imc_attach() 107 if (bus_space_map(isc.iot, ma->ma_addr, 0x100, in imc_attach() 108 BUS_SPACE_MAP_LINEAR, &isc.ioh)) in imc_attach() 116 sysid = bus_space_read_4(isc.iot, isc.ioh, IMC_SYSID); in imc_attach() 120 isc.eisa_present = (sysid & IMC_SYSID_HAVEISA); in imc_attach() 122 isc.eisa_present = 0; in imc_attach() 126 if (isc.eisa_present) in imc_attach() 145 reg = bus_space_read_4(isc.iot, isc.ioh, IMC_CPUCTRL0); in imc_attach() 148 bus_space_write_4(isc.iot, isc.ioh, IMC_CPUCTRL0, reg); in imc_attach() [all …]
|
/netbsd-src/sys/external/isc/atheros_hal/conf/ |
H A D | files.ath_hal | 11 file external/isc/atheros_hal/dist/ah.c ath 12 file external/isc/atheros_hal/dist/ah_eeprom_v1.c ath & athhal_eeprom_v1 13 file external/isc/atheros_hal/dist/ah_eeprom_v3.c ath & athhal_eeprom_v3 14 file external/isc/atheros_hal/dist/ah_eeprom_v14.c ath & athhal_eeprom_v14 15 file external/isc/atheros_hal/dist/ah_eeprom_v4k.c ath & athhal_eeprom_v4k 16 file external/isc/atheros_hal/dist/ah_regdomain.c ath 20 file external/isc/atheros_hal/ic/ah_osdep.c ath 27 file external/isc/atheros_hal/dist/ar5210/ar5210_attach.c ath & athhal_ar5210 28 file external/isc/atheros_hal/dist/ar5210/ar5210_beacon.c ath & athhal_ar5210 29 file external/isc/atheros_hal/dist/ar5210/ar5210_interrupts.c ath & athhal_ar5210 [all …]
|
/netbsd-src/external/bsd/ipf/dist/tools/ |
H A D | ipscan_y.y | 259 void printent(isc) in printent() argument 260 ipscan_t *isc; in printent() 267 bcopy(isc->ipsc_ctxt, buf, ISC_TLEN); 268 printf("%s : (\"", isc->ipsc_tag); 269 printbuf(isc->ipsc_ctxt, isc->ipsc_clen, 0); 271 bcopy(isc->ipsc_cmsk, buf, ISC_TLEN); 274 printbuf(isc->ipsc_stxt, isc->ipsc_slen, 0); 276 bcopy(isc->ipsc_smsk, buf, ISC_TLEN); 279 switch (isc->ipsc_action) 286 printf("(%s", inet_ntoa(isc->ipsc_ip)); [all …]
|
/netbsd-src/external/bsd/ipf/dist/ |
H A D | ip_scan.c | 115 ipscan_t *i, *isc; local 118 KMALLOC(isc, ipscan_t *); 119 if (!isc) { 124 err = copyinptr(data, isc, sizeof(*isc)); 126 KFREE(isc); 132 i = ipf_scan_lookup(isc->ipsc_tag); 135 KFREE(isc); 141 ipf_scan_tail->ipsc_next = isc; 142 isc->ipsc_pnext = &ipf_scan_tail->ipsc_next; 143 ipf_scan_tail = isc; [all …]
|
/netbsd-src/sys/external/bsd/ipf/netinet/ |
H A D | ip_scan.c | 120 ipscan_t *i, *isc; local 123 KMALLOC(isc, ipscan_t *); 124 if (!isc) { 129 err = copyinptr(data, isc, sizeof(*isc)); 131 KFREE(isc); 137 i = ipf_scan_lookup(isc->ipsc_tag); 140 KFREE(isc); 146 ipf_scan_tail->ipsc_next = isc; 147 isc->ipsc_pnext = &ipf_scan_tail->ipsc_next; 148 ipf_scan_tail = isc; [all …]
|
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-mdb/ |
H A D | dn2id.c | 722 IdScopes *isc ) in mdb_idscopes() argument 737 if ( !isc->mc ) { in mdb_idscopes() 738 rc = mdb_cursor_open( isc->mt, dbi, &isc->mc ); in mdb_idscopes() 742 id = isc->id; in mdb_idscopes() 745 x = mdb_id2l_search( isc->scopes, id ); in mdb_idscopes() 746 if ( x <= isc->scopes[0].mid && isc->scopes[x].mid == id ) { in mdb_idscopes() 747 isc->nscope = x; in mdb_idscopes() 751 isc->sctmp[0].mid = 0; in mdb_idscopes() 755 rc = mdb_cursor_get( isc->mc, &key, &data, MDB_SET ); in mdb_idscopes() 764 isc->nrdns[isc->numrdns].bv_len = nrlen; in mdb_idscopes() [all …]
|
H A D | search.c | 39 IdScopes *isc, 138 IdScopes *isc, in search_aliases() argument 164 rs->sr_err = mdb_filter_candidates( op, isc->mt, &af, aliases, in search_aliases() 188 rs->sr_err = mdb_idscope( op, isc->mt, e_id, aliases, curscop ); in search_aliases() 210 a = deref_base( op, rs, a, &matched, isc->mt, in search_aliases() 220 isc->id = a->e_id; in search_aliases() 224 if (mdb_idscopechk(op, isc)) in search_aliases() 227 if (mdb_id2l_insert(isc->scopes, &mid) == 0) { in search_aliases() 378 mdb_waitfixup( Operation *op, ww_ctx *ww, MDB_cursor *mci, MDB_cursor *mcd, IdScopes *isc ) in mdb_waitfixup() argument 391 if ( isc->numrdns ) in mdb_waitfixup() [all …]
|
/netbsd-src/external/bsd/libbind/dist/include/ |
H A D | Makefile.in | 25 IHEADERS= isc/assertions.h isc/ctl.h isc/dst.h isc/eventlib.h isc/heap.h \ 26 isc/irpmarshall.h isc/list.h isc/logging.h isc/memcluster.h \ 27 isc/misc.h isc/tree.h isc/platform.h 35 ${DESTDIR}${includedir}/arpa ${DESTDIR}${includedir}/isc 42 ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isc; \
|
/netbsd-src/sys/external/isc/libsodium/conf/ |
H A D | files.libsodium | 5 makeoptions libsodium "CPPFLAGS.libsodium"+="-I$S/external/isc/libsodium/include" 6 makeoptions libsodium "CPPFLAGS.libsodium"+="-I$S/external/isc/libsodium/dist/src/libsodium/include/sodium" 14 file external/isc/libsodium/src/sodium_module.c libsodium 15 file external/isc/libsodium/src/sodium_selftest.c libsodium 17 file external/isc/libsodium/dist/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c libsodium 18 file external/isc/libsodium/dist/src/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519.c libsodium 19 file external/isc/libsodium/dist/src/libsodium/crypto_scalarmult/crypto_scalarmult.c libsodium 20 file external/isc/libsodium/dist/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c libsodium 21 file external/isc/libsodium/dist/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c libsodium 22 file external/isc/libsodiu [all...] |
/netbsd-src/sys/dev/i2c/ |
H A D | mcp23xxxgpio_i2c.c | 91 struct mcpgpio_i2c_softc *isc = MCPGPIO_TO_I2C(sc); in mcpgpio_i2c_lock() local 93 return iic_acquire_bus(isc->sc_i2c, 0); in mcpgpio_i2c_lock() 99 struct mcpgpio_i2c_softc *isc = MCPGPIO_TO_I2C(sc); in mcpgpio_i2c_unlock() local 101 iic_release_bus(isc->sc_i2c, 0); in mcpgpio_i2c_unlock() 108 struct mcpgpio_i2c_softc *isc = MCPGPIO_TO_I2C(sc); in mcpgpio_i2c_read() local 113 return iic_exec(isc->sc_i2c, I2C_OP_READ_WITH_STOP, isc->sc_addr, in mcpgpio_i2c_read() 121 struct mcpgpio_i2c_softc *isc = MCPGPIO_TO_I2C(sc); in mcpgpio_i2c_write() local 126 return iic_exec(isc->sc_i2c, I2C_OP_WRITE_WITH_STOP, isc->sc_addr, in mcpgpio_i2c_write() 152 struct mcpgpio_i2c_softc *isc = device_private(self); in mcpgpio_i2c_attach() local 153 struct mcpgpio_softc *sc = &isc->sc_mcpgpio; in mcpgpio_i2c_attach() [all …]
|
/netbsd-src/sys/dev/acpi/ |
H A D | igpio_acpi.c | 191 struct igpio_softc * const isc = &asc->sc_isc; in igpio_acpi_detach() local 192 int nbar = isc->sc_nbar; in igpio_acpi_detach() 198 if (isc->sc_base != NULL) { in igpio_acpi_detach() 199 kmem_free(isc->sc_base, sizeof(*isc->sc_base) * nbar); in igpio_acpi_detach() 200 isc->sc_base = NULL; in igpio_acpi_detach() 203 if (isc->sc_length != NULL) { in igpio_acpi_detach() 204 kmem_free(isc->sc_length, sizeof(*isc->sc_length) * nbar); in igpio_acpi_detach() 205 isc->sc_length = NULL; in igpio_acpi_detach() 208 if (isc->sc_bsh != NULL) { in igpio_acpi_detach() 209 kmem_free(isc->sc_bsh, sizeof(*isc->sc_bsh) * nbar); in igpio_acpi_detach() [all …]
|
/netbsd-src/sys/netinet/ |
H A D | in_selsrc.c | 302 struct in_ifsysctl *isc; in in_getifa() local 315 isc = ((struct in_ifinfo *)(ifp)->if_afdata[AF_INET])->ii_selsrc; in in_getifa() 316 if (isc != NULL && isc->isc_selsrc != NULL && in in_getifa() 317 isc->isc_selsrc->iss_score_src[0] != NULL) in in_getifa() 318 iss = isc->isc_selsrc; in in_getifa() 505 in_domifattach_sysctl(struct in_ifsysctl *isc) in in_domifattach_sysctl() argument 510 if ((rc = sysctl_createv(&isc->isc_log, 0, NULL, &rnode, in in_domifattach_sysctl() 520 if ((rc = sysctl_createv(&isc->isc_log, 0, &rnode, &rnode, in in_domifattach_sysctl() 522 isc->isc_ifp->if_xname, in in_domifattach_sysctl() 526 "rc = %d\n", __func__, isc->isc_ifp->if_xname, rc); in in_domifattach_sysctl() [all …]
|
/netbsd-src/sys/arch/evbarm/ifpga/ |
H A D | plcom_ifpga.c | 71 struct plcom_ifpga_softc *isc = device_private(self); in plcom_ifpga_attach() local 72 struct plcom_softc *sc = &isc->sc_plcom; in plcom_ifpga_attach() 75 isc->sc_iot = ifa->ifa_iot; in plcom_ifpga_attach() 76 isc->sc_ioh = ifa->ifa_sc_ioh; in plcom_ifpga_attach() 91 sc->sc_set_mcr_arg = (void *)isc; in plcom_ifpga_attach() 103 isc->sc_ih = ifpga_intr_establish(ifa->ifa_irq, IPL_SERIAL, in plcom_ifpga_attach() 105 if (isc->sc_ih == NULL) in plcom_ifpga_attach() 112 struct plcom_ifpga_softc *isc = aux; in plcom_ifpga_set_mcr() local 141 bus_space_write_1(isc->sc_iot, isc->sc_ioh, IFPGA_SC_CTRLS, in plcom_ifpga_set_mcr() 144 bus_space_write_1(isc->sc_iot, isc->sc_ioh, IFPGA_SC_CTRLC, in plcom_ifpga_set_mcr()
|
/netbsd-src/external/bsd/libbind/dist/ |
H A D | Makefile.in | 75 ISCOBJS= isc/assertions.@O@ isc/base64.@O@ isc/bitncmp.@O@ isc/ctl_clnt.@O@ \ 76 isc/ctl_p.@O@ isc/ctl_srvr.@O@ isc/ev_connects.@O@ isc/ev_files.@O@ \ 77 isc/ev_streams.@O@ isc/ev_timers.@O@ isc/ev_waits.@O@ \ 78 isc/eventlib.@O@ isc/heap.@O@ isc/hex.@O@ isc/logging.@O@ \ 79 isc/memcluster.@O@ isc/movefile.@O@ isc/tree.@O@ 92 SUBDIRS = bsd dst doc include inet irs isc nameser resolv @PORT_INCLUDE@
|
/netbsd-src/sys/arch/alpha/tc/ |
H A D | mcclock_ioasic.c | 84 struct mcclock_ioasic_softc *isc = device_private(self); in mcclock_ioasic_attach() local 86 struct mc146818_softc *sc = &isc->sc_mcclock.sc_mc146818; in mcclock_ioasic_attach() 89 isc->sc_dp = (void *)ioasicdev->iada_addr; in mcclock_ioasic_attach() 96 mcclock_attach(&isc->sc_mcclock); in mcclock_ioasic_attach() 102 struct mcclock_ioasic_softc *isc = (void *)sc; in mcclock_ioasic_write() local 104 isc->sc_dp[reg].datum = datum; in mcclock_ioasic_write() 110 struct mcclock_ioasic_softc *isc = (void *)sc; in mcclock_ioasic_read() local 112 return isc->sc_dp[reg].datum; in mcclock_ioasic_read()
|