Lines Matching refs:sprom_win
580 const struct bhndb_regwin *sprom_win;
585 sprom_win = bhndb_regwin_find_type(cfg->register_windows,
588 return (sprom_win);
594 const struct bhndb_regwin *sprom_win;
598 sprom_win = bhndb_pci_sprom_regwin(sc);
599 KASSERT(sprom_win != NULL, ("requested sprom address on PCI_V2+"));
602 r = bhndb_host_resource_for_regwin(sc->bhndb.bus_res->res, sprom_win);
605 return (rman_get_start(r) + sprom_win->win_offset);
611 const struct bhndb_regwin *sprom_win;
615 sprom_win = bhndb_pci_sprom_regwin(sc);
618 if (sprom_win == NULL)
648 sprom_sz = MIN(sprom_sz, sprom_win->win_size);