/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800mmio.c | 114 if (rt2x00_get_field32(word, RXD_W3_CRC_ERROR)) in rt2800mmio_fill_rxdone() 122 rxdesc->cipher_status = rt2x00_get_field32(word, RXD_W3_CIPHER_ERROR); in rt2800mmio_fill_rxdone() 124 if (rt2x00_get_field32(word, RXD_W3_DECRYPTED)) { in rt2800mmio_fill_rxdone() 145 if (rt2x00_get_field32(word, RXD_W3_MY_BSS)) in rt2800mmio_fill_rxdone() 148 if (rt2x00_get_field32(word, RXD_W3_L2PAD)) in rt2800mmio_fill_rxdone() 175 wcid = rt2x00_get_field32(status, TX_STA_FIFO_WCID); in rt2800mmio_txdone_entry_check() 179 tx_wcid = rt2x00_get_field32(word, TXWI_W1_WIRELESS_CLI_ID); in rt2800mmio_txdone_entry_check() 258 qid = rt2x00_get_field32(status, TX_STA_FIFO_PID_QUEUE); in rt2800mmio_txdone() 444 if (!rt2x00_get_field32(status, TX_STA_FIFO_VALID)) in rt2800mmio_txstatus_interrupt() 479 if (rt2x00_get_field32(reg, INT_SOURCE_CSR_TX_FIFO_STATUS)) { in rt2800mmio_interrupt() [all …]
|
D | rt2800pci.c | 74 if ((rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD0) == token) || in rt2800pci_mcu_status() 75 (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD1) == token) || in rt2800pci_mcu_status() 76 (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD2) == token) || in rt2800pci_mcu_status() 77 (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD3) == token)) in rt2800pci_mcu_status() 97 eeprom->reg_data_in = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_IN); in rt2800pci_eepromregister_read() 98 eeprom->reg_data_out = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_OUT); in rt2800pci_eepromregister_read() 100 !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_CLOCK); in rt2800pci_eepromregister_read() 102 !!rt2x00_get_field32(reg, E2PROM_CSR_CHIP_SELECT); in rt2800pci_eepromregister_read() 130 switch (rt2x00_get_field32(reg, E2PROM_CSR_TYPE)) in rt2800pci_read_eeprom_pci()
|
D | rt2400pci.c | 106 *value = rt2x00_get_field32(reg, BBPCSR_VALUE); in rt2400pci_bbp_read() 143 eeprom->reg_data_in = !!rt2x00_get_field32(reg, CSR21_EEPROM_DATA_IN); in rt2400pci_eepromregister_read() 144 eeprom->reg_data_out = !!rt2x00_get_field32(reg, CSR21_EEPROM_DATA_OUT); in rt2400pci_eepromregister_read() 146 !!rt2x00_get_field32(reg, CSR21_EEPROM_DATA_CLOCK); in rt2400pci_eepromregister_read() 148 !!rt2x00_get_field32(reg, CSR21_EEPROM_CHIP_SELECT); in rt2400pci_eepromregister_read() 206 return rt2x00_get_field32(reg, GPIOCSR_VAL0); in rt2400pci_rfkill_poll() 588 qual->rx_failed = rt2x00_get_field32(reg, CNT0_FCS_ERROR); in rt2400pci_link_stats() 730 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); in rt2400pci_get_entry_state() 734 return (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || in rt2400pci_get_entry_state() 735 rt2x00_get_field32(word, TXD_W0_VALID)); in rt2400pci_get_entry_state() [all …]
|
D | rt2800usb.c | 162 valid = rt2x00_get_field32(tx_status, TX_STA_FIFO_VALID); in rt2800usb_tx_sta_fifo_read_completed() 450 if (rt2x00_get_field32(reg, TXRXQ_PCNT_TX0Q)) { in rt2800usb_watchdog() 457 if (!rt2x00_get_field32(reg, TXRXQ_PCNT_TX0Q)) in rt2800usb_watchdog() 465 if (rt2x00_get_field32(reg, TXRXQ_PCNT_TX1Q)) { in rt2800usb_watchdog() 472 if (!rt2x00_get_field32(reg, TXRXQ_PCNT_TX1Q)) in rt2800usb_watchdog() 564 wcid = rt2x00_get_field32(reg, TX_STA_FIFO_WCID); in rt2800usb_txdone_entry_check() 565 ack = rt2x00_get_field32(reg, TX_STA_FIFO_TX_ACK_REQUIRED); in rt2800usb_txdone_entry_check() 566 pid = rt2x00_get_field32(reg, TX_STA_FIFO_PID_TYPE); in rt2800usb_txdone_entry_check() 567 is_agg = rt2x00_get_field32(reg, TX_STA_FIFO_TX_AGGRE); in rt2800usb_txdone_entry_check() 576 tx_wcid = rt2x00_get_field32(word, TXWI_W1_WIRELESS_CLI_ID); in rt2800usb_txdone_entry_check() [all …]
|
D | rt2500pci.c | 106 *value = rt2x00_get_field32(reg, BBPCSR_VALUE); in rt2500pci_bbp_read() 143 eeprom->reg_data_in = !!rt2x00_get_field32(reg, CSR21_EEPROM_DATA_IN); in rt2500pci_eepromregister_read() 144 eeprom->reg_data_out = !!rt2x00_get_field32(reg, CSR21_EEPROM_DATA_OUT); in rt2500pci_eepromregister_read() 146 !!rt2x00_get_field32(reg, CSR21_EEPROM_DATA_CLOCK); in rt2500pci_eepromregister_read() 148 !!rt2x00_get_field32(reg, CSR21_EEPROM_CHIP_SELECT); in rt2500pci_eepromregister_read() 206 return rt2x00_get_field32(reg, GPIOCSR_VAL0); in rt2500pci_rfkill_poll() 626 qual->rx_failed = rt2x00_get_field32(reg, CNT0_FCS_ERROR); in rt2500pci_link_stats() 632 qual->false_cca = rt2x00_get_field32(reg, CNT3_FALSE_CCA); in rt2500pci_link_stats() 819 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); in rt2500pci_get_entry_state() 823 return (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || in rt2500pci_get_entry_state() [all …]
|
D | rt61pci.c | 115 *value = rt2x00_get_field32(reg, PHY_CSR3_VALUE); in rt61pci_bbp_read() 181 eeprom->reg_data_in = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_IN); in rt61pci_eepromregister_read() 182 eeprom->reg_data_out = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_OUT); in rt61pci_eepromregister_read() 184 !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_CLOCK); in rt61pci_eepromregister_read() 186 !!rt2x00_get_field32(reg, E2PROM_CSR_CHIP_SELECT); in rt61pci_eepromregister_read() 244 return rt2x00_get_field32(reg, MAC_CSR13_VAL5); in rt61pci_rfkill_poll() 1017 qual->rx_failed = rt2x00_get_field32(reg, STA_CSR0_FCS_ERROR); in rt61pci_link_stats() 1023 qual->false_cca = rt2x00_get_field32(reg, STA_CSR1_FALSE_CCA_ERROR); in rt61pci_link_stats() 1342 if (rt2x00_get_field32(reg, MCU_CNTL_CSR_READY)) in rt61pci_load_firmware() 1388 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); in rt61pci_get_entry_state() [all …]
|
D | rt73usb.c | 113 *value = rt2x00_get_field32(reg, PHY_CSR3_VALUE); in rt73usb_bbp_read() 189 return rt2x00_get_field32(reg, MAC_CSR13_VAL7); in rt73usb_rfkill_poll() 892 qual->rx_failed = rt2x00_get_field32(reg, STA_CSR0_FCS_ERROR); in rt73usb_link_stats() 898 qual->false_cca = rt2x00_get_field32(reg, STA_CSR1_FALSE_CCA_ERROR); in rt73usb_link_stats() 1405 state = rt2x00_get_field32(reg2, MAC_CSR12_BBP_CURRENT_STATE); in rt73usb_set_state() 1645 lna = rt2x00_get_field32(rxd_w1, RXD_W1_RSSI_LNA); in rt73usb_agc_to_rssi() 1672 return rt2x00_get_field32(rxd_w1, RXD_W1_RSSI_AGC) * 2 - offset; in rt73usb_agc_to_rssi() 1697 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) in rt73usb_fill_rxdone() 1700 rxdesc->cipher = rt2x00_get_field32(word0, RXD_W0_CIPHER_ALG); in rt73usb_fill_rxdone() 1701 rxdesc->cipher_status = rt2x00_get_field32(word0, RXD_W0_CIPHER_ERROR); in rt73usb_fill_rxdone() [all …]
|
D | rt2800lib.c | 137 *value = rt2x00_get_field32(reg, BBP_CSR_CFG_VALUE); in rt2800_bbp_read() 192 *value = rt2x00_get_field32(reg, RF_CSR_CFG_DATA); in rt2800_rfcsr_read() 376 if (rt2x00_get_field32(reg, WLAN_EN)) in rt2800_enable_wlan_rt3290() 394 if (rt2x00_get_field32(reg, PLL_LD) && in rt2800_enable_wlan_rt3290() 395 rt2x00_get_field32(reg, XTAL_RDY)) in rt2800_enable_wlan_rt3290() 493 if (!rt2x00_get_field32(reg, WPDMA_GLO_CFG_TX_DMA_BUSY) && in rt2800_wait_wpdma_ready() 494 !rt2x00_get_field32(reg, WPDMA_GLO_CFG_RX_DMA_BUSY)) in rt2800_wait_wpdma_ready() 678 if (rt2x00_get_field32(reg, PBF_SYS_CTRL_READY)) in rt2800_load_firmware() 772 s8 rssi0 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI0); in rt2800_agc_to_rssi() 773 s8 rssi1 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI1); in rt2800_agc_to_rssi() [all …]
|
D | rt2500usb.c | 1265 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) in rt2500usb_fill_rxdone() 1267 if (rt2x00_get_field32(word0, RXD_W0_PHYSICAL_ERROR)) in rt2500usb_fill_rxdone() 1270 rxdesc->cipher = rt2x00_get_field32(word0, RXD_W0_CIPHER); in rt2500usb_fill_rxdone() 1271 if (rt2x00_get_field32(word0, RXD_W0_CIPHER_ERROR)) in rt2500usb_fill_rxdone() 1294 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL); in rt2500usb_fill_rxdone() 1296 rt2x00_get_field32(word1, RXD_W1_RSSI) - rt2x00dev->rssi_offset; in rt2500usb_fill_rxdone() 1297 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); in rt2500usb_fill_rxdone() 1299 if (rt2x00_get_field32(word0, RXD_W0_OFDM)) in rt2500usb_fill_rxdone() 1303 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) in rt2500usb_fill_rxdone()
|
D | rt2x00mmio.c | 47 if (!rt2x00_get_field32(*reg, field)) in rt2x00mmio_regbusy_read()
|
D | rt2x00reg.h | 264 #define rt2x00_get_field32(__reg, __field) \ macro
|
D | rt2x00usb.c | 149 if (!rt2x00_get_field32(*reg, field)) in rt2x00usb_regbusy_read()
|