Searched refs:RTW_SR_GET (Results 1 – 2 of 2) sorted by relevance
/netbsd/sys/dev/ic/ |
H A D | rtwvar.h | 156 #define RTW_SR_GET(sr, ofs) \ macro 160 (RTW_SR_GET((sr), (ofs)) | (RTW_SR_GET((sr), (ofs) + 1) << 8))
|
H A D | rtw.c | 849 mac[i] = RTW_SR_GET(sr, RTW_SR_MAC + i); in rtw_srom_parse() 855 *cs_threshold = RTW_SR_GET(sr, RTW_SR_ENERGYDETTHR); in rtw_srom_parse() 857 if ((RTW_SR_GET(sr, RTW_SR_CONFIG2) & RTW_CONFIG2_ANT) != 0) in rtw_srom_parse() 863 if ((RTW_SR_GET(sr, RTW_SR_RFPARM) & RTW_SR_RFPARM_DIGPHY) == 0) in rtw_srom_parse() 865 if ((RTW_SR_GET(sr, RTW_SR_RFPARM) & RTW_SR_RFPARM_DFLANTB) != 0) in rtw_srom_parse() 868 *rcr |= __SHIFTIN(__SHIFTOUT(RTW_SR_GET(sr, RTW_SR_RFPARM), in rtw_srom_parse() 871 if ((RTW_SR_GET(sr, RTW_SR_CONFIG0) & RTW_CONFIG0_WEP104) != 0) in rtw_srom_parse() 876 *rfchipid = RTW_SR_GET(sr, RTW_SR_RFCHIPID); in rtw_srom_parse() 912 switch (RTW_SR_GET(sr, RTW_SR_CONFIG0) & RTW_CONFIG0_GL_MASK) { in rtw_srom_parse() 1153 return RTW_SR_GET(sr, idx); in rtw_chan2txpower()
|