/netbsd-6-1-5-RELEASE/sys/arch/pmax/tc/ |
H A D | asc_ioasic.c | 71 #define ASC_READ_REG(asc, reg) \ 72 ((uint8_t)bus_space_read_4((asc)->sc_bst, (asc)->sc_scsi_bsh, \ 74 #define ASC_WRITE_REG(asc, reg, val) \ 75 bus_space_write_4((asc)->sc_bst, (asc)->sc_scsi_bsh, \ 113 if (strncmp("asc", d->iada_modname, TC_ROM_LLEN)) 122 struct asc_softc *asc = device_private(self); local 123 struct ncr53c9x_softc *sc = &asc->sc_ncr53c9x; 132 asc 197 struct asc_softc *asc = (struct asc_softc *)sc; local 216 struct asc_softc *asc = (struct asc_softc *)sc; local 291 struct asc_softc *asc = (struct asc_softc *)sc; local 311 struct asc_softc *asc = (struct asc_softc *)sc; local 405 struct asc_softc *asc = (struct asc_softc *)sc; local 421 struct asc_softc *asc = (struct asc_softc *)sc; local 429 struct asc_softc *asc = (struct asc_softc *)sc; local 437 struct asc_softc *asc = (struct asc_softc *)sc; local 445 struct asc_softc *asc = (struct asc_softc *)sc; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/tc/ |
H A D | asc_tc.c | 127 struct asc_softc *asc = device_private(self); local 128 struct ncr53c9x_softc *sc = &asc->sc_ncr53c9x; 136 asc->sc_bst = ta->ta_memt; 137 asc->sc_dmat = ta->ta_dmat; 138 if (bus_space_map(asc->sc_bst, ta->ta_addr, 139 PMAZ_OFFSET_RAM + PMAZ_RAM_SIZE, 0, &asc->sc_bsh)) { 143 asc->sc_base = (void *)ta->ta_addr; /* XXX XXX XXX */ 195 struct asc_softc *asc = (struct asc_softc *)sc; local 197 asc->sc_active = 0; 203 struct asc_softc *asc local 231 struct asc_softc *asc = (struct asc_softc *)sc; local 303 struct asc_softc *asc = (struct asc_softc *)sc; local 312 struct asc_softc *asc = (struct asc_softc *)sc; local 328 struct asc_softc *asc = (struct asc_softc *)sc; local [all...] |
H A D | asc_tcds.c | 149 struct asc_softc *asc = device_private(self); local 150 struct ncr53c9x_softc *sc = &asc->sc_ncr53c9x; 160 asc->sc_bst = tcdsdev->tcdsda_bst; 161 asc->sc_scsi_bsh = tcdsdev->tcdsda_bsh; 162 asc->sc_tcds = tcdsdev->tcdsda_sc; 170 asc->sc_dmat = tcdsdev->tcdsda_dmat; 171 if ((error = bus_dmamap_create(asc->sc_dmat, PAGE_SIZE, 1, PAGE_SIZE, 172 PAGE_SIZE, BUS_DMA_NOWAIT, &asc->sc_dmamap)) < 0) { 233 struct asc_softc *asc = (struct asc_softc *)sc; local 236 tcds_scsi_reset(asc 250 struct asc_softc *asc = (struct asc_softc *)sc; local 306 struct asc_softc *asc = (struct asc_softc *)sc; local 337 struct asc_softc *asc = (struct asc_softc *)sc; local 463 struct asc_softc *asc = (struct asc_softc *)sc; local 475 struct asc_softc *asc = (struct asc_softc *)sc; local 484 struct asc_softc *asc = (struct asc_softc *)sc; local 496 struct asc_softc *asc = (struct asc_softc *)sc; local 504 struct asc_softc *asc = (struct asc_softc *)sc; local [all...] |
H A D | ascvar.h | 62 int (*dma_start)(struct asc_softc *asc, 66 void (*dma_end)(struct asc_softc *asc, 88 void ascattach(struct asc_softc *asc, int bus_speed); 89 int asc_intr(void *asc);
|
/netbsd-6-1-5-RELEASE/sys/arch/vax/vsa/ |
H A D | asc_vsbus.c | 125 static uint8_t asc_attached; /* can't have more than one asc */ 177 struct asc_vsbus_softc * const asc = device_private(self); local 178 struct ncr53c9x_softc * const sc = &asc->sc_ncr53c9x; 188 asc->sc_bst = va->va_memt; 189 asc->sc_dmat = va->va_dmat; 191 error = bus_space_map(asc->sc_bst, va->va_paddr - ASC_REG_NCR, 192 ASC_REG_END, 0, &asc->sc_bsh); 197 error = bus_space_subregion(asc->sc_bst, asc->sc_bsh, ASC_REG_NCR, 198 ASC_REG_END - ASC_REG_NCR, &asc 307 struct asc_vsbus_softc * const asc = (struct asc_vsbus_softc *)sc; local 316 struct asc_vsbus_softc * const asc = (struct asc_vsbus_softc *)sc; local 325 struct asc_vsbus_softc * const asc = (struct asc_vsbus_softc *)sc; local 334 struct asc_vsbus_softc * const asc = (struct asc_vsbus_softc *)sc; local 344 struct asc_vsbus_softc * const asc = (struct asc_vsbus_softc *)sc; local 400 struct asc_vsbus_softc * const asc = (struct asc_vsbus_softc *)sc; local 447 struct asc_vsbus_softc * const asc = (struct asc_vsbus_softc *)sc; local 455 struct asc_vsbus_softc * const asc = (struct asc_vsbus_softc *)sc; local 472 struct asc_vsbus_softc * const asc = (struct asc_vsbus_softc *)sc; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arc/jazz/ |
H A D | asc.c | 1 /* $NetBSD: asc.c,v 1.23 2008/05/14 13:29:27 tsutsui Exp $ */ 28 __KERNEL_RCSID(0, "$NetBSD: asc.c,v 1.23 2008/05/14 13:29:27 tsutsui Exp $"); 78 CFATTACH_DECL_NEW(asc, sizeof(struct asc_softc), 125 struct asc_softc *asc = device_private(self); local 126 struct ncr53c9x_softc *sc = &asc->sc_ncr53c9x; 140 asc->sc_iot = iot = ja->ja_bust; 141 asc->sc_dmat = ja->ja_dmat; 143 if (bus_space_map(iot, ja->ja_addr, ASC_NPORTS, 0, &asc->sc_ioh)) { 149 0, &asc->sc_dmaioh)) { 154 if (bus_dmamap_create(asc 253 struct asc_softc *asc = (struct asc_softc *)sc; local 261 struct asc_softc *asc = (struct asc_softc *)sc; local 276 struct asc_softc *asc = (struct asc_softc *)sc; local 286 struct asc_softc *asc = (struct asc_softc *)sc; local 381 struct asc_softc *asc = (struct asc_softc *)sc; local 425 struct asc_softc *asc = (struct asc_softc *)sc; local 437 struct asc_softc *asc = (struct asc_softc *)sc; local 451 struct asc_softc *asc = (struct asc_softc *)sc; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | agp_amd64.c | 203 struct agp_amd64_softc *asc; local 210 asc = malloc(sizeof(struct agp_amd64_softc), M_AGP, M_NOWAIT | M_ZERO); 211 if (asc == NULL) { 218 free(asc, M_AGP); 229 asc->mctrl_tag[n] = tag; 237 asc->n_mctrl = n; 240 asc->n_mctrl); 243 sc->as_chipc = asc; 247 asc->initial_aperture = AGP_GET_APERTURE(sc); 263 asc 327 struct agp_amd64_softc *asc = sc->as_chipc; local 342 struct agp_amd64_softc *asc = sc->as_chipc; local 381 struct agp_amd64_softc *asc = sc->as_chipc; local 395 struct agp_amd64_softc *asc = sc->as_chipc; local 408 struct agp_amd64_softc *asc = sc->as_chipc; local 424 struct agp_amd64_softc *asc = sc->as_chipc; local 439 struct agp_amd64_softc *asc = sc->as_chipc; local 453 struct agp_amd64_softc *asc = sc->as_chipc; local 474 struct agp_amd64_softc *asc = sc->as_chipc; local 491 struct agp_amd64_softc *asc = sc->as_chipc; local 518 struct agp_amd64_softc *asc = sc->as_chipc; local 530 struct agp_amd64_softc *asc = sc->as_chipc; local [all...] |
H A D | agp_via.c | 90 struct agp_via_softc *asc; local 94 asc = malloc(sizeof *asc, M_AGP, M_NOWAIT|M_ZERO); 95 if (asc == NULL) { 99 sc->as_chipc = asc; 107 asc->regs = via_v3_regs; 110 asc->regs = via_v2_regs; 114 asc->regs = via_v2_regs; 120 free(asc, M_AGP); 124 asc 188 struct agp_via_softc *asc = sc->as_chipc; local 238 struct agp_via_softc *asc = sc->as_chipc; local 310 struct agp_via_softc *asc = sc->as_chipc; local 322 struct agp_via_softc *asc = sc->as_chipc; local 334 struct agp_via_softc *asc = sc->as_chipc; local [all...] |
H A D | agp_amd.c | 50 #define READ2(off) bus_space_read_2(asc->iot, asc->ioh, off) 51 #define READ4(off) bus_space_read_4(asc->iot, asc->ioh, off) 52 #define WRITE2(off,v) bus_space_write_2(asc->iot, asc->ioh, off, v) 53 #define WRITE4(off,v) bus_space_write_4(asc->iot, asc->ioh, off, v) 172 struct agp_amd_softc *asc; local 178 asc 308 struct agp_amd_softc *asc = sc->as_chipc; local 320 struct agp_amd_softc *asc = sc->as_chipc; local 332 struct agp_amd_softc *asc = sc->as_chipc; local [all...] |
H A D | agp_apple.c | 76 struct agp_apple_softc *asc; local 79 asc = malloc(sizeof *asc, M_AGP, M_NOWAIT|M_ZERO); 80 if (asc == NULL) { 84 sc->as_chipc = asc; 96 asc->initial_aperture = sc->as_apsize; 108 asc->gatt = gatt; 159 struct agp_apple_softc *asc = sc->as_chipc; local 161 if (offset < 0 || offset >= (asc->gatt->ag_entries << AGP_PAGE_SHIFT)) 164 asc 171 struct agp_apple_softc *asc = sc->as_chipc; local [all...] |
H A D | agp_ali.c | 79 struct agp_ali_softc *asc; local 84 asc = malloc(sizeof *asc, M_AGP, M_NOWAIT); 85 if (asc == NULL) { 89 sc->as_chipc = asc; 94 free(asc, M_AGP); 101 asc->initial_aperture = agp_ali_get_aperture(sc); 118 asc->gatt = gatt; 139 struct agp_ali_softc *asc = sc->as_chipc; 152 AGP_SET_APERTURE(sc, asc 219 struct agp_ali_softc *asc = sc->as_chipc; local 231 struct agp_ali_softc *asc = sc->as_chipc; local [all...] |
/netbsd-6-1-5-RELEASE/share/man/man4/man4.pmax/ |
H A D | Makefile | 4 MAN= asc.4 autoconf.4 ibus.4 intro.4 pm.4 sii.4 xcfb.4
|
/netbsd-6-1-5-RELEASE/sys/arch/mips/atheros/dev/ |
H A D | if_ath_arbus.c | 100 struct ath_arbus_softc *asc = device_private(dv); local 101 ath_resume(&asc->sc_ath); 110 struct ath_arbus_softc *asc; local 118 asc = device_private(self); 119 sc = &asc->sc_ath; 136 asc->sc_iot = aa->aa_bst; 137 rv = bus_space_map(asc->sc_iot, aa->aa_addr, aa->aa_size, 0, 138 &asc->sc_ioh); 146 rv = atheros_get_board_config(&asc->sc_config); 151 asc 187 struct ath_arbus_softc *asc = device_private(self); local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/pad/ |
H A D | padvol.h | 44 name(struct audio_softc *asc, const audio_params_t *from, \ 47 return pad_filter_factory(asc, name##_fetch_to); \ 50 name##_fetch_to(struct audio_softc *asc, stream_fetcher_t *self, \
|
/netbsd-6-1-5-RELEASE/sys/dev/mca/ |
H A D | if_elmc_mca.c | 104 struct elmc_mca_softc *asc = device_private(self); local 105 struct ie_softc *sc = &asc->sc_ie; 174 asc->sc_regt = ma->ma_iot; 175 asc->sc_regh = ioh; 240 bus_space_unmap(asc->sc_regt, asc->sc_regh, ELMC_IOADDR_SIZE); 246 revision = (int) bus_space_read_1(asc->sc_regt, asc->sc_regh, 261 myaddr[i] = bus_space_read_1(asc->sc_regt, asc 354 struct elmc_mca_softc* asc = (struct elmc_mca_softc *) sc; local 379 struct elmc_mca_softc* asc = (struct elmc_mca_softc *) sc; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/acpi/ |
H A D | acpi_display.c | 446 struct acpidisp_vga_softc *asc = device_private(self); local 453 asc->sc_node = ad; 454 asc->sc_dev = self; 455 asc->sc_log = NULL; 457 mutex_init(&asc->sc_mtx, MUTEX_DEFAULT, IPL_NONE); 459 asc->sc_caps = acpidisp_vga_capabilities(ad); 460 asc->sc_policy = acpidisp_default_bios_policy; 461 asc->sc_odinfo = NULL; 463 acpidisp_vga_print_capabilities(self, asc->sc_caps); 470 asc 502 struct acpidisp_vga_softc *asc = device_private(self); local 533 struct acpidisp_vga_softc *asc = device_private(self); local 559 acpidisp_vga_scan_outdevs(struct acpidisp_vga_softc *asc) argument 702 struct acpidisp_vga_softc *asc = device_private(self); local 833 struct acpidisp_vga_softc *asc = device_private(context); local 911 struct acpidisp_vga_softc *asc = arg; local 976 struct acpidisp_vga_softc *asc = arg; local 1108 acpidisp_vga_sysctl_setup(struct acpidisp_vga_softc *asc) argument 1233 struct acpidisp_vga_softc *asc; local 1265 struct acpidisp_vga_softc *asc; local 1409 acpidisp_init_odinfo(const struct acpidisp_vga_softc *asc) argument 1508 acpidisp_vga_bind_outdevs(struct acpidisp_vga_softc *asc) argument 1708 acpidisp_set_policy(const struct acpidisp_vga_softc *asc, uint8_t value) argument [all...] |
H A D | fdc_acpi.c | 102 struct fdc_acpi_softc *asc = device_private(self); local 103 struct fdc_softc *sc = &asc->sc_fdc; 113 asc->sc_node = aa->aa_node; 146 0, &asc->sc_baseioh)) { 153 sc->sc_ioh = asc->sc_baseioh; 156 if (bus_space_subregion(sc->sc_iot, asc->sc_baseioh, 2, 4, 198 sc->sc_present = fdc_acpi_enumerate(asc); 201 fdc_acpi_getknownfds(asc); 218 fdc_acpi_enumerate(struct fdc_acpi_softc *asc) argument 220 struct fdc_softc *sc = &asc 276 fdc_acpi_getknownfds(struct fdc_acpi_softc *asc) argument [all...] |
H A D | joy_acpi.c | 83 struct joy_acpi_softc *asc = device_private(self); local 84 struct joy_softc *sc = &asc->sc_joy; 113 mutex_init(&asc->sc_lock, MUTEX_DEFAULT, IPL_NONE); 114 sc->sc_lock = &asc->sc_lock;
|
H A D | mpu_acpi.c | 85 struct mpu_acpi_softc *asc = device_private(self); local 86 struct mpu_softc *sc = &asc->sc_mpu; 122 sc->lock = &asc->sc_lock; 123 mutex_init(&asc->sc_lock, MUTEX_DEFAULT, IPL_AUDIO);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/pgp2ssh/ |
H A D | main.c | 48 char asc[8192]; local 97 ascc = b64encode(key, keyc, asc, sizeof(asc), 0xffffffff); 99 printf("ssh-rsa %.*s %s\n", ascc, asc, cp);
|
/netbsd-6-1-5-RELEASE/share/man/man4/man4.acorn32/ |
H A D | Makefile | 3 MAN= asc.4 autoconf.4 cosc.4 csc.4 ie.4 intro.4 iomdkbc.4 \
|
/netbsd-6-1-5-RELEASE/sys/arch/mips/alchemy/dev/ |
H A D | com_aubus.c | 91 struct com_aubus_softc *asc = device_private(self); local 92 struct com_softc *sc = &asc->sc_com; 99 asc->sc_irq = aa->aa_irq[0]; 139 struct com_aubus_softc *asc = (void *)sc; /* XXX mi prototype */ local 142 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE) && (asc->sc_ih != NULL)) 150 asc->sc_ih = au_intr_establish(asc->sc_irq, 0, IPL_SERIAL, IST_LEVEL, 152 if (asc->sc_ih == NULL) { 164 struct com_aubus_softc *asc = (void *)sc; /* XXX mi prototype */ local 171 au_intr_disestablish(asc [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/isa/ |
H A D | if_ai.c | 110 struct ai_softc* asc = (struct ai_softc *) sc; local 115 bus_space_write_1(asc->sc_regt, asc->sc_regh, AI_RESET, 0); 131 struct ai_softc* asc = (struct ai_softc *) sc; local 132 bus_space_write_1(asc->sc_regt, asc->sc_regh, AI_ATTN, 0); 217 struct ai_softc asc; local 266 memset(&asc, 0, sizeof asc); 267 asc 307 struct ai_softc *asc = device_private(self); local 418 ai_find_mem_size(struct ai_softc* asc, bus_space_tag_t memt, bus_size_t maddr) argument [all...] |
/netbsd-6-1-5-RELEASE/share/man/man4/man4.alpha/ |
H A D | Makefile | 3 MAN= apecs.4 asc.4 autoconf.4 cia.4 dwlpx.4 gbus.4 \
|
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/ |
H A D | toccata.c | 257 struct ad1848_softc *asc; local 262 asc = &sc->sc_ad; 263 asc->sc_dev = self; 273 asc->parent = sc; 274 asc->sc_readreg = toccata_readreg; 275 asc->sc_writereg = toccata_writereg; 277 asc->chip_name = "ad1848"; 278 asc->mode = 1; 279 ad1848_attach(asc); 360 toccata_readreg(struct ad1848_softc *asc, in argument 370 toccata_writereg(struct ad1848_softc *asc, int offset, int value) argument 384 struct ad1848_softc *asc; local 406 struct ad1848_softc *asc; local 476 struct ad1848_softc *asc; local 528 struct ad1848_softc *asc; local [all...] |