Lines Matching +full:1000 +full:ms
22 struct minstrel_debugfs_info *ms; in minstrel_stats_read() local
24 ms = file->private_data; in minstrel_stats_read()
25 return simple_read_from_buffer(buf, len, ppos, ms->buf, ms->len); in minstrel_stats_read()
121 tx_time = DIV_ROUND_CLOSEST(duration, 1000); in minstrel_ht_stats_dump()
126 eprob = MINSTREL_TRUNC(mrs->prob_avg * 1000); in minstrel_ht_stats_dump()
148 struct minstrel_debugfs_info *ms; in minstrel_ht_stats_open() local
152 ms = kmalloc(32768, GFP_KERNEL); in minstrel_ht_stats_open()
153 if (!ms) in minstrel_ht_stats_open()
156 file->private_data = ms; in minstrel_ht_stats_open()
157 p = ms->buf; in minstrel_ht_stats_open()
179 ms->len = p - ms->buf; in minstrel_ht_stats_open()
180 WARN_ON(ms->len + sizeof(*ms) > 32768); in minstrel_ht_stats_open()
264 tx_time = DIV_ROUND_CLOSEST(duration, 1000); in minstrel_ht_stats_csv_dump()
269 eprob = MINSTREL_TRUNC(mrs->prob_avg * 1000); in minstrel_ht_stats_csv_dump()
296 struct minstrel_debugfs_info *ms; in minstrel_ht_stats_csv_open() local
300 ms = kmalloc(32768, GFP_KERNEL); in minstrel_ht_stats_csv_open()
301 if (!ms) in minstrel_ht_stats_csv_open()
304 file->private_data = ms; in minstrel_ht_stats_csv_open()
306 p = ms->buf; in minstrel_ht_stats_csv_open()
314 ms->len = p - ms->buf; in minstrel_ht_stats_csv_open()
315 WARN_ON(ms->len + sizeof(*ms) > 32768); in minstrel_ht_stats_csv_open()