Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/dev/bhnd/
HDbhnd_erom.c53 static int bhnd_erom_iores_map(struct bhnd_erom_io *eio, bhnd_addr_t addr,
55 static int bhnd_erom_iores_tell(struct bhnd_erom_io *eio,
57 static uint32_t bhnd_erom_iores_read(struct bhnd_erom_io *eio,
59 static void bhnd_erom_iores_fini(struct bhnd_erom_io *eio);
61 static int bhnd_erom_iobus_map(struct bhnd_erom_io *eio, bhnd_addr_t addr,
63 static int bhnd_erom_iobus_tell(struct bhnd_erom_io *eio,
65 static uint32_t bhnd_erom_iobus_read(struct bhnd_erom_io *eio,
73 struct bhnd_erom_io eio; member
101 struct bhnd_erom_io *eio, const struct bhnd_chipid *hint, in bhnd_erom_probe_driver_classes() argument
135 result = bhnd_erom_probe(cls, eio, hint, &pcid); in bhnd_erom_probe_driver_classes()
[all …]
HDbhnd_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()
HDbhnd_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
HDbhnd_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-14-stable/sys/dev/bhnd/siba/
HDsiba_erom.c56 struct bhnd_erom_io *eio, u_int ncores);
73 struct bhnd_erom_io *eio; /**< erom I/O callbacks */ member
92 siba_erom_probe(bhnd_erom_class_t *cls, struct bhnd_erom_io *eio, in siba_erom_probe() argument
100 if ((error = siba_eio_init(&io, eio, 1))) in siba_erom_probe()
162 struct bhnd_erom_io *eio) in siba_erom_init() argument
170 error = bhnd_erom_io_map(eio, cid->enum_addr, in siba_erom_init()
179 return (siba_eio_init(&sc->io, eio, cid->ncores)); in siba_erom_init()
188 bhnd_erom_io_fini(sc->io.eio); in siba_erom_fini()
193 siba_eio_init(struct siba_erom_io *io, struct bhnd_erom_io *eio, u_int ncores) in siba_eio_init() argument
195 io->eio = eio; in siba_eio_init()
[all …]
HDsiba.c1284 struct bhnd_erom_io *eio; in siba_add_children() local
1293 eio = bhnd_erom_iores_new(dev, SIBA_EROM_RID); in siba_add_children()
1294 erom = bhnd_erom_alloc(&siba_erom_parser, cid, eio); in siba_add_children()
1296 bhnd_erom_io_fini(eio); in siba_add_children()
/freebsd-14-stable/sys/dev/bhnd/bhndb/
HDbhndb_pci.c122 static void bhndb_pci_eio_init(struct bhndb_pci_eio *eio,
124 static int bhndb_pci_eio_map(struct bhnd_erom_io *eio,
126 static int bhndb_pci_eio_tell(struct bhnd_erom_io *eio,
128 static uint32_t bhndb_pci_eio_read(struct bhnd_erom_io *eio,
146 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()
1324 error = bhnd_erom_io_map(eio, BHND_DEFAULT_CHIPC_ADDR, in bhndb_pci_probe_alloc()
1331 device_get_devclass(dev), eio, hint, &p->cid); in bhndb_pci_probe_alloc()
[all …]
HDbhndb.c520 struct bhnd_erom_io *eio; in bhndb_attach() local
574 eio = bhnd_erom_iores_new(sc->bus_dev, 0); in bhndb_attach()
575 if ((erom = bhnd_erom_alloc(erom_class, cid, eio)) == NULL) { in bhndb_attach()
576 bhnd_erom_io_fini(eio); in bhndb_attach()
/freebsd-14-stable/sys/dev/bhnd/bcma/
HDbcma_erom.c111 struct bhnd_erom_io *eio; /**< bus I/O callbacks */ member
139 struct bhnd_erom_io *eio) in bcma_erom_init() argument
146 sc->eio = eio; in bcma_erom_init()
156 error = bhnd_erom_io_map(sc->eio, table_addr, BCMA_EROM_TABLE_SIZE); in bcma_erom_init()
165 bcma_erom_probe(bhnd_erom_class_t *cls, struct bhnd_erom_io *eio, in bcma_erom_probe() argument
176 if ((error = bhnd_erom_read_chipid(eio, cid))) in bcma_erom_probe()
198 bhnd_erom_io_fini(sc->eio); in bcma_erom_fini()
483 *entry = bhnd_erom_io_read(erom->eio, erom->offset, 4); in bcma_erom_peek32()
HDbcma.c660 struct bhnd_erom_io *eio; in bcma_add_children() local
671 eio = bhnd_erom_iores_new(bus, BCMA_EROM_RID); in bcma_add_children()
672 erom = bhnd_erom_alloc(&bcma_erom_parser, cid, eio); in bcma_add_children()
674 bhnd_erom_io_fini(eio); in bcma_add_children()
/freebsd-14-stable/tests/sys/fs/fusefs/
HDfsyncdir.cc112 TEST_F(FsyncDir, eio) in TEST_F() argument
HDstatfs.cc44 TEST_F(Statfs, eio) in TEST_F() argument
HDflush.cc120 TEST_F(Flush, eio) in TEST_F() argument
HDrelease.cc105 TEST_F(Release, eio) in TEST_F() argument
HDfsync.cc164 TEST_F(Fsync, eio) in TEST_F() argument
HDreaddir.cc118 TEST_F(Readdir, eio) in TEST_F() argument
HDlseek.cc157 TEST_F(LseekPathconf, eio) in TEST_F() argument
HDfallocate.cc625 TEST_F(PosixFallocate, eio) in TEST_F() argument
HDcopy_file_range.cc148 TEST_F(CopyFileRange, eio) in TEST_F() argument
HDread.cc642 TEST_F(Read, eio) in TEST_F() argument
/freebsd-14-stable/sys/vm/
HDvm_pageout.c485 boolean_t *eio) in vm_pageout_flush() argument
517 if (eio != NULL) in vm_pageout_flush()
518 *eio = FALSE; in vm_pageout_flush()
568 if (eio != NULL && i >= mreq && i - mreq < runlen) in vm_pageout_flush()
569 *eio = TRUE; in vm_pageout_flush()
HDvm_object.c117 boolean_t *eio);
1035 boolean_t eio, res, allclean; in vm_object_page_clean() local
1074 flags, &allclean, &eio); in vm_object_page_clean()
1075 if (eio) { in vm_object_page_clean()
1121 int flags, boolean_t *allclean, boolean_t *eio) in vm_object_page_collect_flush() argument
1158 vm_pageout_flush(ma, count, pagerflags, mreq, &runlen, eio); in vm_object_page_collect_flush()