Lines Matching refs:field
70 #define IEEE80211_IF_FMT(name, field, format_string) \ argument
75 return scnprintf(buf, buflen, format_string, sdata->field); \
77 #define IEEE80211_IF_FMT_DEC(name, field) \ argument
78 IEEE80211_IF_FMT(name, field, "%d\n")
79 #define IEEE80211_IF_FMT_HEX(name, field) \ argument
80 IEEE80211_IF_FMT(name, field, "%#x\n")
81 #define IEEE80211_IF_FMT_LHEX(name, field) \ argument
82 IEEE80211_IF_FMT(name, field, "%#lx\n")
83 #define IEEE80211_IF_FMT_SIZE(name, field) \ argument
84 IEEE80211_IF_FMT(name, field, "%zd\n")
86 #define IEEE80211_IF_FMT_HEXARRAY(name, field) \ argument
93 for (i = 0; i < sizeof(sdata->field); i++) { \
95 sdata->field[i]); \
101 #define IEEE80211_IF_FMT_ATOMIC(name, field) \ argument
106 return scnprintf(buf, buflen, "%d\n", atomic_read(&sdata->field));\
109 #define IEEE80211_IF_FMT_MAC(name, field) \ argument
114 return scnprintf(buf, buflen, "%pM\n", sdata->field); \
117 #define IEEE80211_IF_FMT_DEC_DIV_16(name, field) \ argument
122 return scnprintf(buf, buflen, "%d\n", sdata->field / 16); \
125 #define IEEE80211_IF_FMT_JIFFIES_TO_MS(name, field) \ argument
131 jiffies_to_msecs(sdata->field)); \
175 #define IEEE80211_IF_FILE(name, field, format) \ argument
176 IEEE80211_IF_FMT_##format(name, field) \