• Home
  • Raw
  • Download

Lines Matching refs:buflen

70 	int buflen)							\
72 return scnprintf(buf, buflen, format_string, sdata->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(&sdata->field));\
107 int buflen) \
109 return scnprintf(buf, buflen, "%pM\n", sdata->field); \
115 char *buf, int buflen) \
117 return scnprintf(buf, buflen, "%d\n", \
178 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz() argument
184 len += scnprintf(buf + len, buflen - len, "%04x ", mask[i]); in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz()
185 len += scnprintf(buf + len, buflen - len, "\n"); in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz()
194 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz() argument
200 len += scnprintf(buf + len, buflen - len, "%04x ", mask[i]); in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz()
201 len += scnprintf(buf + len, buflen - len, "\n"); in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz()
216 char *buf, int buflen) in ieee80211_if_fmt_hw_queues() argument
220 len = scnprintf(buf, buflen, "AC queues: VO:%d VI:%d BE:%d BK:%d\n", in ieee80211_if_fmt_hw_queues()
227 len += scnprintf(buf + len, buflen - len, "cab queue: %d\n", in ieee80211_if_fmt_hw_queues()
273 char *buf, int buflen) in ieee80211_if_fmt_smps() argument
276 return snprintf(buf, buflen, "request: %s\nused: %s\n", in ieee80211_if_fmt_smps()
283 const char *buf, int buflen) in ieee80211_if_parse_smps() argument
288 if (strncmp(buf, smps_modes[mode], buflen) == 0) { in ieee80211_if_parse_smps()
291 return buflen; in ieee80211_if_parse_smps()
301 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_tkip_mic_test() argument
362 return buflen; in ieee80211_if_parse_tkip_mic_test()
367 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_beacon_loss() argument
374 return buflen; in ieee80211_if_parse_beacon_loss()
379 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_uapsd_queues() argument
383 return snprintf(buf, buflen, "0x%x\n", ifmgd->uapsd_queues); in ieee80211_if_fmt_uapsd_queues()
387 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_uapsd_queues() argument
402 return buflen; in ieee80211_if_parse_uapsd_queues()
407 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_uapsd_max_sp_len() argument
411 return snprintf(buf, buflen, "0x%x\n", ifmgd->uapsd_max_sp_len); in ieee80211_if_fmt_uapsd_max_sp_len()
415 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_uapsd_max_sp_len() argument
430 return buflen; in ieee80211_if_parse_uapsd_max_sp_len()
435 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_tdls_wider_bw() argument
443 return snprintf(buf, buflen, "%d\n", tdls_wider_bw); in ieee80211_if_fmt_tdls_wider_bw()
447 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_tdls_wider_bw() argument
458 return buflen; in ieee80211_if_parse_tdls_wider_bw()
469 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_num_buffered_multicast() argument
471 return scnprintf(buf, buflen, "%u\n", in ieee80211_if_fmt_num_buffered_multicast()
477 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_aqm() argument
492 buflen, in ieee80211_if_fmt_aqm()
517 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_tsf() argument
524 return scnprintf(buf, buflen, "0x%016llx\n", (unsigned long long) tsf); in ieee80211_if_fmt_tsf()
528 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_tsf() argument
541 if (buflen > 10 && buf[1] == '=') { in ieee80211_if_parse_tsf()
569 return buflen; in ieee80211_if_parse_tsf()
574 char *buf, int buflen) in ieee80211_if_fmt_valid_links() argument
576 return snprintf(buf, buflen, "0x%x\n", sdata->vif.valid_links); in ieee80211_if_fmt_valid_links()
581 char *buf, int buflen) in ieee80211_if_fmt_active_links() argument
583 return snprintf(buf, buflen, "0x%x\n", sdata->vif.active_links); in ieee80211_if_fmt_active_links()
587 const char *buf, int buflen) in ieee80211_if_parse_active_links() argument
594 return ieee80211_set_active_links(&sdata->vif, active_links) ?: buflen; in ieee80211_if_parse_active_links()