Searched refs:sc_srom (Results 1 – 4 of 4) sorted by relevance
| /openbsd/src/sys/dev/ic/ |
| D | atw.c | 389 sc->sc_srom = malloc(sc->sc_sromsz, M_DEVBUF, M_NOWAIT | M_ZERO); in atw_read_srom() 390 if (sc->sc_srom == NULL) { in atw_read_srom() 415 if (!read_seeprom(&sd, sc->sc_srom, 0, sc->sc_sromsz/2)) { in atw_read_srom() 417 free(sc->sc_srom, M_DEVBUF, sc->sc_sromsz); in atw_read_srom() 428 ATW_DPRINTF((" 0x%x", sc->sc_srom[i])); in atw_read_srom() 641 sc->sc_rftype = MASK_AND_RSHIFT(sc->sc_srom[ATW_SR_CSR20], in atw_attach() 644 sc->sc_bbptype = MASK_AND_RSHIFT(sc->sc_srom[ATW_SR_CSR20], in atw_attach() 709 htole16(sc->sc_srom[ATW_SR_MAC00]), in atw_attach() 710 htole16(sc->sc_srom[ATW_SR_MAC01]), in atw_attach() 711 htole16(sc->sc_srom[ATW_SR_MAC10]))); in atw_attach() [all …]
|
| D | rtwvar.h | 377 struct rtw_srom sc_srom; member
|
| D | atwvar.h | 208 u_int16_t *sc_srom; member
|
| D | rtw.c | 560 struct rtw_srom *sr = &sc->sc_srom; in rtw_srom_parse() 2143 txpower = RTW_SR_GET(&sc->sc_srom, idx); in rtw_tune() 3956 if (rtw_srom_read(&sc->sc_regs, sc->sc_flags, &sc->sc_srom, in rtw_attach() 4060 sr = &sc->sc_srom; in rtw_attach() 4654 u_int8_t opaque_txpower = rtw_chan2txpower(&sc->sc_srom, ic, in rtw_phy_init()
|