| /freebsd-13.1/sys/dev/bhnd/ |
| H A D | bhnd_erom.c | 75 struct bhnd_erom_io eio; member 175 struct bhnd_erom_io *eio) in bhnd_erom_alloc() argument 330 return (eio->map(eio, addr, size)); in bhnd_erom_io_map() 347 return (eio->tell(eio, addr, size)); in bhnd_erom_io_tell() 361 return (eio->read(eio, offset, width)); in bhnd_erom_io_read() 370 if (eio->fini != NULL) in bhnd_erom_io_fini() 371 return (eio->fini(eio)); in bhnd_erom_io_fini() 388 iores->eio.map = bhnd_erom_iores_map; in bhnd_erom_iores_new() 398 return (&iores->eio); in bhnd_erom_iores_new() 493 free(eio, M_BHND); in bhnd_erom_iores_fini() [all …]
|
| H A D | bhnd_erom.h | 55 struct bhnd_erom_io *eio, 61 struct bhnd_erom_io *eio); 66 struct bhnd_erom_io *eio); 77 int bhnd_erom_io_map(struct bhnd_erom_io *eio, 79 int bhnd_erom_io_tell(struct bhnd_erom_io *eio, 81 uint32_t bhnd_erom_io_read(struct bhnd_erom_io *eio, 83 void bhnd_erom_io_fini(struct bhnd_erom_io *eio); 145 bhnd_erom_probe(bhnd_erom_class_t *cls, struct bhnd_erom_io *eio, in bhnd_erom_probe() argument 148 return (BHND_EROM_PROBE(cls, eio, hint, cid)); in bhnd_erom_probe()
|
| H A D | bhnd_eromvar.h | 47 typedef int (bhnd_erom_io_map_t)(struct bhnd_erom_io *eio, 51 typedef int (bhnd_erom_io_tell_t)(struct bhnd_erom_io *eio, 55 typedef uint32_t (bhnd_erom_io_read_t)(struct bhnd_erom_io *eio, 59 typedef void (bhnd_erom_io_fini_t)(struct bhnd_erom_io *eio); 61 int bhnd_erom_read_chipid(struct bhnd_erom_io *eio, 78 struct bhnd_erom_io eio; member
|
| H A D | bhnd_erom_if.m | 61 * @param eio A bus I/O instance, configured with a mapping of 81 struct bhnd_erom_io *eio; 91 * @param eio The bus I/O instance to use when reading the device 101 struct bhnd_erom_io *eio;
|
| /freebsd-13.1/sys/dev/bhnd/siba/ |
| H A D | siba_erom.c | 58 struct bhnd_erom_io *eio, u_int ncores); 75 struct bhnd_erom_io *eio; /**< erom I/O callbacks */ member 94 siba_erom_probe(bhnd_erom_class_t *cls, struct bhnd_erom_io *eio, in siba_erom_probe() argument 102 if ((error = siba_eio_init(&io, eio, 1))) in siba_erom_probe() 164 struct bhnd_erom_io *eio) in siba_erom_init() argument 172 error = bhnd_erom_io_map(eio, cid->enum_addr, in siba_erom_init() 181 return (siba_eio_init(&sc->io, eio, cid->ncores)); in siba_erom_init() 190 bhnd_erom_io_fini(sc->io.eio); in siba_erom_fini() 197 io->eio = eio; in siba_eio_init() 222 return (bhnd_erom_io_read(io->eio, SIBA_CORE_OFFSET(core_idx) + offset, in siba_eio_read_4() [all …]
|
| H A D | siba.c | 1286 struct bhnd_erom_io *eio; in siba_add_children() local 1295 eio = bhnd_erom_iores_new(dev, SIBA_EROM_RID); in siba_add_children() 1296 erom = bhnd_erom_alloc(&siba_erom_parser, cid, eio); in siba_add_children() 1298 bhnd_erom_io_fini(eio); in siba_add_children()
|
| /freebsd-13.1/sys/dev/bhnd/bhndb/ |
| H A D | bhndb_pci.c | 148 struct bhnd_erom_io eio; member 1291 struct bhnd_erom_io *eio; in bhndb_pci_probe_alloc() local 1298 eio = NULL; in bhndb_pci_probe_alloc() 1312 eio = &p->erom_io.eio; in bhndb_pci_probe_alloc() 1352 eio = NULL; in bhndb_pci_probe_alloc() 1378 if (eio != NULL) { in bhndb_pci_probe_alloc() 1382 bhnd_erom_io_fini(eio); in bhndb_pci_probe_alloc() 1671 pio->eio.map = bhndb_pci_eio_map; in bhndb_pci_eio_init() 1672 pio->eio.tell = bhndb_pci_eio_tell; in bhndb_pci_eio_init() 1673 pio->eio.read = bhndb_pci_eio_read; in bhndb_pci_eio_init() [all …]
|
| H A D | bhndb.c | 530 struct bhnd_erom_io *eio; in bhndb_attach() local 584 eio = bhnd_erom_iores_new(sc->bus_dev, 0); in bhndb_attach() 585 if ((erom = bhnd_erom_alloc(erom_class, cid, eio)) == NULL) { in bhndb_attach() 586 bhnd_erom_io_fini(eio); in bhndb_attach()
|
| /freebsd-13.1/sys/mips/broadcom/ |
| H A D | bcm_machdep.c | 114 struct bhnd_erom_io *eio, struct bhnd_chipid *cid); 271 bhnd_erom_t *erom, size_t esize, struct bhnd_erom_io *eio, in bcm_erom_probe_and_attach() argument 283 if ((error = bhnd_erom_io_map(eio, bus_addr, BHND_DEFAULT_CORE_SIZE))) { in bcm_erom_probe_and_attach() 302 result = bhnd_erom_probe(cls, eio, NULL, &pcid); in bcm_erom_probe_and_attach() 336 error = bhnd_erom_init_static(*erom_cls, erom, esize, cid, eio); in bcm_erom_probe_and_attach() 384 &bp->erom.obj, sizeof(bp->erom), &bp->erom_io.eio, &bp->cid); in bcm_init_platform_data() 387 bhnd_erom_io_fini(&bp->erom_io.eio); in bcm_init_platform_data()
|
| /freebsd-13.1/sys/dev/bhnd/bcma/ |
| H A D | bcma_erom.c | 113 struct bhnd_erom_io *eio; /**< bus I/O callbacks */ member 141 struct bhnd_erom_io *eio) in bcma_erom_init() argument 148 sc->eio = eio; in bcma_erom_init() 158 error = bhnd_erom_io_map(sc->eio, table_addr, BCMA_EROM_TABLE_SIZE); in bcma_erom_init() 167 bcma_erom_probe(bhnd_erom_class_t *cls, struct bhnd_erom_io *eio, in bcma_erom_probe() argument 178 if ((error = bhnd_erom_read_chipid(eio, cid))) in bcma_erom_probe() 200 bhnd_erom_io_fini(sc->eio); in bcma_erom_fini() 485 *entry = bhnd_erom_io_read(erom->eio, erom->offset, 4); in bcma_erom_peek32()
|
| H A D | bcma.c | 662 struct bhnd_erom_io *eio; in bcma_add_children() local 673 eio = bhnd_erom_iores_new(bus, BCMA_EROM_RID); in bcma_add_children() 674 erom = bhnd_erom_alloc(&bcma_erom_parser, cid, eio); in bcma_add_children() 676 bhnd_erom_io_fini(eio); in bcma_add_children()
|
| /freebsd-13.1/tests/sys/fs/fusefs/ |
| H A D | fsyncdir.cc | 114 TEST_F(FsyncDir, eio) in TEST_F() argument
|
| H A D | statfs.cc | 46 TEST_F(Statfs, eio) in TEST_F() argument
|
| H A D | flush.cc | 122 TEST_F(Flush, eio) in TEST_F() argument
|
| H A D | release.cc | 107 TEST_F(Release, eio) in TEST_F() argument
|
| H A D | fallocate.cc | 143 TEST_F(PosixFallocate, eio) in TEST_F() argument
|
| H A D | fsync.cc | 166 TEST_F(Fsync, eio) in TEST_F() argument
|
| H A D | readdir.cc | 120 TEST_F(Readdir, eio) in TEST_F() argument
|
| H A D | copy_file_range.cc | 140 TEST_F(CopyFileRange, eio) in TEST_F() argument
|
| H A D | read.cc | 588 TEST_F(Read, eio) in TEST_F() argument
|
| /freebsd-13.1/sys/vm/ |
| H A D | vm_pageout.c | 472 boolean_t *eio) in vm_pageout_flush() argument 504 if (eio != NULL) in vm_pageout_flush() 505 *eio = FALSE; in vm_pageout_flush() 555 if (eio != NULL && i >= mreq && i - mreq < runlen) in vm_pageout_flush() 556 *eio = TRUE; in vm_pageout_flush()
|
| H A D | vm_object.c | 118 boolean_t *eio); 1053 boolean_t eio, res, allclean; in vm_object_page_clean() local 1092 flags, &allclean, &eio); in vm_object_page_clean() 1093 if (eio) { in vm_object_page_clean() 1139 int flags, boolean_t *allclean, boolean_t *eio) in vm_object_page_collect_flush() argument 1176 vm_pageout_flush(ma, count, pagerflags, mreq, &runlen, eio); in vm_object_page_collect_flush()
|