Searched refs:MASK_AND_RSHIFT (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/io/rtw/ |
H A D | rtwphyio.c | 58 return (MASK_AND_RSHIFT(RTW_READ(regs, RTW_BB), RTW_BB_RD_MASK)); in rtw_bbp_read() 87 if (MASK_AND_RSHIFT(RTW_READ(regs, RTW_BB), in rtw_bbp_write() 287 lodata = MASK_AND_RSHIFT(val, RTW_MAXIM_LODATA_MASK); in rtw_maxim_swizzle() 288 hidata = MASK_AND_RSHIFT(val, RTW_MAXIM_HIDATA_MASK); in rtw_maxim_swizzle()
|
H A D | rtw.c | 728 *rcr |= LSHIFT(MASK_AND_RSHIFT(RTW_SR_GET(sr, RTW_SR_RFPARM), in rtw_srom_parse() 1003 *addr = MASK_AND_RSHIFT(idr0, BITS(0, 7)); in rtw_identify_sta() 1004 *(addr + 1) = MASK_AND_RSHIFT(idr0, BITS(8, 15)); in rtw_identify_sta() 1005 *(addr + 2) = MASK_AND_RSHIFT(idr0, BITS(16, 23)); in rtw_identify_sta() 1006 *(addr + 3) = MASK_AND_RSHIFT(idr0, BITS(24, 31)); in rtw_identify_sta() 1008 *(addr + 4) = MASK_AND_RSHIFT(idr1, BITS(0, 7)); in rtw_identify_sta() 1009 *(addr + 5) = MASK_AND_RSHIFT(idr1, BITS(8, 15)); in rtw_identify_sta() 2622 len = MASK_AND_RSHIFT(hstat, RTW_RXSTAT_LENGTH_MASK); in rtw_intr_rx() 2628 hwrate = MASK_AND_RSHIFT(hstat, RTW_RXSTAT_RATE_MASK); in rtw_intr_rx() 2646 rssi = MASK_AND_RSHIFT(hrssi, RTW_RXRSSI_RSSI); in rtw_intr_rx() [all …]
|
H A D | rtwreg.h | 89 #define MASK_AND_RSHIFT(x, mask) (((x) & (mask)) >> MASK_TO_SHIFT(mask)) macro 92 #define PRESHIFT(m) MASK_AND_RSHIFT((m), (m))
|