Home
last modified time | relevance | path

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

/freebsd/sys/dev/bhnd/
H A Dbhnd_erom.c52 static int bhnd_erom_iores_map(struct bhnd_erom_io *eio, bhnd_addr_t addr,
54 static int bhnd_erom_iores_tell(struct bhnd_erom_io *eio,
56 static uint32_t bhnd_erom_iores_read(struct bhnd_erom_io *eio,
58 static void bhnd_erom_iores_fini(struct bhnd_erom_io *eio);
60 static int bhnd_erom_iobus_map(struct bhnd_erom_io *eio, bhnd_addr_t addr,
62 static int bhnd_erom_iobus_tell(struct bhnd_erom_io *eio,
64 static uint32_t bhnd_erom_iobus_read(struct bhnd_erom_io *eio,
72 struct bhnd_erom_io eio; member
100 struct bhnd_erom_io *eio, const struct bhnd_chipid *hint, in bhnd_erom_probe_driver_classes() argument
134 result = bhnd_erom_probe(cls, eio, hint, &pcid); in bhnd_erom_probe_driver_classes()
[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()
192 siba_eio_init(struct siba_erom_io *io, struct bhnd_erom_io *eio, u_int ncores) in siba_eio_init() argument
194 io->eio = eio; in siba_eio_init()
[all …]
H A Dsiba.c1282 struct bhnd_erom_io *eio; in siba_add_children() local
1291 eio = bhnd_erom_iores_new(dev, SIBA_EROM_RID); in siba_add_children()
1292 erom = bhnd_erom_alloc(&siba_erom_parser, cid, eio); in siba_add_children()
1294 bhnd_erom_io_fini(eio); in siba_add_children()
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_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
1288 struct bhnd_erom_io *eio; in bhndb_pci_probe_alloc() local
1295 eio = NULL; in bhndb_pci_probe_alloc()
1309 eio = &p->erom_io.eio; in bhndb_pci_probe_alloc()
1323 error = bhnd_erom_io_map(eio, BHND_DEFAULT_CHIPC_ADDR, in bhndb_pci_probe_alloc()
1330 device_get_devclass(dev), eio, hint, &p->cid); in bhndb_pci_probe_alloc()
[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.c658 struct bhnd_erom_io *eio; in bcma_add_children() local
669 eio = bhnd_erom_iores_new(bus, BCMA_EROM_RID); in bcma_add_children()
670 erom = bhnd_erom_alloc(&bcma_erom_parser, cid, eio); in bcma_add_children()
672 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 Dlseek.cc157 TEST_F(LseekPathconf, eio) in TEST_F() argument
H A Dfallocate.cc625 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.cc642 TEST_F(Read, eio) in TEST_F() argument
/freebsd/sys/vm/
H A Dvm_pageout.c443 boolean_t *eio) in vm_pageout_flush() argument
475 if (eio != NULL) in vm_pageout_flush()
476 *eio = FALSE; in vm_pageout_flush()
526 if (eio != NULL && i >= mreq && i - mreq < runlen) in vm_pageout_flush()
527 *eio = TRUE; in vm_pageout_flush()
H A Dvm_object.c115 boolean_t *eio);
1038 boolean_t eio, res, allclean; in vm_object_page_clean() local
1077 flags, &allclean, &eio); in vm_object_page_clean()
1078 if (eio) { in vm_object_page_clean()
1124 int flags, boolean_t *allclean, boolean_t *eio) in vm_object_page_collect_flush() argument
1157 &runlen, eio); in vm_object_page_collect_flush()