| /freebsd-14.2/sys/dev/bhnd/ |
| H A D | bhnd_erom.c | 73 struct bhnd_erom_io eio; member 173 struct bhnd_erom_io *eio) in bhnd_erom_alloc() argument 328 return (eio->map(eio, addr, size)); in bhnd_erom_io_map() 345 return (eio->tell(eio, addr, size)); in bhnd_erom_io_tell() 359 return (eio->read(eio, offset, width)); in bhnd_erom_io_read() 368 if (eio->fini != NULL) in bhnd_erom_io_fini() 369 return (eio->fini(eio)); in bhnd_erom_io_fini() 386 iores->eio.map = bhnd_erom_iores_map; in bhnd_erom_iores_new() 396 return (&iores->eio); in bhnd_erom_iores_new() 491 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-14.2/sys/dev/bhnd/siba/ |
| H A D | siba_erom.c | 56 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() 195 io->eio = eio; in siba_eio_init() 220 return (bhnd_erom_io_read(io->eio, SIBA_CORE_OFFSET(core_idx) + offset, in siba_eio_read_4() [all …]
|
| H A D | siba.c | 1284 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.2/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 | 520 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.2/sys/dev/bhnd/bcma/ |
| H A D | bcma_erom.c | 111 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()
|
| H A D | bcma.c | 660 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.2/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 | lseek.cc | 155 TEST_F(LseekPathconf, eio) in TEST_F() argument
|
| H A D | readdir.cc | 118 TEST_F(Readdir, eio) in TEST_F() argument
|
| H A D | fallocate.cc | 625 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-14.2/sys/vm/ |
| H A D | vm_pageout.c | 470 boolean_t *eio) in vm_pageout_flush() argument 502 if (eio != NULL) in vm_pageout_flush() 503 *eio = FALSE; in vm_pageout_flush() 553 if (eio != NULL && i >= mreq && i - mreq < runlen) in vm_pageout_flush() 554 *eio = TRUE; in vm_pageout_flush()
|
| H A D | vm_object.c | 117 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()
|