Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dcoredump.c149 type = (u32)mt76_get_field(dev, MT_FW_EXCEPT_TYPE, GENMASK(7, 0)); in mt7915_coredump_fw_state()
150 state = (u32)mt76_get_field(dev, MT_FW_ASSERT_STAT, GENMASK(7, 0)); in mt7915_coredump_fw_state()
152 (u32)mt76_get_field(dev, MT_FW_EXCEPT_COUNT, GENMASK(15, 8)) : in mt7915_coredump_fw_state()
153 (u32)mt76_get_field(dev, MT_FW_EXCEPT_COUNT, GENMASK(7, 0)); in mt7915_coredump_fw_state()
176 (u32)mt76_get_field(dev, base, GENMASK(7, 0)) : in mt7915_coredump_fw_trace()
177 (u32)mt76_get_field(dev, base, GENMASK(15, 8)); in mt7915_coredump_fw_trace()
233 oldest = (u32)mt76_get_field(dev, 0x89050200, GENMASK(20, 16)) + 2; in mt7915_coredump_fw_stack()
281 (u32)mt76_get_field(dev, MT_FW_CIRQ_IDX, GENMASK(31, 16)) : in mt7915_coredump_fw_context()
282 (u32)mt76_get_field(dev, MT_FW_CIRQ_IDX, GENMASK(15, 0)); in mt7915_coredump_fw_context()
H A Dtestmode.c236 txv_time = mt76_get_field(dev, MT_TMAC_ATCR(band), in mt7915_tm_set_ipg_params()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_mac.c84 mib->fcs_err_cnt += mt76_get_field(dev, MT_MIB_SDR3(0), in mt792x_mac_update_mib_stats()
86 mib->ack_fail_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR3(0), in mt792x_mac_update_mib_stats()
88 mib->ba_miss_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR2(0), in mt792x_mac_update_mib_stats()
90 mib->rts_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR0(0), in mt792x_mac_update_mib_stats()
92 mib->rts_retries_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR1(0), in mt792x_mac_update_mib_stats()
230 busy_time = mt76_get_field(dev, MT_MIB_SDR9(idx), in mt792x_phy_update_channel()
232 tx_time = mt76_get_field(dev, MT_MIB_SDR36(idx), in mt792x_phy_update_channel()
234 rx_time = mt76_get_field(dev, MT_MIB_SDR37(idx), in mt792x_phy_update_channel()
236 obss_time = mt76_get_field(dev, MT_WF_RMAC_MIB_AIRTIME14(idx), in mt792x_phy_update_channel()
H A 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()
H A Dmt792x_debugfs.c86 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, in mt792x_queues_acq()
H A Dmt792x.h358 return !mt76_get_field(dev, MT_WFDMA_DUMMY_CR, MT_WFDMA_NEED_REINIT); in mt792x_dma_need_reinit()
H A Dmt76x02_util.c541 sifs = mt76_get_field(dev, MT_XIFS_TIME_CFG, in mt76x02_set_tx_ackto()
H A Dmt76x02_mac.c965 rts_thr = mt76_get_field(dev, MT_TX_RTS_CFG, MT_TX_RTS_CFG_THRESH); in mt76x02_mac_set_tx_protection()
H A Dmt76.h1143 #define mt76_get_field(_dev, _reg, _field) \ macro
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c1914 busy_time = mt76_get_field(dev, MT_MIB_SDR9(idx), in mt7615_phy_update_channel()
1916 tx_time = mt76_get_field(dev, MT_MIB_SDR36(idx), in mt7615_phy_update_channel()
1918 rx_time = mt76_get_field(dev, MT_MIB_SDR37(idx), in mt7615_phy_update_channel()
1920 obss_time = mt76_get_field(dev, obss_reg, MT_MIB_OBSSTIME_MASK); in mt7615_phy_update_channel()
1981 mib->fcs_err_cnt += mt76_get_field(dev, MT_MIB_SDR3(ext_phy), in mt7615_mac_update_mib_stats()
1984 val = mt76_get_field(dev, MT_MIB_SDR14(ext_phy), in mt7615_mac_update_mib_stats()
1987 val2 = mt76_get_field(dev, MT_MIB_SDR15(ext_phy), in mt7615_mac_update_mib_stats()
H A Ddebugfs.c379 qlen += mt76_get_field(dev, MT_PLE_FL_Q3_CTRL, in mt7615_queues_acq()
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dpci_phy.c262 temp = mt76_get_field(dev, MT_TEMP_SENSOR, MT_TEMP_SENSOR_VAL); in mt76x2_phy_temp_compensate()
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dinit.c55 page_count = mt76_get_field(dev, MT_PSE_FC_P0, in mt7603_dma_sched_init()