Lines Matching refs:rt2x00_get_field32
117 *value = rt2x00_get_field32(reg, PHY_CSR3_VALUE);
183 eeprom->reg_data_in = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_IN);
184 eeprom->reg_data_out = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_OUT);
186 !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_CLOCK);
188 !!rt2x00_get_field32(reg, E2PROM_CSR_CHIP_SELECT);
246 return rt2x00_get_field32(reg, MAC_CSR13_BIT5);
1014 qual->rx_failed = rt2x00_get_field32(reg, STA_CSR0_FCS_ERROR);
1020 qual->false_cca = rt2x00_get_field32(reg, STA_CSR1_FALSE_CCA_ERROR);
1234 if (rt2x00_get_field32(reg, MCU_CNTL_CSR_READY))
1280 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC);
1284 return (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) ||
1285 rt2x00_get_field32(word, TXD_W0_VALID));
1709 state = rt2x00_get_field32(reg2, MAC_CSR12_BBP_CURRENT_STATE);
1955 lna = rt2x00_get_field32(rxd_w1, RXD_W1_RSSI_LNA);
1975 return rt2x00_get_field32(rxd_w1, RXD_W1_RSSI_AGC) * 2 - offset;
1989 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR))
1992 rxdesc->cipher = rt2x00_get_field32(word0, RXD_W0_CIPHER_ALG);
1993 rxdesc->cipher_status = rt2x00_get_field32(word0, RXD_W0_CIPHER_ERROR);
2024 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL);
2026 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
2028 if (rt2x00_get_field32(word0, RXD_W0_OFDM))
2032 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS))
2063 if (!rt2x00_get_field32(reg, STA_CSR4_VALID))
2070 type = rt2x00_get_field32(reg, STA_CSR4_PID_TYPE);
2079 index = rt2x00_get_field32(reg, STA_CSR4_PID_SUBTYPE);
2087 if (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) ||
2088 !rt2x00_get_field32(word, TXD_W0_VALID))
2112 switch (rt2x00_get_field32(reg, STA_CSR4_TX_RESULT)) {
2122 txdesc.retry = rt2x00_get_field32(reg, STA_CSR4_RETRY_COUNT);
2158 if (rt2x00_get_field32(reg, INT_SOURCE_CSR_RXDONE))
2164 if (rt2x00_get_field32(reg, INT_SOURCE_CSR_TXDONE))
2177 if (rt2x00_get_field32(reg_mcu, MCU_INT_SOURCE_CSR_TWAKEUP))
2183 if (rt2x00_get_field32(reg, INT_SOURCE_CSR_BEACON_DONE))
2241 eeprom.width = rt2x00_get_field32(reg, E2PROM_CSR_TYPE_93C46) ?
2355 rt2x00_set_chip(rt2x00dev, rt2x00_get_field32(reg, MAC_CSR0_CHIPSET),
2356 value, rt2x00_get_field32(reg, MAC_CSR0_REVISION));
2787 tsf = (u64) rt2x00_get_field32(reg, TXRX_CSR13_HIGH_TSFTIMER) << 32;
2789 tsf |= rt2x00_get_field32(reg, TXRX_CSR12_LOW_TSFTIMER);