Home
last modified time | relevance | path

Searched refs:sc_srom (Results 1 – 10 of 10) sorted by relevance

/netbsd/sys/dev/pci/
H A Dif_tlp_pci.c632 sc->sc_srom[i] = val >> 8; in tlp_pci_attach()
633 sc->sc_srom[i + 1] = val & 0xff; in tlp_pci_attach()
667 sc->sc_srom[i]); in tlp_pci_attach()
680 sc->sc_srom = psc->sc_master->sc_tulip.sc_srom; in tlp_pci_attach()
866 memcpy(enaddr, &sc->sc_srom[sc->sc_srom[0x70]], ETHER_ADDR_LEN); in tlp_pci_attach()
1131 if (sc->sc_srom[32] == 0x4a && sc->sc_srom[33] == 0x52) { in tlp_pci_znyx_21040_quirks()
1132 id = sc->sc_srom[37] | (sc->sc_srom[36] << 8); in tlp_pci_znyx_21040_quirks()
1243 id1 = sc->sc_srom[0x60] | (sc->sc_srom[0x61] << 8); in tlp_pci_smc_21040_quirks()
1244 id2 = sc->sc_srom[0x62] | (sc->sc_srom[0x63] << 8); in tlp_pci_smc_21040_quirks()
1245 ei = sc->sc_srom[0x66] | (sc->sc_srom[0x67] << 8); in tlp_pci_smc_21040_quirks()
[all …]
/netbsd/sys/dev/ic/
H A Dtulip.c656 if (sc->sc_srom) in tlp_detach()
657 free(sc->sc_srom, M_DEVBUF); in tlp_detach()
2421 if (memcmp(&sc->sc_srom[0], &sc->sc_srom[16], 8) != 0) { in tlp_parse_old_srom()
2431 memcmp(&sc->sc_srom[0], &sc->sc_srom[20], 6) == 0) { in tlp_parse_old_srom()
2448 memcmp(&sc->sc_srom[20], &sc->sc_srom[84], 6) == 0) { in tlp_parse_old_srom()
2476 sc->sc_srom[i] != 0) in tlp_parse_old_srom()
2487 if (sc->sc_srom[0] & 3) in tlp_parse_old_srom()
2489 if (sc->sc_srom[0] == 0 && sc->sc_srom[1] == 0 && in tlp_parse_old_srom()
2490 sc->sc_srom[2] == 0) in tlp_parse_old_srom()
2505 if (sc->sc_srom[i] != sc->sc_srom[15 - i]) in tlp_parse_old_srom()
[all …]
H A Datw.c399 free(sc->sc_srom, M_DEVBUF); in atw_read_srom()
410 ATW_DPRINTF((" 0x%x", sc->sc_srom[i])); in atw_read_srom()
620 sc->sc_rftype = __SHIFTOUT(sc->sc_srom[ATW_SR_CSR20], in atw_attach()
687 htole16(sc->sc_srom[ATW_SR_MAC00]), in atw_attach()
688 htole16(sc->sc_srom[ATW_SR_MAC01]), in atw_attach()
689 htole16(sc->sc_srom[ATW_SR_MAC10]))); in atw_attach()
698 __SHIFTOUT(sc->sc_srom[ATW_SR_CR28_CR03], in atw_attach()
1719 txpower = sc->sc_srom[ATW_SR_TXPOWER(chan)]; in atw_rf3000_tune()
1720 lpf_cutoff = sc->sc_srom[ATW_SR_LPF_CUTOFF(chan)]; in atw_rf3000_tune()
2728 if (sc->sc_srom) in atw_detach()
[all …]
H A Datwvar.h202 u_int16_t *sc_srom; member
H A Dtulipvar.h340 uint8_t *sc_srom; member
H A Drtwvar.h488 struct rtw_srom sc_srom; member
H A Drtw.c2538 rtw_chan2txpower(&sc->sc_srom, ic, ic->ic_curchan), sc->sc_csthr, in rtw_tune()
4166 if (rtw_srom_read(&sc->sc_regs, sc->sc_flags, &sc->sc_srom, in rtw_attach()
4172 if (rtw_srom_parse(&sc->sc_srom, &sc->sc_flags, &sc->sc_csthr, in rtw_attach()
4285 rtw_srom_free(&sc->sc_srom); in rtw_detach()
/netbsd/sys/dev/eisa/
H A Dif_tlp_eisa.c224 sc->sc_srom = malloc(32, M_DEVBUF, M_WAITOK|M_ZERO); in tlp_eisa_attach()
226 sc->sc_srom[i] = bus_space_read_1(iot, ioh, DE425_ENETROM); in tlp_eisa_attach()
/netbsd/sys/arch/newsmips/apbus/
H A Dif_tlp_ap.c212 enaddr[i] = sc->sc_srom[0x11 + i * 2]; in tlp_ap_attach()
/netbsd/sys/dev/cardbus/
H A Dif_tlp_cardbus.c392 memcpy(enaddr, &sc->sc_srom[8], ETHER_ADDR_LEN); in tlp_cardbus_attach()