Lines Matching +full:x +full:- +full:rp

1 // SPDX-License-Identifier: GPL-2.0-only
17 mt76_wr(dev, dev->debugfs_reg, val); in mt76_reg_set()
26 *val = mt76_rr(dev, dev->debugfs_reg); in mt76_reg_get()
30 DEFINE_DEBUGFS_ATTRIBUTE(fops_regval, mt76_reg_get, mt76_reg_set, "0x%08llx\n");
35 struct mt7601u_dev *dev = file->private; in mt7601u_ampdu_stat_show()
39 seq_printf(file, #name ":\t%llu\n", dev->stats.grp[off]) in mt7601u_ampdu_stat_show()
66 dev->stats.aggr_n[i * 8 + j]); in mt7601u_ampdu_stat_show()
71 atomic_read(&dev->avg_ampdu_len)); in mt7601u_ampdu_stat_show()
81 struct mt7601u_dev *dev = file->private; in mt7601u_eeprom_param_show()
82 struct mt7601u_rate_power *rp = &dev->ee->power_rate_table; in mt7601u_eeprom_param_show() local
83 struct tssi_data *td = &dev->ee->tssi_data; in mt7601u_eeprom_param_show()
86 seq_printf(file, "RF freq offset: %hhx\n", dev->ee->rf_freq_off); in mt7601u_eeprom_param_show()
88 dev->ee->rssi_offset[0], dev->ee->rssi_offset[1]); in mt7601u_eeprom_param_show()
89 seq_printf(file, "Reference temp: %hhx\n", dev->ee->ref_temp); in mt7601u_eeprom_param_show()
90 seq_printf(file, "LNA gain: %hhx\n", dev->ee->lna_gain); in mt7601u_eeprom_param_show()
91 seq_printf(file, "Reg channels: %hhu-%d\n", dev->ee->reg.start, in mt7601u_eeprom_param_show()
92 dev->ee->reg.start + dev->ee->reg.num - 1); in mt7601u_eeprom_param_show()
97 rp->cck[i].raw, rp->cck[i].bw20, rp->cck[i].bw40); in mt7601u_eeprom_param_show()
100 rp->ofdm[i].raw, rp->ofdm[i].bw20, rp->ofdm[i].bw40); in mt7601u_eeprom_param_show()
103 rp->ht[i].raw, rp->ht[i].bw20, rp->ht[i].bw40); in mt7601u_eeprom_param_show()
108 i * 2 + 1, dev->ee->chan_pwr[i * 2], in mt7601u_eeprom_param_show()
109 i * 2 + 2, dev->ee->chan_pwr[i * 2 + 1]); in mt7601u_eeprom_param_show()
111 if (!dev->ee->tssi_enabled) in mt7601u_eeprom_param_show()
115 seq_printf(file, "\t slope:%02hhx\n", td->slope); in mt7601u_eeprom_param_show()
117 td->offset[0], td->offset[1], td->offset[2]); in mt7601u_eeprom_param_show()
118 seq_printf(file, "\t delta_off:%08x\n", td->tx0_delta_offset); in mt7601u_eeprom_param_show()
129 dir = debugfs_create_dir("mt7601u", dev->hw->wiphy->debugfsdir); in mt7601u_init_debugfs()
131 debugfs_create_u8("temperature", 0400, dir, &dev->raw_temp); in mt7601u_init_debugfs()
132 debugfs_create_u32("temp_mode", 0400, dir, &dev->temp_mode); in mt7601u_init_debugfs()
134 debugfs_create_u32("regidx", 0600, dir, &dev->debugfs_reg); in mt7601u_init_debugfs()