/linux/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2800pci.c | 63 if ((rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD0) == token) || in rt2800pci_mcu_status() 64 (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD1) == token) || in rt2800pci_mcu_status() 65 (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD2) == token) || in rt2800pci_mcu_status() 66 (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD3) == token)) in rt2800pci_mcu_status() 86 eeprom->reg_data_in = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_IN); in rt2800pci_eepromregister_read() 87 eeprom->reg_data_out = !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_OUT); in rt2800pci_eepromregister_read() 89 !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_CLOCK); in rt2800pci_eepromregister_read() 91 !!rt2x00_get_field32(reg, E2PROM_CSR_CHIP_SELECT); in rt2800pci_eepromregister_read() 119 switch (rt2x00_get_field32(reg, E2PROM_CSR_TYPE)) in rt2800pci_read_eeprom_pci()
|
A D | rt2400pci.c | 96 value = rt2x00_get_field32(reg, BBPCSR_VALUE); in rt2400pci_bbp_read() 198 return rt2x00_get_field32(reg, GPIOCSR_VAL0); in rt2400pci_rfkill_poll() 722 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); in rt2400pci_get_entry_state() 727 rt2x00_get_field32(word, TXD_W0_VALID)); in rt2400pci_get_entry_state() 1225 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) in rt2400pci_fill_rxdone() 1258 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) in rt2400pci_fill_rxdone() 1279 if (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || in rt2400pci_txdone() 1280 !rt2x00_get_field32(word, TXD_W0_VALID)) in rt2400pci_txdone() 1392 if (rt2x00_get_field32(reg, CSR7_TBCN_EXPIRE)) in rt2400pci_interrupt() 1395 if (rt2x00_get_field32(reg, CSR7_RXDONE)) in rt2400pci_interrupt() [all …]
|
A D | rt2500pci.c | 96 value = rt2x00_get_field32(reg, BBPCSR_VALUE); in rt2500pci_bbp_read() 198 return rt2x00_get_field32(reg, GPIOCSR_VAL0); in rt2500pci_rfkill_poll() 816 rt2x00_get_field32(word, TXD_W0_VALID)); in rt2500pci_get_entry_state() 1366 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) in rt2500pci_fill_rxdone() 1382 if (rt2x00_get_field32(word0, RXD_W0_OFDM)) in rt2500pci_fill_rxdone() 1386 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) in rt2500pci_fill_rxdone() 1407 if (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || in rt2500pci_txdone() 1408 !rt2x00_get_field32(word, TXD_W0_VALID)) in rt2500pci_txdone() 1520 if (rt2x00_get_field32(reg, CSR7_TBCN_EXPIRE)) in rt2500pci_interrupt() 1523 if (rt2x00_get_field32(reg, CSR7_RXDONE)) in rt2500pci_interrupt() [all …]
|
A D | rt2800mmio.c | 133 if (rt2x00_get_field32(word, RXD_W3_CRC_ERROR)) in rt2800mmio_fill_rxdone() 143 if (rt2x00_get_field32(word, RXD_W3_DECRYPTED)) { in rt2800mmio_fill_rxdone() 173 if (rt2x00_get_field32(word, RXD_W3_MY_BSS)) in rt2800mmio_fill_rxdone() 176 if (rt2x00_get_field32(word, RXD_W3_L2PAD)) in rt2800mmio_fill_rxdone() 304 if (!rt2x00_get_field32(status, TX_STA_FIFO_VALID)) in rt2800mmio_fetch_txstatus() 355 if (rt2x00_get_field32(reg, INT_SOURCE_CSR_PRE_TBTT)) in rt2800mmio_interrupt() 358 if (rt2x00_get_field32(reg, INT_SOURCE_CSR_TBTT)) in rt2800mmio_interrupt() 361 if (rt2x00_get_field32(reg, INT_SOURCE_CSR_RX_DONE)) in rt2800mmio_interrupt() 364 if (rt2x00_get_field32(reg, INT_SOURCE_CSR_AUTO_WAKEUP)) in rt2800mmio_interrupt() 618 return (!rt2x00_get_field32(word, RXD_W1_DMA_DONE)); in rt2800mmio_get_entry_state() [all …]
|
A D | rt61pci.c | 105 value = rt2x00_get_field32(reg, PHY_CSR3_VALUE); in rt61pci_bbp_read() 176 !!rt2x00_get_field32(reg, E2PROM_CSR_DATA_CLOCK); in rt61pci_eepromregister_read() 178 !!rt2x00_get_field32(reg, E2PROM_CSR_CHIP_SELECT); in rt61pci_eepromregister_read() 236 return rt2x00_get_field32(reg, MAC_CSR13_VAL5); in rt61pci_rfkill_poll() 1249 if (rt2x00_get_field32(reg, MCU_CNTL_CSR_READY)) in rt61pci_load_firmware() 1300 rt2x00_get_field32(word, TXD_W0_VALID)); in rt61pci_get_entry_state() 2005 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) in rt61pci_fill_rxdone() 2048 if (rt2x00_get_field32(word0, RXD_W0_OFDM)) in rt61pci_fill_rxdone() 2052 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) in rt61pci_fill_rxdone() 2083 if (!rt2x00_get_field32(reg, STA_CSR4_VALID)) in rt61pci_txdone() [all …]
|
A D | rt73usb.c | 103 value = rt2x00_get_field32(reg, PHY_CSR3_VALUE); in rt73usb_bbp_read() 181 return rt2x00_get_field32(reg, MAC_CSR13_VAL7); in rt73usb_rfkill_poll() 884 qual->rx_failed = rt2x00_get_field32(reg, STA_CSR0_FCS_ERROR); in rt73usb_link_stats() 1637 lna = rt2x00_get_field32(rxd_w1, RXD_W1_RSSI_LNA); in rt73usb_agc_to_rssi() 1689 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) in rt73usb_fill_rxdone() 1692 rxdesc->cipher = rt2x00_get_field32(word0, RXD_W0_CIPHER_ALG); in rt73usb_fill_rxdone() 1728 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL); in rt73usb_fill_rxdone() 1732 if (rt2x00_get_field32(word0, RXD_W0_OFDM)) in rt73usb_fill_rxdone() 1736 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) in rt73usb_fill_rxdone() 1861 value, rt2x00_get_field32(reg, MAC_CSR0_REVISION)); in rt73usb_init_eeprom() [all …]
|
A D | rt2800usb.c | 106 valid = rt2x00_get_field32(tx_status, TX_STA_FIFO_VALID); in rt2800usb_tx_sta_fifo_read_completed() 502 rx_pkt_len = rt2x00_get_field32(word, RXINFO_W0_USB_DMA_RX_PKT_LEN); in rt2800usb_fill_rxdone() 527 if (rt2x00_get_field32(word, RXD_W0_CRC_ERROR)) in rt2800usb_fill_rxdone() 530 rxdesc->cipher_status = rt2x00_get_field32(word, RXD_W0_CIPHER_ERROR); in rt2800usb_fill_rxdone() 532 if (rt2x00_get_field32(word, RXD_W0_DECRYPTED)) { in rt2800usb_fill_rxdone() 562 if (rt2x00_get_field32(word, RXD_W0_MY_BSS)) in rt2800usb_fill_rxdone() 565 if (rt2x00_get_field32(word, RXD_W0_L2PAD)) in rt2800usb_fill_rxdone()
|
A D | rt2800lib.c | 133 value = rt2x00_get_field32(reg, BBP_CSR_CFG_VALUE); in rt2800_bbp_read() 246 value = rt2x00_get_field32(reg, RF_CSR_CFG_DATA); in rt2800_rfcsr_read() 456 if (rt2x00_get_field32(reg, PLL_LD) && in rt2800_enable_wlan_rt3290() 457 rt2x00_get_field32(reg, XTAL_RDY)) in rt2800_enable_wlan_rt3290() 890 if (rt2x00_get_field32(word, RXWI_W1_SHORT_GI)) in rt2800_process_rxwi() 893 if (rt2x00_get_field32(word, RXWI_W1_BW)) in rt2800_process_rxwi() 945 if (rt2x00_get_field32(status, TX_STA_FIFO_BW)) in rt2800_rate_from_status() 948 if (rt2x00_get_field32(status, TX_STA_FIFO_SGI)) in rt2800_rate_from_status() 983 tx_ack = rt2x00_get_field32(word, TXWI_W1_ACK); in rt2800_txdone_entry_check() 1013 mcs = rt2x00_get_field32(word, TXWI_W0_MCS); in rt2800_txdone_entry() [all …]
|
A D | rt2500usb.c | 1242 if (rt2x00_get_field32(word0, RXD_W0_CRC_ERROR)) in rt2500usb_fill_rxdone() 1244 if (rt2x00_get_field32(word0, RXD_W0_PHYSICAL_ERROR)) in rt2500usb_fill_rxdone() 1247 rxdesc->cipher = rt2x00_get_field32(word0, RXD_W0_CIPHER); in rt2500usb_fill_rxdone() 1248 if (rt2x00_get_field32(word0, RXD_W0_CIPHER_ERROR)) in rt2500usb_fill_rxdone() 1271 rxdesc->signal = rt2x00_get_field32(word1, RXD_W1_SIGNAL); in rt2500usb_fill_rxdone() 1273 rt2x00_get_field32(word1, RXD_W1_RSSI) - rt2x00dev->rssi_offset; in rt2500usb_fill_rxdone() 1274 rxdesc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); in rt2500usb_fill_rxdone() 1276 if (rt2x00_get_field32(word0, RXD_W0_OFDM)) in rt2500usb_fill_rxdone() 1280 if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) in rt2500usb_fill_rxdone()
|
A D | rt2x00mmio.c | 36 if (!rt2x00_get_field32(*reg, field)) in rt2x00mmio_regbusy_read()
|
A D | rt2x00reg.h | 253 #define rt2x00_get_field32(__reg, __field) \ macro
|
A D | rt2x00usb.c | 157 if (!rt2x00_get_field32(*reg, field)) in rt2x00usb_regbusy_read()
|