Lines Matching refs:file
10 mt76x02_ampdu_stat_show(struct seq_file *file, void *data) in mt76x02_ampdu_stat_show() argument
12 struct mt76x02_dev *dev = file->private; in mt76x02_ampdu_stat_show()
16 seq_puts(file, "Length: "); in mt76x02_ampdu_stat_show()
18 seq_printf(file, "%8d | ", i * 8 + j + 1); in mt76x02_ampdu_stat_show()
19 seq_puts(file, "\n"); in mt76x02_ampdu_stat_show()
20 seq_puts(file, "Count: "); in mt76x02_ampdu_stat_show()
22 seq_printf(file, "%8d | ", in mt76x02_ampdu_stat_show()
24 seq_puts(file, "\n"); in mt76x02_ampdu_stat_show()
25 seq_puts(file, "--------"); in mt76x02_ampdu_stat_show()
27 seq_puts(file, "-----------"); in mt76x02_ampdu_stat_show()
28 seq_puts(file, "\n"); in mt76x02_ampdu_stat_show()
36 static int read_txpower(struct seq_file *file, void *data) in read_txpower() argument
38 struct mt76x02_dev *dev = dev_get_drvdata(file->private); in read_txpower()
40 seq_printf(file, "Target power: %d\n", dev->target_power); in read_txpower()
42 mt76_seq_puts_array(file, "Delta", dev->target_power_delta, in read_txpower()
48 mt76x02_dfs_stat_show(struct seq_file *file, void *data) in mt76x02_dfs_stat_show() argument
50 struct mt76x02_dev *dev = file->private; in mt76x02_dfs_stat_show()
54 seq_printf(file, "allocated sequences:\t%d\n", in mt76x02_dfs_stat_show()
56 seq_printf(file, "used sequences:\t\t%d\n", in mt76x02_dfs_stat_show()
58 seq_puts(file, "\n"); in mt76x02_dfs_stat_show()
61 seq_printf(file, "engine: %d\n", i); in mt76x02_dfs_stat_show()
62 seq_printf(file, " hw pattern detected:\t%d\n", in mt76x02_dfs_stat_show()
64 seq_printf(file, " hw pulse discarded:\t%d\n", in mt76x02_dfs_stat_show()
66 seq_printf(file, " sw pattern detected:\t%d\n", in mt76x02_dfs_stat_show()
75 static int read_agc(struct seq_file *file, void *data) in read_agc() argument
77 struct mt76x02_dev *dev = dev_get_drvdata(file->private); in read_agc()
79 seq_printf(file, "avg_rssi: %d\n", dev->cal.avg_rssi_all); in read_agc()
80 seq_printf(file, "low_gain: %d\n", dev->cal.low_gain); in read_agc()
81 seq_printf(file, "false_cca: %d\n", dev->cal.false_cca); in read_agc()
82 seq_printf(file, "agc_gain_adjust: %d\n", dev->cal.agc_gain_adjust); in read_agc()