/netbsd/sys/arch/alpha/jensenio/ |
H A D | jensenio_bus_intio.c | 138 jensenio_intio_map(void *v, bus_addr_t ioaddr, bus_size_t iosize, int flags, in jensenio_intio_map() argument 154 ioaddr + iosize - 1); in jensenio_intio_map() 156 error = extent_alloc_region(jcp->jc_io_ex, ioaddr, iosize, in jensenio_intio_map() 172 jensenio_intio_unmap(void *v, bus_space_handle_t ioh, bus_size_t iosize, in jensenio_intio_unmap() argument 183 printf("intio: freeing handle 0x%lx for 0x%lx\n", ioh, iosize); in jensenio_intio_unmap() 191 printf("intio: freeing 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1); in jensenio_intio_unmap() 193 error = extent_free(jcp->jc_io_ex, ioaddr, iosize, in jensenio_intio_unmap() 197 ioaddr, ioaddr + iosize - 1, error); in jensenio_intio_unmap()
|
/netbsd/lib/libc/stdio/ |
H A D | setvbuf.c | 60 size_t iosize; in setvbuf() local 102 flags |= __swhatbuf(fp, &iosize, &ttyflag); in setvbuf() 105 size = iosize; in setvbuf() 116 if (size != iosize) { in setvbuf() 117 size = iosize; in setvbuf() 140 if (size != iosize) in setvbuf()
|
/netbsd/sys/arch/arc/isa/ |
H A D | opms_isa.c | 59 bus_size_t iosize = IO_KBDSIZE; in opms_isa_match() local 68 iosize = ia->ia_iosize; in opms_isa_match() 75 if (iobase != IO_KBD || iosize != IO_KBDSIZE || in opms_isa_match() 89 ia->ia_io[0].ir_size = iosize; in opms_isa_match()
|
H A D | pccons_isa.c | 58 bus_size_t iosize = 0x30; /* XXX 0x20 */ in pccons_isa_match() local 69 iosize = ia->ia_iosize; in pccons_isa_match() 85 if (iobase != 0x3b0 || iosize != 0x30 || in pccons_isa_match() 100 ia->ia_io[0].ir_size = iosize; in pccons_isa_match()
|
/netbsd/sys/dev/isa/ |
H A D | if_le_isa.c | 117 int iosize, rap, rdp; member 221 if (bus_space_map(iot, ia->ia_io[0].ir_addr, p->iosize, 0, &ioh)) in lance_isa_probe() 240 ia->ia_io[0].ir_size = p->iosize; in lance_isa_probe() 255 bus_space_unmap(iot, ioh, p->iosize); in lance_isa_probe() 308 if (bus_space_map(iot, ia->ia_io[0].ir_addr, p->iosize, 0, &ioh)) in le_isa_attach() 392 bus_space_unmap(iot, ioh, p->iosize); in le_isa_attach()
|
H A D | tcic2_isa.c | 305 sc->iosize = 0xbff; in tcic_isa_attach() 314 sc->iosize = 0x0cf; in tcic_isa_attach() 319 (long) sc->iobase + sc->iosize)); in tcic_isa_attach() 323 sc->iosize = tcic_isa_alloc_iosize; in tcic_isa_attach() 327 (long)sc->iobase, (long)sc->iobase + sc->iosize)); in tcic_isa_attach()
|
H A D | i82365_isasubr.c | 424 sc->iosize = 0x0ff; in pcic_isa_bus_width_probe() 427 sc->iosize = 0xbff; in pcic_isa_bus_width_probe() 432 (long)(sc->iobase + sc->iosize))); in pcic_isa_bus_width_probe() 436 sc->iosize = pcic_isa_alloc_iosize; in pcic_isa_bus_width_probe() 440 (long) sc->iobase, (long)(sc->iobase + sc->iosize))); in pcic_isa_bus_width_probe()
|
H A D | aztech.c | 125 int iosize = 1, iobase; in az_probe() local 140 if (bus_space_map(iot, iobase, iosize, 0, &ioh)) in az_probe() 145 bus_space_unmap(iot, ioh, iosize); in az_probe() 149 ia->ia_io[0].ir_size = iosize; in az_probe()
|
H A D | radiotrack2.c | 128 int iosize = 1, iobase; in rtii_probe() local 143 if (bus_space_map(iot, iobase, iosize, 0, &ioh)) in rtii_probe() 148 bus_space_unmap(iot, ioh, iosize); in rtii_probe() 152 ia->ia_io[0].ir_size = iosize; in rtii_probe()
|
H A D | sf16fmr2.c | 128 int iosize = 1, iobase; in sf2r_probe() local 143 if (bus_space_map(iot, iobase, iosize, 0, &ioh)) in sf2r_probe() 148 bus_space_unmap(iot, ioh, iosize); in sf2r_probe() 152 ia->ia_io[0].ir_size = iosize; in sf2r_probe()
|
H A D | radiotrack.c | 138 int iosize = 1, iobase; in rt_probe() local 153 if (bus_space_map(iot, iobase, iosize, 0, &ioh)) in rt_probe() 158 bus_space_unmap(iot, ioh, iosize); in rt_probe() 162 ia->ia_io[0].ir_size = iosize; in rt_probe()
|
H A D | wt.c | 218 int rv = 0, iosize; in wtprobe() local 239 iosize = AV_NPORT; in wtprobe() 242 if (bus_space_map(iot, ia->ia_io[0].ir_addr, iosize, 0, &ioh)) in wtprobe() 247 iosize = WT_NPORT; /* XXX misleading */ in wtprobe() 254 iosize = AV_NPORT; in wtprobe() 262 ia->ia_io[0].ir_size = iosize; in wtprobe()
|
/netbsd/sys/dev/pci/ |
H A D | bha_pci.c | 64 bus_size_t iosize; in bha_pci_match() local 75 NULL, &iosize)) in bha_pci_match() 80 bus_space_unmap(iot, ioh, iosize); in bha_pci_match()
|
H A D | if_an_pci.c | 123 bus_size_t iosize; in an_pci_attach() local 135 &sc->sc_iot, &sc->sc_ioh, NULL, &iosize) != 0) { in an_pci_attach() 166 bus_space_unmap(sc->sc_iot, sc->sc_ioh, iosize); in an_pci_attach()
|
H A D | if_re_pci.c | 191 bus_size_t iosize, memsize; in re_pci_attach() local 206 &iot, &ioh, NULL, &iosize) == 0); in re_pci_attach() 238 sc->rtk_bsize = iosize; in re_pci_attach() 250 bus_space_unmap(iot, ioh, iosize); in re_pci_attach()
|
H A D | if_rtk_pci.c | 161 bus_size_t iosize, memsize; in rtk_pci_attach() local 193 &iot, &ioh, NULL, &iosize) == 0); in rtk_pci_attach() 199 sc->rtk_bsize = iosize; in rtk_pci_attach()
|
H A D | alipm.c | 138 bus_size_t iosize = ALIPM_SMB_SIZE; in alipm_attach() local 150 iosize, 0, &sc->sc_ioh)) { in alipm_attach() 169 &sc->sc_iot, &sc->sc_ioh, NULL, &iosize)) { in alipm_attach() 218 bus_space_unmap(sc->sc_iot, sc->sc_ioh, iosize); in alipm_attach()
|
H A D | sisfb.c | 76 bus_size_t iosize; member 273 0, &fb->iot, &fb->ioh, &fb->iobase, &fb->iosize) != 0) { in sisfb_attach() 294 fb->iosize, fb->iobase); in sisfb_attach() 339 bus_space_unmap(fb->iot, fb->ioh, fb->iosize); in sisfb_attach() 495 offset <= ((fb->iobase + fb->iosize + PAGE_SIZE - 1) & ~PAGE_MASK)) { in sisfb_mmap() 813 &sisfbcn.iobase, &sisfbcn.iosize, &flags)) { in sisfb_cnattach() 818 rc = bus_space_map(iot, sisfbcn.iobase, sisfbcn.iosize, in sisfb_cnattach()
|
H A D | gtp.c | 146 bus_size_t iosize; in gtp_attach() local 153 &sc->tea.ioh, NULL, &iosize)) { in gtp_attach()
|
H A D | if_tlp_pci.c | 366 bus_size_t iosize = 0, memsize = 0; in tlp_pci_attach() local 539 &iot, &ioh, NULL, &iosize) == 0); in tlp_pci_attach() 548 bus_space_unmap(iot, ioh, iosize); in tlp_pci_attach() 554 psc->sc_mapsize = iosize; in tlp_pci_attach() 1048 bus_space_unmap(iot, ioh, iosize); in tlp_pci_attach()
|
H A D | i82365_pci.c | 151 sc->iosize = 0xbff; in pcic_pci_attach()
|
/netbsd/sys/arch/alpha/pci/ |
H A D | pci_bwx_bus_io_chipdep.c | 360 bus_size_t iosize, in __C() 371 error = __C(CHIP,_io_translate)(v, ioaddr, iosize, flags, &abst); in __C() 379 printf("io: allocating 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1); in __C() 381 error = extent_alloc_region(CHIP_IO_EXTENT(v), ioaddr, iosize, in __C() 401 bus_size_t iosize, in __C() 411 printf("io: freeing handle 0x%lx for 0x%lx\n", ioh, iosize); in __C() 417 printf("io: freeing 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1); in __C() 419 error = extent_free(CHIP_IO_EXTENT(v), ioaddr, iosize, in __C() 423 __S(__C(CHIP,_io_unmap)), ioaddr, ioaddr + iosize - 1, in __C()
|
H A D | pci_swiz_bus_io_chipdep.c | 418 __C(CHIP,_io_map)(void *v, bus_addr_t ioaddr, bus_size_t iosize, in __C() 427 error = __C(CHIP,_io_translate)(v, ioaddr, iosize, flags, &abst); in __C() 435 printf("io: allocating 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1); in __C() 437 error = extent_alloc_region(CHIP_IO_EXTENT(v), ioaddr, iosize, in __C() 456 bus_size_t iosize, int acct) in __C() 465 printf("io: freeing handle 0x%lx for 0x%lx\n", ioh, iosize); in __C() 501 printf("io: freeing 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1); in __C() 503 error = extent_free(CHIP_IO_EXTENT(v), ioaddr, iosize, in __C() 507 __S(__C(CHIP,_io_unmap)), ioaddr, ioaddr + iosize - 1, in __C()
|
/netbsd/sys/ufs/lfs/ |
H A D | lfs_balloc.c | 120 lfs_balloc(struct vnode *vp, off_t startoffset, int iosize, kauth_cred_t cred, in lfs_balloc() argument 144 KASSERT(iosize <= lfs_sb_getbsize(fs)); in lfs_balloc() 214 nsize = lfs_fragroundup(fs, offset + iosize); in lfs_balloc() 466 if (iosize == lfs_sb_getbsize(fs)) in lfs_balloc()
|
/netbsd/sys/arch/hpcmips/vr/ |
H A D | vrecu.c | 149 sc->iosize = 0xbff; in pcic_vrip_attach() 158 sc->iosize = 0x10000; in pcic_vrip_attach()
|