Lines Matching refs:file
41 mt7601u_ampdu_stat_read(struct seq_file *file, void *data) in mt7601u_ampdu_stat_read() argument
43 struct mt7601u_dev *dev = file->private; in mt7601u_ampdu_stat_read()
47 seq_printf(file, #name ":\t%llu\n", dev->stats.grp[off]) in mt7601u_ampdu_stat_read()
70 seq_puts(file, "Aggregations stats:\n"); in mt7601u_ampdu_stat_read()
73 seq_printf(file, "%08llx ", in mt7601u_ampdu_stat_read()
75 seq_putc(file, '\n'); in mt7601u_ampdu_stat_read()
78 seq_printf(file, "recent average AMPDU len: %d\n", in mt7601u_ampdu_stat_read()
85 mt7601u_ampdu_stat_open(struct inode *inode, struct file *f) in mt7601u_ampdu_stat_open()
98 mt7601u_eeprom_param_read(struct seq_file *file, void *data) in mt7601u_eeprom_param_read() argument
100 struct mt7601u_dev *dev = file->private; in mt7601u_eeprom_param_read()
105 seq_printf(file, "RF freq offset: %hhx\n", dev->ee->rf_freq_off); in mt7601u_eeprom_param_read()
106 seq_printf(file, "RSSI offset: %hhx %hhx\n", in mt7601u_eeprom_param_read()
108 seq_printf(file, "Reference temp: %hhx\n", dev->ee->ref_temp); in mt7601u_eeprom_param_read()
109 seq_printf(file, "LNA gain: %hhx\n", dev->ee->lna_gain); in mt7601u_eeprom_param_read()
110 seq_printf(file, "Reg channels: %hhu-%hhu\n", dev->ee->reg.start, in mt7601u_eeprom_param_read()
113 seq_puts(file, "Per rate power:\n"); in mt7601u_eeprom_param_read()
115 seq_printf(file, "\t raw:%02hhx bw20:%02hhx bw40:%02hhx\n", in mt7601u_eeprom_param_read()
118 seq_printf(file, "\t raw:%02hhx bw20:%02hhx bw40:%02hhx\n", in mt7601u_eeprom_param_read()
121 seq_printf(file, "\t raw:%02hhx bw20:%02hhx bw40:%02hhx\n", in mt7601u_eeprom_param_read()
124 seq_puts(file, "Per channel power:\n"); in mt7601u_eeprom_param_read()
126 seq_printf(file, "\t tx_power ch%u:%02hhx ch%u:%02hhx\n", in mt7601u_eeprom_param_read()
133 seq_puts(file, "TSSI:\n"); in mt7601u_eeprom_param_read()
134 seq_printf(file, "\t slope:%02hhx\n", td->slope); in mt7601u_eeprom_param_read()
135 seq_printf(file, "\t offset=%02hhx %02hhx %02hhx\n", in mt7601u_eeprom_param_read()
137 seq_printf(file, "\t delta_off:%08x\n", td->tx0_delta_offset); in mt7601u_eeprom_param_read()
143 mt7601u_eeprom_param_open(struct inode *inode, struct file *f) in mt7601u_eeprom_param_open()