/linux-5.19.10/drivers/net/wireless/ralink/rt2x00/ |
D | rt2500pci.c | 58 rt2x00_set_field32(®, BBPCSR_VALUE, value); in rt2500pci_bbp_write() 59 rt2x00_set_field32(®, BBPCSR_REGNUM, word); in rt2500pci_bbp_write() 60 rt2x00_set_field32(®, BBPCSR_BUSY, 1); in rt2500pci_bbp_write() 61 rt2x00_set_field32(®, BBPCSR_WRITE_CONTROL, 1); in rt2500pci_bbp_write() 87 rt2x00_set_field32(®, BBPCSR_REGNUM, word); in rt2500pci_bbp_read() 88 rt2x00_set_field32(®, BBPCSR_BUSY, 1); in rt2500pci_bbp_read() 89 rt2x00_set_field32(®, BBPCSR_WRITE_CONTROL, 0); in rt2500pci_bbp_read() 116 rt2x00_set_field32(®, RFCSR_VALUE, value); in rt2500pci_rf_write() 117 rt2x00_set_field32(®, RFCSR_NUMBER_OF_BITS, 20); in rt2500pci_rf_write() 118 rt2x00_set_field32(®, RFCSR_IF_SELECT, 0); in rt2500pci_rf_write() [all …]
|
D | rt2400pci.c | 58 rt2x00_set_field32(®, BBPCSR_VALUE, value); in rt2400pci_bbp_write() 59 rt2x00_set_field32(®, BBPCSR_REGNUM, word); in rt2400pci_bbp_write() 60 rt2x00_set_field32(®, BBPCSR_BUSY, 1); in rt2400pci_bbp_write() 61 rt2x00_set_field32(®, BBPCSR_WRITE_CONTROL, 1); in rt2400pci_bbp_write() 87 rt2x00_set_field32(®, BBPCSR_REGNUM, word); in rt2400pci_bbp_read() 88 rt2x00_set_field32(®, BBPCSR_BUSY, 1); in rt2400pci_bbp_read() 89 rt2x00_set_field32(®, BBPCSR_WRITE_CONTROL, 0); in rt2400pci_bbp_read() 116 rt2x00_set_field32(®, RFCSR_VALUE, value); in rt2400pci_rf_write() 117 rt2x00_set_field32(®, RFCSR_NUMBER_OF_BITS, 20); in rt2400pci_rf_write() 118 rt2x00_set_field32(®, RFCSR_IF_SELECT, 0); in rt2400pci_rf_write() [all …]
|
D | rt61pci.c | 67 rt2x00_set_field32(®, PHY_CSR3_VALUE, value); in rt61pci_bbp_write() 68 rt2x00_set_field32(®, PHY_CSR3_REGNUM, word); in rt61pci_bbp_write() 69 rt2x00_set_field32(®, PHY_CSR3_BUSY, 1); in rt61pci_bbp_write() 70 rt2x00_set_field32(®, PHY_CSR3_READ_CONTROL, 0); in rt61pci_bbp_write() 96 rt2x00_set_field32(®, PHY_CSR3_REGNUM, word); in rt61pci_bbp_read() 97 rt2x00_set_field32(®, PHY_CSR3_BUSY, 1); in rt61pci_bbp_read() 98 rt2x00_set_field32(®, PHY_CSR3_READ_CONTROL, 1); in rt61pci_bbp_read() 125 rt2x00_set_field32(®, PHY_CSR4_VALUE, value); in rt61pci_rf_write() 126 rt2x00_set_field32(®, PHY_CSR4_NUMBER_OF_BITS, 21); in rt61pci_rf_write() 127 rt2x00_set_field32(®, PHY_CSR4_IF_SELECT, 0); in rt61pci_rf_write() [all …]
|
D | rt73usb.c | 65 rt2x00_set_field32(®, PHY_CSR3_VALUE, value); in rt73usb_bbp_write() 66 rt2x00_set_field32(®, PHY_CSR3_REGNUM, word); in rt73usb_bbp_write() 67 rt2x00_set_field32(®, PHY_CSR3_BUSY, 1); in rt73usb_bbp_write() 68 rt2x00_set_field32(®, PHY_CSR3_READ_CONTROL, 0); in rt73usb_bbp_write() 94 rt2x00_set_field32(®, PHY_CSR3_REGNUM, word); in rt73usb_bbp_read() 95 rt2x00_set_field32(®, PHY_CSR3_BUSY, 1); in rt73usb_bbp_read() 96 rt2x00_set_field32(®, PHY_CSR3_READ_CONTROL, 1); in rt73usb_bbp_read() 123 rt2x00_set_field32(®, PHY_CSR4_VALUE, value); in rt73usb_rf_write() 128 rt2x00_set_field32(®, PHY_CSR4_NUMBER_OF_BITS, in rt73usb_rf_write() 131 rt2x00_set_field32(®, PHY_CSR4_IF_SELECT, 0); in rt73usb_rf_write() [all …]
|
D | rt2800lib.c | 94 rt2x00_set_field32(®, BBP_CSR_CFG_VALUE, value); in rt2800_bbp_write() 95 rt2x00_set_field32(®, BBP_CSR_CFG_REGNUM, word); in rt2800_bbp_write() 96 rt2x00_set_field32(®, BBP_CSR_CFG_BUSY, 1); in rt2800_bbp_write() 97 rt2x00_set_field32(®, BBP_CSR_CFG_READ_CONTROL, 0); in rt2800_bbp_write() 98 rt2x00_set_field32(®, BBP_CSR_CFG_BBP_RW_MODE, 1); in rt2800_bbp_write() 123 rt2x00_set_field32(®, BBP_CSR_CFG_REGNUM, word); in rt2800_bbp_read() 124 rt2x00_set_field32(®, BBP_CSR_CFG_BUSY, 1); in rt2800_bbp_read() 125 rt2x00_set_field32(®, BBP_CSR_CFG_READ_CONTROL, 1); in rt2800_bbp_read() 126 rt2x00_set_field32(®, BBP_CSR_CFG_BBP_RW_MODE, 1); in rt2800_bbp_read() 155 rt2x00_set_field32(®, RF_CSR_CFG_DATA_MT7620, value); in rt2800_rfcsr_write() [all …]
|
D | rt2800mmio.c | 88 rt2x00_set_field32(&word, TXD_W0_SD_PTR0, skbdesc->skb_dma); in rt2800mmio_write_tx_desc() 92 rt2x00_set_field32(&word, TXD_W1_SD_LEN1, entry->skb->len); in rt2800mmio_write_tx_desc() 93 rt2x00_set_field32(&word, TXD_W1_LAST_SEC1, in rt2800mmio_write_tx_desc() 95 rt2x00_set_field32(&word, TXD_W1_BURST, in rt2800mmio_write_tx_desc() 97 rt2x00_set_field32(&word, TXD_W1_SD_LEN0, txwi_size); in rt2800mmio_write_tx_desc() 98 rt2x00_set_field32(&word, TXD_W1_LAST_SEC0, 0); in rt2800mmio_write_tx_desc() 99 rt2x00_set_field32(&word, TXD_W1_DMA_DONE, 0); in rt2800mmio_write_tx_desc() 103 rt2x00_set_field32(&word, TXD_W2_SD_PTR1, in rt2800mmio_write_tx_desc() 108 rt2x00_set_field32(&word, TXD_W3_WIV, in rt2800mmio_write_tx_desc() 110 rt2x00_set_field32(&word, TXD_W3_QSEL, 2); in rt2800mmio_write_tx_desc() [all …]
|
D | rt2800usb.c | 54 rt2x00_set_field32(®, MAC_SYS_CTRL_ENABLE_RX, 1); in rt2800usb_start_queue() 59 rt2x00_set_field32(®, BCN_TIME_CFG_TSF_TICKING, 1); in rt2800usb_start_queue() 60 rt2x00_set_field32(®, BCN_TIME_CFG_TBTT_ENABLE, 1); in rt2800usb_start_queue() 61 rt2x00_set_field32(®, BCN_TIME_CFG_BEACON_GEN, 1); in rt2800usb_start_queue() 77 rt2x00_set_field32(®, MAC_SYS_CTRL_ENABLE_RX, 0); in rt2800usb_stop_queue() 82 rt2x00_set_field32(®, BCN_TIME_CFG_TSF_TICKING, 0); in rt2800usb_stop_queue() 83 rt2x00_set_field32(®, BCN_TIME_CFG_TBTT_ENABLE, 0); in rt2800usb_stop_queue() 84 rt2x00_set_field32(®, BCN_TIME_CFG_BEACON_GEN, 0); in rt2800usb_stop_queue() 284 rt2x00_set_field32(®, MAC_SYS_CTRL_RESET_CSR, 1); in rt2800usb_init_registers() 285 rt2x00_set_field32(®, MAC_SYS_CTRL_RESET_BBP, 1); in rt2800usb_init_registers() [all …]
|
D | rt2800pci.c | 99 rt2x00_set_field32(®, E2PROM_CSR_DATA_IN, !!eeprom->reg_data_in); in rt2800pci_eepromregister_write() 100 rt2x00_set_field32(®, E2PROM_CSR_DATA_OUT, !!eeprom->reg_data_out); in rt2800pci_eepromregister_write() 101 rt2x00_set_field32(®, E2PROM_CSR_DATA_CLOCK, in rt2800pci_eepromregister_write() 103 rt2x00_set_field32(®, E2PROM_CSR_CHIP_SELECT, in rt2800pci_eepromregister_write() 175 rt2x00_set_field32(®, PBF_SYS_CTRL_HOST_RAM_WRITE, 1); in rt2800pci_write_firmware()
|
D | rt2500usb.c | 588 rt2x00_set_field32(&rf->rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); in rt2500usb_config_channel() 619 rt2x00_set_field32(&rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); in rt2500usb_config_txpower() 1067 rt2x00_set_field32(&word, TXD_W0_RETRY_LIMIT, txdesc->retry_limit); in rt2500usb_write_tx_desc() 1068 rt2x00_set_field32(&word, TXD_W0_MORE_FRAG, in rt2500usb_write_tx_desc() 1070 rt2x00_set_field32(&word, TXD_W0_ACK, in rt2500usb_write_tx_desc() 1072 rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, in rt2500usb_write_tx_desc() 1074 rt2x00_set_field32(&word, TXD_W0_OFDM, in rt2500usb_write_tx_desc() 1076 rt2x00_set_field32(&word, TXD_W0_NEW_SEQ, in rt2500usb_write_tx_desc() 1078 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt2500usb_write_tx_desc() 1079 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); in rt2500usb_write_tx_desc() [all …]
|
D | rt2x00reg.h | 251 #define rt2x00_set_field32(__reg, __field, __value) \ macro
|
D | rt2800soc.c | 49 rt2x00_set_field32(®, TX_PIN_CFG_RFTR_EN, 1); in rt2800soc_disable_radio()
|