Lines Matching refs:FIELD_PREP
27 [1] = FIELD_PREP(MT_TXD3_REM_TX_COUNT, 0xf), in mt7603_set_tmac_template()
60 FIELD_PREP(MT_PSE_FRP_P0, 7) | in mt7603_dma_sched_init()
61 FIELD_PREP(MT_PSE_FRP_P1, 6) | in mt7603_dma_sched_init()
62 FIELD_PREP(MT_PSE_FRP_P2_RQ2, 4)); in mt7603_dma_sched_init()
122 (FIELD_PREP(MT_WF_RMAC_RMCR_SMPS_MODE, 3) | in mt7603_phy_init()
123 FIELD_PREP(MT_WF_RMAC_RMCR_RX_STREAMS, rx_chains))); in mt7603_phy_init()
152 FIELD_PREP(MT_AGG_LIMIT_AC(0), 24) | in mt7603_mac_init()
153 FIELD_PREP(MT_AGG_LIMIT_AC(1), 24) | in mt7603_mac_init()
154 FIELD_PREP(MT_AGG_LIMIT_AC(2), 24) | in mt7603_mac_init()
155 FIELD_PREP(MT_AGG_LIMIT_AC(3), 24)); in mt7603_mac_init()
158 FIELD_PREP(MT_AGG_LIMIT_AC(0), 24) | in mt7603_mac_init()
159 FIELD_PREP(MT_AGG_LIMIT_AC(1), 24) | in mt7603_mac_init()
160 FIELD_PREP(MT_AGG_LIMIT_AC(2), 24) | in mt7603_mac_init()
161 FIELD_PREP(MT_AGG_LIMIT_AC(3), 24)); in mt7603_mac_init()
164 FIELD_PREP(MT_AGG_CONTROL_BAR_RATE, 0x4b) | in mt7603_mac_init()
165 FIELD_PREP(MT_AGG_CONTROL_CFEND_RATE, 0x69) | in mt7603_mac_init()
169 FIELD_PREP(MT_AGG_RETRY_CONTROL_BAR_LIMIT, 1) | in mt7603_mac_init()
170 FIELD_PREP(MT_AGG_RETRY_CONTROL_RTS_LIMIT, 15)); in mt7603_mac_init()
173 FIELD_PREP(MT_DMA_DCR0_MAX_RX_LEN, 4096)); in mt7603_mac_init()
209 FIELD_PREP(MT_DMA_TCFR_TXS_AGGR_TIMEOUT, 1) | /* 32 us */ in mt7603_mac_init()
214 FIELD_PREP(MT_DMA_TCFR_TXS_AGGR_TIMEOUT, 1) | /* 32 us */ in mt7603_mac_init()
233 FIELD_PREP(MT_AGG_ARxCR_LIMIT(0), 7) | in mt7603_mac_init()
234 FIELD_PREP(MT_AGG_ARxCR_LIMIT(1), 2) | in mt7603_mac_init()
235 FIELD_PREP(MT_AGG_ARxCR_LIMIT(2), 2) | in mt7603_mac_init()
236 FIELD_PREP(MT_AGG_ARxCR_LIMIT(3), 2) | in mt7603_mac_init()
237 FIELD_PREP(MT_AGG_ARxCR_LIMIT(4), 1) | in mt7603_mac_init()
238 FIELD_PREP(MT_AGG_ARxCR_LIMIT(5), 1) | in mt7603_mac_init()
239 FIELD_PREP(MT_AGG_ARxCR_LIMIT(6), 1) | in mt7603_mac_init()
240 FIELD_PREP(MT_AGG_ARxCR_LIMIT(7), 1)); in mt7603_mac_init()
243 FIELD_PREP(MT_AGG_ARxCR_LIMIT(0), MT7603_RATE_RETRY - 1) | in mt7603_mac_init()
244 FIELD_PREP(MT_AGG_ARxCR_LIMIT(1), MT7603_RATE_RETRY - 1) | in mt7603_mac_init()
245 FIELD_PREP(MT_AGG_ARxCR_LIMIT(2), MT7603_RATE_RETRY - 1) | in mt7603_mac_init()
246 FIELD_PREP(MT_AGG_ARxCR_LIMIT(3), MT7603_RATE_RETRY - 1) | in mt7603_mac_init()
247 FIELD_PREP(MT_AGG_ARxCR_LIMIT(4), MT7603_RATE_RETRY - 1) | in mt7603_mac_init()
248 FIELD_PREP(MT_AGG_ARxCR_LIMIT(5), MT7603_RATE_RETRY - 1) | in mt7603_mac_init()
249 FIELD_PREP(MT_AGG_ARxCR_LIMIT(6), MT7603_RATE_RETRY - 1) | in mt7603_mac_init()
250 FIELD_PREP(MT_AGG_ARxCR_LIMIT(7), MT7603_RATE_RETRY - 1)); in mt7603_mac_init()
253 (FIELD_PREP(MT_AGG_ARCR_RTS_RATE_THR, 2) | in mt7603_mac_init()
255 FIELD_PREP(MT_AGG_ARCR_RATE_DOWN_RATIO, 1) | in mt7603_mac_init()
256 FIELD_PREP(MT_AGG_ARCR_RATE_UP_EXTRA_TH, 4))); in mt7603_mac_init()
291 FIELD_PREP(MT_PSE_RTA_TAG_ID, i)); in mt7603_init_hardware()
340 val = FIELD_PREP(MT_LED_STATUS_DURATION, 0xffff) | in mt7603_led_set_config()
341 FIELD_PREP(MT_LED_STATUS_OFF, delay_off) | in mt7603_led_set_config()
342 FIELD_PREP(MT_LED_STATUS_ON, delay_on); in mt7603_led_set_config()