Lines Matching refs:len
183 int len = 0; in ath10k_dbg_sta_read_aggr_mode() local
186 len = scnprintf(buf, sizeof(buf) - len, "aggregation mode: %s\n", in ath10k_dbg_sta_read_aggr_mode()
191 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_aggr_mode()
398 int len = 0; in ath10k_dbg_sta_read_peer_debug_trigger() local
401 len = scnprintf(buf, sizeof(buf) - len, in ath10k_dbg_sta_read_peer_debug_trigger()
405 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_peer_debug_trigger()
460 int len = 0; in ath10k_dbg_sta_read_peer_ps_state() local
464 len = scnprintf(buf, sizeof(buf) - len, "%d\n", in ath10k_dbg_sta_read_peer_ps_state()
469 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_peer_ps_state()
546 len += scnprintf(buf + len, buf_len - len, \
551 len += scnprintf(buf + len, \
552 buf_len - len, "\n"); \
553 len += scnprintf(buf + len, \
554 buf_len - len, \
559 len += scnprintf(buf + len, buf_len - len, "\n"); \
570 size_t len = 0, buf_len = 1048 * IEEE80211_NUM_TIDS; in ath10k_dbg_sta_read_tid_stats() local
583 len += scnprintf(buf + len, buf_len - len, in ath10k_dbg_sta_read_tid_stats()
585 len += scnprintf(buf + len, buf_len - len, in ath10k_dbg_sta_read_tid_stats()
587 len += scnprintf(buf + len, buf_len - len, "MSDUs from FW\t\t\t"); in ath10k_dbg_sta_read_tid_stats()
590 len += scnprintf(buf + len, buf_len - len, "MSDUs unchained\t\t\t"); in ath10k_dbg_sta_read_tid_stats()
593 len += scnprintf(buf + len, buf_len - len, in ath10k_dbg_sta_read_tid_stats()
597 len += scnprintf(buf + len, buf_len - len, in ath10k_dbg_sta_read_tid_stats()
601 len += scnprintf(buf + len, buf_len - len, in ath10k_dbg_sta_read_tid_stats()
606 len += scnprintf(buf + len, buf_len - len, in ath10k_dbg_sta_read_tid_stats()
611 len += scnprintf(buf + len, buf_len - len, "\n"); in ath10k_dbg_sta_read_tid_stats()
613 len += scnprintf(buf + len, buf_len - len, in ath10k_dbg_sta_read_tid_stats()
619 len += scnprintf(buf + len, buf_len - len, "\n"); in ath10k_dbg_sta_read_tid_stats()
621 len += scnprintf(buf + len, buf_len - len, in ath10k_dbg_sta_read_tid_stats()
629 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_tid_stats()
656 int len = 0, i, j, k, retval = 0; in ath10k_dbg_sta_dump_tx_stats() local
677 len += scnprintf(buf + len, size - len, "%s_%s\n", in ath10k_dbg_sta_dump_tx_stats()
680 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
684 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
687 len += scnprintf(buf + len, size - len, "\n"); in ath10k_dbg_sta_dump_tx_stats()
688 len += scnprintf(buf + len, size - len, " HT MCS %s\n", in ath10k_dbg_sta_dump_tx_stats()
691 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
693 len += scnprintf(buf + len, size - len, "\n"); in ath10k_dbg_sta_dump_tx_stats()
694 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
696 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
701 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
703 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
707 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
710 len += scnprintf(buf + len, size - len, " %llu %llu\n", in ath10k_dbg_sta_dump_tx_stats()
712 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
716 len += scnprintf(buf + len, size - len, "%llu ", in ath10k_dbg_sta_dump_tx_stats()
718 len += scnprintf(buf + len, size - len, "\n"); in ath10k_dbg_sta_dump_tx_stats()
719 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
723 len += scnprintf(buf + len, size - len, "%llu ", in ath10k_dbg_sta_dump_tx_stats()
726 len += in ath10k_dbg_sta_dump_tx_stats()
727 scnprintf(buf + len, size - len, "\n "); in ath10k_dbg_sta_dump_tx_stats()
732 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
735 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
737 len += scnprintf(buf + len, size - len, in ath10k_dbg_sta_dump_tx_stats()
741 if (len > size) in ath10k_dbg_sta_dump_tx_stats()
742 len = size; in ath10k_dbg_sta_dump_tx_stats()
743 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_dump_tx_stats()