Lines Matching refs:eio
122 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()
1340 p->erom = bhnd_erom_alloc(p->erom_class, &p->cid, eio); in bhndb_pci_probe_alloc()
1349 eio = NULL; in bhndb_pci_probe_alloc()
1375 if (eio != NULL) { in bhndb_pci_probe_alloc()
1379 bhnd_erom_io_fini(eio); in bhndb_pci_probe_alloc()
1668 pio->eio.map = bhndb_pci_eio_map; in bhndb_pci_eio_init()
1669 pio->eio.tell = bhndb_pci_eio_tell; in bhndb_pci_eio_init()
1670 pio->eio.read = bhndb_pci_eio_read; in bhndb_pci_eio_init()
1671 pio->eio.fini = NULL; in bhndb_pci_eio_init()
1681 bhndb_pci_eio_map(struct bhnd_erom_io *eio, bhnd_addr_t addr, in bhndb_pci_eio_map() argument
1684 struct bhndb_pci_eio *pio = (struct bhndb_pci_eio *)eio; in bhndb_pci_eio_map()
1698 bhndb_pci_eio_tell(struct bhnd_erom_io *eio, bhnd_addr_t *addr, in bhndb_pci_eio_tell() argument
1701 struct bhndb_pci_eio *pio = (struct bhndb_pci_eio *)eio; in bhndb_pci_eio_tell()
1714 bhndb_pci_eio_read(struct bhnd_erom_io *eio, bhnd_size_t offset, u_int width) in bhndb_pci_eio_read() argument
1716 struct bhndb_pci_eio *pio = (struct bhndb_pci_eio *)eio; in bhndb_pci_eio_read()