Lines Matching defs:sprom_win
577 const struct bhndb_regwin *sprom_win;
582 sprom_win = bhndb_regwin_find_type(cfg->register_windows,
585 return (sprom_win);
591 const struct bhndb_regwin *sprom_win;
595 sprom_win = bhndb_pci_sprom_regwin(sc);
596 KASSERT(sprom_win != NULL, ("requested sprom address on PCI_V2+"));
599 r = bhndb_host_resource_for_regwin(sc->bhndb.bus_res->res, sprom_win);
602 return (rman_get_start(r) + sprom_win->win_offset);
608 const struct bhndb_regwin *sprom_win;
612 sprom_win = bhndb_pci_sprom_regwin(sc);
615 if (sprom_win == NULL)
645 sprom_sz = MIN(sprom_sz, sprom_win->win_size);