Home
last modified time | relevance | path

Searched refs:mt76_get_field (Results 1 – 20 of 20) sorted by relevance

/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio_mcu.c24 sdio->sched.pse_data_quota = mt76_get_field(dev, MT_PSE_PG_HIF0_GROUP, in mt7663s_mcu_init_sched()
26 sdio->sched.pse_mcu_quota = mt76_get_field(dev, MT_PSE_PG_HIF1_GROUP, in mt7663s_mcu_init_sched()
28 sdio->sched.ple_data_quota = mt76_get_field(dev, MT_PLE_PG_HIF0_GROUP, in mt7663s_mcu_init_sched()
30 txdwcnt = mt76_get_field(dev, MT_PP_TXDWCNT, in mt7663s_mcu_init_sched()
152 ret = mt76_get_field(dev, MT_CONN_ON_MISC, MT_TOP_MISC2_FW_N9_RDY); in mt7663s_mcu_init()
Dmac.c1865 busy_time = mt76_get_field(dev, MT_MIB_SDR9(idx), in mt7615_phy_update_channel()
1867 tx_time = mt76_get_field(dev, MT_MIB_SDR36(idx), in mt7615_phy_update_channel()
1869 rx_time = mt76_get_field(dev, MT_MIB_SDR37(idx), in mt7615_phy_update_channel()
1871 obss_time = mt76_get_field(dev, obss_reg, MT_MIB_OBSSTIME_MASK); in mt7615_phy_update_channel()
1931 mib->fcs_err_cnt += mt76_get_field(dev, MT_MIB_SDR3(ext_phy), in mt7615_mac_update_mib_stats()
1934 val = mt76_get_field(dev, MT_MIB_SDR14(ext_phy), in mt7615_mac_update_mib_stats()
1937 val2 = mt76_get_field(dev, MT_MIB_SDR15(ext_phy), in mt7615_mac_update_mib_stats()
Ddebugfs.c371 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, in mt7615_queues_acq()
Dmcu.c1631 val = mt76_get_field(dev, MT_TOP_MISC2, MT_TOP_MISC2_FW_STATE); in mt7615_load_firmware()
1663 val = mt76_get_field(dev, MT_TOP_OFF_RSV, MT_TOP_OFF_RSV_FW_STATE); in mt7622_load_firmware()
1829 ret = mt76_get_field(dev, MT_CONN_ON_MISC, MT_TOP_MISC2_FW_N9_RDY); in __mt7663_load_firmware()
1845 ret = mt76_get_field(dev, MT_CONN_ON_MISC, in __mt7663_load_firmware()
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_phy.c195 dev->cal.agc_gain_init[0] = mt76_get_field(dev, MT_BBP(AGC, 8), in mt76x02_init_agc_gain()
197 dev->cal.agc_gain_init[1] = mt76_get_field(dev, MT_BBP(AGC, 9), in mt76x02_init_agc_gain()
Dmt76x02_usb_core.c128 tbtt = mt76_get_field(dev, MT_TBTT_TIMER, MT_TBTT_TIMER_VAL); in mt76x02u_start_pre_tbtt_timer()
146 tbtt = mt76_get_field(dev, MT_TBTT_TIMER, MT_TBTT_TIMER_VAL); in mt76x02u_restart_pre_tbtt_timer()
Dmt76x02_util.c537 sifs = mt76_get_field(dev, MT_XIFS_TIME_CFG, in mt76x02_set_tx_ackto()
Dmt76x02_mac.c968 rts_thr = mt76_get_field(dev, MT_TX_RTS_CFG, MT_TX_RTS_CFG_THRESH); in mt76x02_mac_set_tx_protection()
Dmt76.h798 #define mt76_get_field(_dev, _reg, _field) \ macro
/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.c1268 busy_time = mt76_get_field(dev, MT_MIB_SDR9(idx), in mt7921_phy_update_channel()
1270 tx_time = mt76_get_field(dev, MT_MIB_SDR36(idx), in mt7921_phy_update_channel()
1272 rx_time = mt76_get_field(dev, MT_MIB_SDR37(idx), in mt7921_phy_update_channel()
1274 obss_time = mt76_get_field(dev, MT_WF_RMAC_MIB_AIRTIME14(idx), in mt7921_phy_update_channel()
1468 mib->fcs_err_cnt += mt76_get_field(dev, MT_MIB_SDR3(0), in mt7921_mac_update_mib_stats()
1470 mib->ack_fail_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR3(0), in mt7921_mac_update_mib_stats()
1472 mib->ba_miss_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR2(0), in mt7921_mac_update_mib_stats()
1474 mib->rts_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR0(0), in mt7921_mac_update_mib_stats()
1476 mib->rts_retries_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR1(0), in mt7921_mac_update_mib_stats()
Dmt7921.h324 return !mt76_get_field(dev, MT_WFDMA_DUMMY_CR, MT_WFDMA_NEED_REINIT); in mt7921_dma_need_reinit()
Ddebugfs.c145 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, in mt7921_queues_acq()
Dmcu.c943 ret = mt76_get_field(dev, MT_CONN_ON_MISC, MT_TOP_MISC2_FW_N9_RDY); in mt7921_load_firmware()
/drivers/net/wireless/mediatek/mt76/mt76x2/
Dpci_phy.c262 temp = mt76_get_field(dev, MT_TEMP_SENSOR, MT_TEMP_SENSOR_VAL); in mt76x2_phy_temp_compensate()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c237 txv_time = mt76_get_field(dev, MT_TMAC_ATCR(ext_phy), in mt7915_tm_set_ipg_params()
749 fcs_err = mt76_get_field(dev, MT_MIB_SDR3(ext_phy), in mt7915_tm_dump_stats()
Ddebugfs.c255 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, in mt7915_queues_acq()
Dinit.c447 if (mt76_get_field(dev, MT_TOP_MISC, MT_TOP_MISC_FW_STATE) > in mt7915_init_hardware()
Dmac.c1723 mib->fcs_err_cnt += mt76_get_field(dev, MT_MIB_SDR3(ext_phy), in mt7915_mac_update_stats()
/drivers/net/wireless/mediatek/mt76/mt7603/
Dinit.c54 page_count = mt76_get_field(dev, MT_PSE_FC_P0, in mt7603_dma_sched_init()
/drivers/net/wireless/mediatek/mt76/mt76x0/
Dphy.c813 ret = mt76_get_field(dev, MT_TX_ALC_CFG_1, MT_TX_ALC_CFG_1_TEMP_COMP); in mt76x0_phy_get_delta_power()