Searched refs:iosize (Results 1 - 25 of 38) sorted by relevance

12

/netbsd-6-1-5-RELEASE/lib/libc/stdio/
H A Dsetvbuf.c64 size_t iosize; local
106 flags |= __swhatbuf(fp, &iosize, &ttyflag);
109 size = iosize;
120 if (size != iosize) {
121 size = iosize;
142 * SHOULD WE ALLOW MULTIPLES HERE (i.e., ok iff (size % iosize) == 0)?
144 if (size != iosize)
/netbsd-6-1-5-RELEASE/sys/arch/arc/isa/
H A Dopms_isa.c59 bus_size_t iosize = IO_KBDSIZE; local
68 iosize = ia->ia_iosize;
75 if (iobase != IO_KBD || iosize != IO_KBDSIZE ||
89 ia->ia_io[0].ir_size = iosize;
H A Dpccons_isa.c58 bus_size_t iosize = 0x30; /* XXX 0x20 */ local
69 iosize = ia->ia_iosize;
85 if (iobase != 0x3b0 || iosize != 0x30 ||
100 ia->ia_io[0].ir_size = iosize;
/netbsd-6-1-5-RELEASE/sys/arch/alpha/jensenio/
H A Djensenio_bus_intio.c139 jensenio_intio_map(void *v, bus_addr_t ioaddr, bus_size_t iosize, int flags, argument
155 ioaddr + iosize - 1);
157 error = extent_alloc_region(jcp->jc_io_ex, ioaddr, iosize,
173 jensenio_intio_unmap(void *v, bus_space_handle_t ioh, bus_size_t iosize, argument
184 printf("intio: freeing handle 0x%lx for 0x%lx\n", ioh, iosize);
192 printf("intio: freeing 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1);
194 error = extent_free(jcp->jc_io_ex, ioaddr, iosize,
198 ioaddr, ioaddr + iosize - 1, error);
/netbsd-6-1-5-RELEASE/sys/dev/isa/
H A Disic_isa.c82 int *num_mappings, struct isic_io_map *maps, int *iosize,
103 int ret = 0, iobase, iosize, maddr, msize; local
126 iosize = ia->ia_io[0].ir_size;
146 &iosize, &msize)) {
213 &args.ia_maps[0], &iosize, &msize) == 0)
226 &iosize, &msize) == 0)
238 &iosize, &msize) == 0)
250 &iosize, &msize) == 0)
263 &iosize, &msize) == 0)
277 &iosize,
783 int ret = 0, iobase, iosize, maddr, msize; local
973 setup_io_map(int flags, bus_space_tag_t iot, bus_space_tag_t memt, bus_size_t iobase, bus_size_t maddr, int *num_mappings, struct isic_io_map *maps, int *iosize, int *msize) argument
[all...]
H A Dtcic2_isa.c303 sc->iosize = 0xbff;
312 sc->iosize = 0x0cf;
317 (long) sc->iobase + sc->iosize));
321 sc->iosize = tcic_isa_alloc_iosize;
325 (long) sc->iobase + sc->iosize));
H A Dif_le_isa.c117 int iosize, rap, rdp; member in struct:le_isa_params
221 if (bus_space_map(iot, ia->ia_io[0].ir_addr, p->iosize, 0, &ioh))
240 ia->ia_io[0].ir_size = p->iosize;
255 bus_space_unmap(iot, ioh, p->iosize);
308 if (bus_space_map(iot, ia->ia_io[0].ir_addr, p->iosize, 0, &ioh))
H A Daztech.c127 int iosize = 1, iobase; local
142 if (bus_space_map(iot, iobase, iosize, 0, &ioh))
147 bus_space_unmap(iot, ioh, iosize);
151 ia->ia_io[0].ir_size = iosize;
H A Dradiotrack2.c130 int iosize = 1, iobase; local
145 if (bus_space_map(iot, iobase, iosize, 0, &ioh))
150 bus_space_unmap(iot, ioh, iosize);
154 ia->ia_io[0].ir_size = iosize;
H A Dsf16fmr2.c130 int iosize = 1, iobase; local
145 if (bus_space_map(iot, iobase, iosize, 0, &ioh))
150 bus_space_unmap(iot, ioh, iosize);
154 ia->ia_io[0].ir_size = iosize;
H A Di82365_isasubr.c425 sc->iosize = 0x0ff;
428 sc->iosize = 0xbff;
433 (long)(sc->iobase + sc->iosize)));
437 sc->iosize = pcic_isa_alloc_iosize;
441 (long) sc->iobase, (long)(sc->iobase + sc->iosize)));
H A Dradiotrack.c140 int iosize = 1, iobase; local
155 if (bus_space_map(iot, iobase, iosize, 0, &ioh))
160 bus_space_unmap(iot, ioh, iosize);
164 ia->ia_io[0].ir_size = iosize;
/netbsd-6-1-5-RELEASE/sys/dev/pci/
H A Dbha_pci.c64 bus_size_t iosize; local
75 NULL, &iosize))
80 bus_space_unmap(iot, ioh, iosize);
H A Dif_an_pci.c124 bus_size_t iosize; local
135 &sc->sc_iot, &sc->sc_ioh, NULL, &iosize) != 0) {
165 bus_space_unmap(sc->sc_iot, sc->sc_ioh, iosize);
H A Dif_re_pci.c185 bus_size_t iosize, memsize; local
198 &iot, &ioh, NULL, &iosize) == 0);
214 sc->rtk_bsize = iosize;
H A Dif_rtk_pci.c160 bus_size_t iosize, memsize; local
191 &iot, &ioh, NULL, &iosize) == 0);
197 sc->rtk_bsize = iosize;
H A Dalipm.c139 bus_size_t iosize = ALIPM_SMB_SIZE; local
149 iosize, 0, &sc->sc_ioh)) {
168 &sc->sc_iot, &sc->sc_ioh, NULL, &iosize)) {
219 bus_space_unmap(sc->sc_iot, sc->sc_ioh, iosize);
H A Di82365_pci.c149 sc->iosize = 0xbff;
H A Dgtp.c148 bus_size_t iosize; local
155 &sc->tea.ioh, NULL, &iosize)) {
H A Dichsmb.c124 bus_size_t iosize; local
143 &sc->sc_iot, &sc->sc_ioh, NULL, &iosize)) {
/netbsd-6-1-5-RELEASE/sys/ufs/lfs/
H A Dlfs_balloc.c111 lfs_balloc(struct vnode *vp, off_t startoffset, int iosize, kauth_cred_t cred, argument
127 KASSERT(iosize <= fs->lfs_bsize);
172 * block in the file, and offset + iosize is less than a full
180 nsize = fragroundup(fs, offset + iosize);
351 if (iosize == fs->lfs_bsize)
/netbsd-6-1-5-RELEASE/sys/arch/alpha/pci/
H A Dpci_bwx_bus_io_chipdep.c360 bus_size_t iosize,
371 error = __C(CHIP,_io_translate)(v, ioaddr, iosize, flags, &abst);
379 printf("io: allocating 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1);
381 error = extent_alloc_region(CHIP_IO_EXTENT(v), ioaddr, iosize,
401 bus_size_t iosize,
411 printf("io: freeing handle 0x%lx for 0x%lx\n", ioh, iosize);
417 printf("io: freeing 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1);
419 error = extent_free(CHIP_IO_EXTENT(v), ioaddr, iosize,
423 __S(__C(CHIP,_io_unmap)), ioaddr, ioaddr + iosize - 1,
H A Dpci_swiz_bus_io_chipdep.c418 __C(CHIP,_io_map)(void *v, bus_addr_t ioaddr, bus_size_t iosize,
427 error = __C(CHIP,_io_translate)(v, ioaddr, iosize, flags, &abst);
435 printf("io: allocating 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1);
437 error = extent_alloc_region(CHIP_IO_EXTENT(v), ioaddr, iosize,
456 bus_size_t iosize, int acct)
465 printf("io: freeing handle 0x%lx for 0x%lx\n", ioh, iosize);
501 printf("io: freeing 0x%lx to 0x%lx\n", ioaddr, ioaddr + iosize - 1);
503 error = extent_free(CHIP_IO_EXTENT(v), ioaddr, iosize,
507 __S(__C(CHIP,_io_unmap)), ioaddr, ioaddr + iosize - 1,
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/vr/
H A Dvrecu.c148 sc->iosize = 0xbff;
157 sc->iosize = 0x10000;
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Di82365var.h149 bus_addr_t iosize; member in struct:pcic_softc

Completed in 225 milliseconds

12