Lines Matching refs:bufsize
54 char *(*read)(struct ar9170 *ar, char *buf, size_t bufsize,
215 size_t bufsize, ssize_t *len) in carl9170_debugfs_mem_usage_read() argument
217 ADD(buf, *len, bufsize, "jar: ["); in carl9170_debugfs_mem_usage_read()
221 *len += bitmap_scnprintf(&buf[*len], bufsize - *len, in carl9170_debugfs_mem_usage_read()
224 ADD(buf, *len, bufsize, "]\n"); in carl9170_debugfs_mem_usage_read()
226 ADD(buf, *len, bufsize, "cookies: used:%3d / total:%3d, allocs:%d\n", in carl9170_debugfs_mem_usage_read()
230 ADD(buf, *len, bufsize, "memory: free:%3d (%3d KiB) / total:%3d KiB)\n", in carl9170_debugfs_mem_usage_read()
242 size_t bufsize, ssize_t *len) in carl9170_debugfs_qos_stat_read() argument
244 ADD(buf, *len, bufsize, "%s QoS AC\n", modparam_noht ? "Hardware" : in carl9170_debugfs_qos_stat_read()
247 ADD(buf, *len, bufsize, "[ VO VI " in carl9170_debugfs_qos_stat_read()
251 ADD(buf, *len, bufsize, "[length/limit length/limit " in carl9170_debugfs_qos_stat_read()
260 ADD(buf, *len, bufsize, "[ total total " in carl9170_debugfs_qos_stat_read()
268 ADD(buf, *len, bufsize, "[ pend/waittx pend/waittx " in carl9170_debugfs_qos_stat_read()
287 ssize_t *off, ssize_t bufsize) in carl9170_debugfs_format_frame() argument
294 ADD(buf, *off, bufsize, "%s %p, c:%2x, DA:%pM, sq:%4d, mc:%.4x, " in carl9170_debugfs_format_frame()
303 size_t bufsize, ssize_t *len) in carl9170_debugfs_ampdu_state_read() argument
314 ADD(buf, *len, bufsize, "Entry: #%2d TID:%1d, BSN:%4d, " in carl9170_debugfs_ampdu_state_read()
319 ADD(buf, *len, bufsize, "\tWindow: ["); in carl9170_debugfs_ampdu_state_read()
321 *len += bitmap_scnprintf(&buf[*len], bufsize - *len, in carl9170_debugfs_ampdu_state_read()
328 ADD(buf, *len, bufsize, ",W]\n"); in carl9170_debugfs_ampdu_state_read()
331 ADD(buf, *len, bufsize, "\tBase Seq: %*s\n", offset, "T"); in carl9170_debugfs_ampdu_state_read()
334 ADD(buf, *len, bufsize, "\tNext Seq: %*s\n", offset, "W"); in carl9170_debugfs_ampdu_state_read()
338 ADD(buf, *len, bufsize, "\tLast Seq: %*s\n", offset, "N"); in carl9170_debugfs_ampdu_state_read()
340 ADD(buf, *len, bufsize, "\tPre-Aggregation reorder buffer: " in carl9170_debugfs_ampdu_state_read()
349 len, bufsize); in carl9170_debugfs_ampdu_state_read()
363 ssize_t *len, size_t bufsize, struct sk_buff_head *queue) in carl9170_debugfs_queue_dump() argument
373 len, bufsize); in carl9170_debugfs_queue_dump()
381 char *buf, size_t bufsize, ssize_t *len) \
383 carl9170_debugfs_queue_dump(ar, buf, len, bufsize, &ar->q[qi]); \
389 size_t bufsize, ssize_t *len) in carl9170_debugfs_sta_psm_read() argument
391 ADD(buf, *len, bufsize, "psm state: %s\n", (ar->ps.off_override ? in carl9170_debugfs_sta_psm_read()
394 ADD(buf, *len, bufsize, "sleep duration: %d ms.\n", ar->ps.sleep_ms); in carl9170_debugfs_sta_psm_read()
395 ADD(buf, *len, bufsize, "last power-state transition: %d ms ago.\n", in carl9170_debugfs_sta_psm_read()
397 ADD(buf, *len, bufsize, "last CAM->PSM transition: %d ms ago.\n", in carl9170_debugfs_sta_psm_read()
405 size_t bufsize, ssize_t *len) in carl9170_debugfs_tx_stuck_read() argument
410 ADD(buf, *len, bufsize, "TX queue [%d]: %10d max:%10d ms.\n", in carl9170_debugfs_tx_stuck_read()
423 size_t bufsize, ssize_t *len) in carl9170_debugfs_phy_noise_read() argument
433 ADD(buf, *len, bufsize, "Chain 0: %10d dBm, ext. chan.:%10d dBm\n", in carl9170_debugfs_phy_noise_read()
435 ADD(buf, *len, bufsize, "Chain 2: %10d dBm, ext. chan.:%10d dBm\n", in carl9170_debugfs_phy_noise_read()
443 size_t bufsize, ssize_t *len) in carl9170_debugfs_vif_dump_read() argument
448 ADD(buf, *len, bufsize, "registered VIFs:%d \\ %d\n", in carl9170_debugfs_vif_dump_read()
451 ADD(buf, *len, bufsize, "VIF bitmap: ["); in carl9170_debugfs_vif_dump_read()
453 *len += bitmap_scnprintf(&buf[*len], bufsize - *len, in carl9170_debugfs_vif_dump_read()
456 ADD(buf, *len, bufsize, "]\n"); in carl9170_debugfs_vif_dump_read()
461 ADD(buf, *len, bufsize, "\t%d = [%s VIF, id:%d, type:%x " in carl9170_debugfs_vif_dump_read()
498 char *dum, size_t bufsize, ssize_t *ret) \
528 char *dum, size_t bufsize, ssize_t *ret) \
606 size_t bufsize, ssize_t *ret) in carl9170_debugfs_hw_ioread32_read() argument
611 ADD(buf, *ret, bufsize, "%.8x = %.8x\n", in carl9170_debugfs_hw_ioread32_read()
674 size_t bufsize, ssize_t *ret) in carl9170_debugfs_bug_read() argument
676 ADD(buf, *ret, bufsize, "[P]hy reinit, [R]estart, [F]ull usb reset, " in carl9170_debugfs_bug_read()
678 ADD(buf, *ret, bufsize, "firmware restarts:%d, last reason:%d\n", in carl9170_debugfs_bug_read()
680 ADD(buf, *ret, bufsize, "phy reinit errors:%d (%d)\n", in carl9170_debugfs_bug_read()
682 ADD(buf, *ret, bufsize, "reported firmware errors:%d\n", in carl9170_debugfs_bug_read()
684 ADD(buf, *ret, bufsize, "reported firmware BUGs:%d\n", in carl9170_debugfs_bug_read()
686 ADD(buf, *ret, bufsize, "pending restart requests:%d\n", in carl9170_debugfs_bug_read()
702 size_t bufsize, ssize_t *ret) in carl9170_debugfs_erp_read() argument
704 ADD(buf, *ret, bufsize, "ERP Setting: (%d) -> %s\n", ar->erp_mode, in carl9170_debugfs_erp_read()