Lines Matching refs:buflen

70 	int buflen)							\
72 return scnprintf(buf, buflen, format_string, data->field); \
84 char *buf, int buflen) \
89 p += scnprintf(p, buflen + buf - p, "%.2x ", \
92 p += scnprintf(p, buflen + buf - p, "\n"); \
99 char *buf, int buflen) \
101 return scnprintf(buf, buflen, "%d\n", atomic_read(&data->field));\
107 int buflen) \
109 return scnprintf(buf, buflen, "%pM\n", data->field); \
115 char *buf, int buflen) \
117 return scnprintf(buf, buflen, "%d\n", \
202 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz() argument
208 len += scnprintf(buf + len, buflen - len, "%04x ", mask[i]); in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz()
209 len += scnprintf(buf + len, buflen - len, "\n"); in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz()
218 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz() argument
224 len += scnprintf(buf + len, buflen - len, "%04x ", mask[i]); in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz()
225 len += scnprintf(buf + len, buflen - len, "\n"); in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz()
240 char *buf, int buflen) in ieee80211_if_fmt_hw_queues() argument
244 len = scnprintf(buf, buflen, "AC queues: VO:%d VI:%d BE:%d BK:%d\n", in ieee80211_if_fmt_hw_queues()
251 len += scnprintf(buf + len, buflen - len, "cab queue: %d\n", in ieee80211_if_fmt_hw_queues()
301 char *buf, int buflen) in ieee80211_if_fmt_smps() argument
304 return snprintf(buf, buflen, "request: %s\nused: %s\n", in ieee80211_if_fmt_smps()
311 const char *buf, int buflen) in ieee80211_if_parse_smps() argument
316 if (strncmp(buf, smps_modes[mode], buflen) == 0) { in ieee80211_if_parse_smps()
319 return buflen; in ieee80211_if_parse_smps()
329 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_tkip_mic_test() argument
390 return buflen; in ieee80211_if_parse_tkip_mic_test()
395 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_beacon_loss() argument
402 return buflen; in ieee80211_if_parse_beacon_loss()
407 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_uapsd_queues() argument
411 return snprintf(buf, buflen, "0x%x\n", ifmgd->uapsd_queues); in ieee80211_if_fmt_uapsd_queues()
415 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_uapsd_queues() argument
430 return buflen; in ieee80211_if_parse_uapsd_queues()
435 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_uapsd_max_sp_len() argument
439 return snprintf(buf, buflen, "0x%x\n", ifmgd->uapsd_max_sp_len); in ieee80211_if_fmt_uapsd_max_sp_len()
443 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_uapsd_max_sp_len() argument
458 return buflen; in ieee80211_if_parse_uapsd_max_sp_len()
463 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_tdls_wider_bw() argument
471 return snprintf(buf, buflen, "%d\n", tdls_wider_bw); in ieee80211_if_fmt_tdls_wider_bw()
475 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_tdls_wider_bw() argument
486 return buflen; in ieee80211_if_parse_tdls_wider_bw()
497 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_num_buffered_multicast() argument
499 return scnprintf(buf, buflen, "%u\n", in ieee80211_if_fmt_num_buffered_multicast()
505 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_aqm() argument
520 buflen, in ieee80211_if_fmt_aqm()
545 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_tsf() argument
552 return scnprintf(buf, buflen, "0x%016llx\n", (unsigned long long) tsf); in ieee80211_if_fmt_tsf()
556 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_tsf() argument
569 if (buflen > 10 && buf[1] == '=') { in ieee80211_if_parse_tsf()
597 return buflen; in ieee80211_if_parse_tsf()
602 char *buf, int buflen) in ieee80211_if_fmt_valid_links() argument
604 return snprintf(buf, buflen, "0x%x\n", sdata->vif.valid_links); in ieee80211_if_fmt_valid_links()
609 char *buf, int buflen) in ieee80211_if_fmt_active_links() argument
611 return snprintf(buf, buflen, "0x%x\n", sdata->vif.active_links); in ieee80211_if_fmt_active_links()
615 const char *buf, int buflen) in ieee80211_if_parse_active_links() argument
622 return ieee80211_set_active_links(&sdata->vif, active_links) ?: buflen; in ieee80211_if_parse_active_links()