Searched refs:TULIP_ROM_SIZE (Results 1 – 4 of 4) sorted by relevance
225 sc->sc_srom = kmem_alloc(TULIP_ROM_SIZE(4), KM_SLEEP); in tlp_eisa_attach()226 for (i = 0; i < TULIP_ROM_SIZE(4); i++) in tlp_eisa_attach()
595 sc->sc_srom = kmem_alloc(TULIP_ROM_SIZE(6), KM_SLEEP); in tlp_pci_attach()597 for (i = 0; i < TULIP_ROM_SIZE(6); i++) { in tlp_pci_attach()611 sc->sc_srom = kmem_zalloc(TULIP_ROM_SIZE(2), KM_SLEEP); in tlp_pci_attach()658 sc->sc_srom = kmem_zalloc(TULIP_ROM_SIZE(6), KM_SLEEP); in tlp_pci_attach()662 for (i = 0; i < TULIP_ROM_SIZE(6); i++) { in tlp_pci_attach()
283 #define TULIP_ROM_SIZE(bits) (2 << (bits)) macro
660 kmem_free(sc->sc_srom, TULIP_ROM_SIZE(sc->sc_srom_addrbits)); in tlp_detach()2191 size = TULIP_ROM_SIZE(sc->sc_srom_addrbits); in tlp_read_srom()