/freebsd/sys/dev/bhnd/ |
H A D | bhnd_erom.c | 72 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 D | bhnd_erom.h | 54 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 D | bhnd_eromvar.h | 46 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 D | bhnd_erom_if.m | 60 * @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 D | siba_erom.c | 55 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 D | siba.c | 1283 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 D | bhndb_pci.c | 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() 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 D | bhndb.c | 518 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 D | bcma_erom.c | 110 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 D | bcma.c | 659 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 D | fsyncdir.cc | 112 TEST_F(FsyncDir, eio) in TEST_F() argument
|
H A D | statfs.cc | 44 TEST_F(Statfs, eio) in TEST_F() argument
|
H A D | flush.cc | 120 TEST_F(Flush, eio) in TEST_F() argument
|
H A D | release.cc | 105 TEST_F(Release, eio) in TEST_F() argument
|
H A D | fsync.cc | 164 TEST_F(Fsync, eio) in TEST_F() argument
|
H A D | readdir.cc | 118 TEST_F(Readdir, eio) in TEST_F() argument
|
H A D | fallocate.cc | 574 TEST_F(PosixFallocate, eio) in TEST_F() argument
|
H A D | copy_file_range.cc | 148 TEST_F(CopyFileRange, eio) in TEST_F() argument
|
H A D | read.cc | 635 TEST_F(Read, eio) in TEST_F() argument
|
/freebsd/sys/vm/ |
H A D | vm_pageout.c | 468 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 D | vm_object.c | 112 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()
|