Lines Matching refs:sc_srom
377 sc->sc_srom = malloc(sc->sc_sromsz, M_DEVBUF, M_WAITOK | M_ZERO); in atw_read_srom()
397 if (!read_seeprom(&sd, sc->sc_srom, 0, sc->sc_sromsz/2)) { in atw_read_srom()
399 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()
623 sc->sc_bbptype = __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()
691 srom_major = __SHIFTOUT(sc->sc_srom[ATW_SR_FORMAT_VERSION], in atw_attach()
698 __SHIFTOUT(sc->sc_srom[ATW_SR_CR28_CR03], in atw_attach()
703 sc->sc_rf3000_options2 = __SHIFTOUT(sc->sc_srom[ATW_SR_CTRY_CR29], in atw_attach()
706 country_code = __SHIFTOUT(sc->sc_srom[ATW_SR_CTRY_CR29], 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()
1721 lna_gs_thresh = sc->sc_srom[ATW_SR_LNA_GS_THRESH(chan)]; in atw_rf3000_tune()
2728 if (sc->sc_srom) in atw_detach()
2729 free(sc->sc_srom, M_DEVBUF); in atw_detach()