Home
last modified time | relevance | path

Searched refs:eio (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/dev/bhnd/
H A Dbhnd_erom.c72 struct bhnd_erom_io eio; member
172 struct bhnd_erom_io *eio) in bhnd_erom_alloc() argument
327 return (eio->map(eio, addr, size)); in bhnd_erom_io_map()
344 return (eio->tell(eio, addr, size)); in bhnd_erom_io_tell()
358 return (eio->read(eio, offset, width)); in bhnd_erom_io_read()
367 if (eio->fini != NULL) in bhnd_erom_io_fini()
368 return (eio->fini(eio)); in bhnd_erom_io_fini()
385 iores->eio.map = bhnd_erom_iores_map; in bhnd_erom_iores_new()
395 return (&iores->eio); in bhnd_erom_iores_new()
490 free(eio, M_BHND); in bhnd_erom_iores_fini()
[all …]
H A Dbhnd_erom.h54 struct bhnd_erom_io *eio,
60 struct bhnd_erom_io *eio);
65 struct bhnd_erom_io *eio);
76 int bhnd_erom_io_map(struct bhnd_erom_io *eio,
78 int bhnd_erom_io_tell(struct bhnd_erom_io *eio,
80 uint32_t bhnd_erom_io_read(struct bhnd_erom_io *eio,
82 void bhnd_erom_io_fini(struct bhnd_erom_io *eio);
144 bhnd_erom_probe(bhnd_erom_class_t *cls, struct bhnd_erom_io *eio, in bhnd_erom_probe() argument
147 return (BHND_EROM_PROBE(cls, eio, hint, cid)); in bhnd_erom_probe()
H A Dbhnd_eromvar.h46 typedef int (bhnd_erom_io_map_t)(struct bhnd_erom_io *eio,
50 typedef int (bhnd_erom_io_tell_t)(struct bhnd_erom_io *eio,
54 typedef uint32_t (bhnd_erom_io_read_t)(struct bhnd_erom_io *eio,
58 typedef void (bhnd_erom_io_fini_t)(struct bhnd_erom_io *eio);
60 int bhnd_erom_read_chipid(struct bhnd_erom_io *eio,
77 struct bhnd_erom_io eio; member
H A Dbhnd_erom_if.m60 * @param eio A bus I/O instance, configured with a mapping of
80 struct bhnd_erom_io *eio;
90 * @param eio The bus I/O instance to use when reading the device
100 struct bhnd_erom_io *eio;
/freebsd/sys/dev/bhnd/siba/
H A Dsiba_erom.c55 struct bhnd_erom_io *eio, u_int ncores);
72 struct bhnd_erom_io *eio; /**< erom I/O callbacks */ member
91 siba_erom_probe(bhnd_erom_class_t *cls, struct bhnd_erom_io *eio, in siba_erom_probe() argument
99 if ((error = siba_eio_init(&io, eio, 1))) in siba_erom_probe()
161 struct bhnd_erom_io *eio) in siba_erom_init() argument
169 error = bhnd_erom_io_map(eio, cid->enum_addr, in siba_erom_init()
178 return (siba_eio_init(&sc->io, eio, cid->ncores)); in siba_erom_init()
187 bhnd_erom_io_fini(sc->io.eio); in siba_erom_fini()
194 io->eio = eio; in siba_eio_init()
219 return (bhnd_erom_io_read(io->eio, SIBA_CORE_OFFSET(core_idx) + offset, in siba_eio_read_4()
[all …]
H A Dsiba.c1283 struct bhnd_erom_io *eio; in siba_add_children() local
1292 eio = bhnd_erom_iores_new(dev, SIBA_EROM_RID); in siba_add_children()
1293 erom = bhnd_erom_alloc(&siba_erom_parser, cid, eio); in siba_add_children()
1295 bhnd_erom_io_fini(eio); in siba_add_children()
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c146 struct bhnd_erom_io eio; member
1289 struct bhnd_erom_io *eio; in bhndb_pci_probe_alloc() local
1296 eio = NULL; in bhndb_pci_probe_alloc()
1310 eio = &p->erom_io.eio; in bhndb_pci_probe_alloc()
1350 eio = NULL; in bhndb_pci_probe_alloc()
1376 if (eio != NULL) { in bhndb_pci_probe_alloc()
1380 bhnd_erom_io_fini(eio); in bhndb_pci_probe_alloc()
1669 pio->eio.map = bhndb_pci_eio_map; in bhndb_pci_eio_init()
1670 pio->eio.tell = bhndb_pci_eio_tell; in bhndb_pci_eio_init()
1671 pio->eio.read = bhndb_pci_eio_read; in bhndb_pci_eio_init()
[all …]
H A Dbhndb.c518 struct bhnd_erom_io *eio; in bhndb_attach() local
572 eio = bhnd_erom_iores_new(sc->bus_dev, 0); in bhndb_attach()
573 if ((erom = bhnd_erom_alloc(erom_class, cid, eio)) == NULL) { in bhndb_attach()
574 bhnd_erom_io_fini(eio); in bhndb_attach()
/freebsd/sys/dev/bhnd/bcma/
H A Dbcma_erom.c110 struct bhnd_erom_io *eio; /**< bus I/O callbacks */ member
138 struct bhnd_erom_io *eio) in bcma_erom_init() argument
145 sc->eio = eio; in bcma_erom_init()
155 error = bhnd_erom_io_map(sc->eio, table_addr, BCMA_EROM_TABLE_SIZE); in bcma_erom_init()
164 bcma_erom_probe(bhnd_erom_class_t *cls, struct bhnd_erom_io *eio, in bcma_erom_probe() argument
175 if ((error = bhnd_erom_read_chipid(eio, cid))) in bcma_erom_probe()
197 bhnd_erom_io_fini(sc->eio); in bcma_erom_fini()
482 *entry = bhnd_erom_io_read(erom->eio, erom->offset, 4); in bcma_erom_peek32()
H A Dbcma.c659 struct bhnd_erom_io *eio; in bcma_add_children() local
670 eio = bhnd_erom_iores_new(bus, BCMA_EROM_RID); in bcma_add_children()
671 erom = bhnd_erom_alloc(&bcma_erom_parser, cid, eio); in bcma_add_children()
673 bhnd_erom_io_fini(eio); in bcma_add_children()
/freebsd/tests/sys/fs/fusefs/
H A Dfsyncdir.cc112 TEST_F(FsyncDir, eio) in TEST_F() argument
H A Dstatfs.cc44 TEST_F(Statfs, eio) in TEST_F() argument
H A Dflush.cc120 TEST_F(Flush, eio) in TEST_F() argument
H A Drelease.cc105 TEST_F(Release, eio) in TEST_F() argument
H A Dfsync.cc164 TEST_F(Fsync, eio) in TEST_F() argument
H A Dreaddir.cc118 TEST_F(Readdir, eio) in TEST_F() argument
H A Dfallocate.cc574 TEST_F(PosixFallocate, eio) in TEST_F() argument
H A Dcopy_file_range.cc148 TEST_F(CopyFileRange, eio) in TEST_F() argument
H A Dread.cc635 TEST_F(Read, eio) in TEST_F() argument
/freebsd/sys/vm/
H A Dvm_pageout.c468 boolean_t *eio) in vm_pageout_flush() argument
500 if (eio != NULL) in vm_pageout_flush()
501 *eio = FALSE; in vm_pageout_flush()
551 if (eio != NULL && i >= mreq && i - mreq < runlen) in vm_pageout_flush()
552 *eio = TRUE; in vm_pageout_flush()
H A Dvm_object.c112 boolean_t *eio);
1030 boolean_t eio, res, allclean; in vm_object_page_clean() local
1069 flags, &allclean, &eio); in vm_object_page_clean()
1070 if (eio) { in vm_object_page_clean()
1116 int flags, boolean_t *allclean, boolean_t *eio) in vm_object_page_collect_flush() argument
1153 vm_pageout_flush(ma, count, pagerflags, mreq, &runlen, eio); in vm_object_page_collect_flush()