Lines Matching refs:seq

69 static void cw1200_queue_status_show(struct seq_file *seq,  in cw1200_queue_status_show()  argument
73 seq_printf(seq, "Queue %d:\n", q->queue_id); in cw1200_queue_status_show()
74 seq_printf(seq, " capacity: %zu\n", q->capacity); in cw1200_queue_status_show()
75 seq_printf(seq, " queued: %zu\n", q->num_queued); in cw1200_queue_status_show()
76 seq_printf(seq, " pending: %zu\n", q->num_pending); in cw1200_queue_status_show()
77 seq_printf(seq, " sent: %zu\n", q->num_sent); in cw1200_queue_status_show()
78 seq_printf(seq, " locked: %s\n", q->tx_locked_cnt ? "yes" : "no"); in cw1200_queue_status_show()
79 seq_printf(seq, " overfull: %s\n", q->overfull ? "yes" : "no"); in cw1200_queue_status_show()
80 seq_puts(seq, " link map: 0-> "); in cw1200_queue_status_show()
82 seq_printf(seq, "%.2d ", q->link_map_cache[i]); in cw1200_queue_status_show()
83 seq_printf(seq, "<-%zu\n", q->stats->map_capacity); in cw1200_queue_status_show()
86 static void cw1200_debug_print_map(struct seq_file *seq, in cw1200_debug_print_map() argument
92 seq_printf(seq, "%s0-> ", label); in cw1200_debug_print_map()
94 seq_printf(seq, "%s ", (map & BIT(i)) ? "**" : ".."); in cw1200_debug_print_map()
95 seq_printf(seq, "<-%zu\n", priv->tx_queue_stats.map_capacity - 1); in cw1200_debug_print_map()
98 static int cw1200_status_show(struct seq_file *seq, void *v) in cw1200_status_show() argument
102 struct cw1200_common *priv = seq->private; in cw1200_status_show()
105 seq_puts(seq, "CW1200 Wireless LAN driver status\n"); in cw1200_status_show()
106 seq_printf(seq, "Hardware: %d.%d\n", in cw1200_status_show()
109 seq_printf(seq, "Firmware: %s %d.%d\n", in cw1200_status_show()
113 seq_printf(seq, "FW API: %d\n", in cw1200_status_show()
115 seq_printf(seq, "FW caps: 0x%.4X\n", in cw1200_status_show()
117 seq_printf(seq, "FW label: '%s'\n", in cw1200_status_show()
119 seq_printf(seq, "Mode: %s%s\n", in cw1200_status_show()
122 seq_printf(seq, "Join state: %s\n", in cw1200_status_show()
125 seq_printf(seq, "Channel: %d%s\n", in cw1200_status_show()
130 seq_puts(seq, "Filter: promisc\n"); in cw1200_status_show()
132 seq_puts(seq, "Filter: fcs\n"); in cw1200_status_show()
134 seq_puts(seq, "Filter: bssid\n"); in cw1200_status_show()
136 seq_puts(seq, "Filter: beacons\n"); in cw1200_status_show()
143 seq_printf(seq, "Beaconing: %s\n", in cw1200_status_show()
148 seq_printf(seq, "EDCA(%d): %d, %d, %d, %d, %d\n", i, in cw1200_status_show()
168 seq_printf(seq, "Preamble: %s\n", in cw1200_status_show()
170 seq_printf(seq, "AMPDU spcn: %d\n", in cw1200_status_show()
172 seq_printf(seq, "Basic rate: 0x%.8X\n", in cw1200_status_show()
174 seq_printf(seq, "Bss lost: %d beacons\n", in cw1200_status_show()
176 seq_printf(seq, "AID: %d\n", in cw1200_status_show()
178 seq_printf(seq, "Rates: 0x%.8X\n", in cw1200_status_show()
180 seq_printf(seq, "Powersave: %s\n", pm_mode); in cw1200_status_show()
182 seq_printf(seq, "HT: %s\n", in cw1200_status_show()
185 seq_printf(seq, "Greenfield: %s\n", in cw1200_status_show()
187 seq_printf(seq, "AMPDU dens: %d\n", in cw1200_status_show()
190 seq_printf(seq, "RSSI thold: %d\n", in cw1200_status_show()
192 seq_printf(seq, "RSSI hyst: %d\n", in cw1200_status_show()
194 seq_printf(seq, "Long retr: %d\n", in cw1200_status_show()
196 seq_printf(seq, "Short retr: %d\n", in cw1200_status_show()
203 seq_printf(seq, "RC in use: %d\n", i); in cw1200_status_show()
205 seq_puts(seq, "\n"); in cw1200_status_show()
207 cw1200_queue_status_show(seq, &priv->tx_queue[i]); in cw1200_status_show()
208 seq_puts(seq, "\n"); in cw1200_status_show()
211 cw1200_debug_print_map(seq, priv, "Link map: ", in cw1200_status_show()
213 cw1200_debug_print_map(seq, priv, "Asleep map: ", in cw1200_status_show()
215 cw1200_debug_print_map(seq, priv, "PSPOLL map: ", in cw1200_status_show()
218 seq_puts(seq, "\n"); in cw1200_status_show()
222 seq_printf(seq, "Link %d: %s, %pM\n", in cw1200_status_show()
229 seq_puts(seq, "\n"); in cw1200_status_show()
231 seq_printf(seq, "BH status: %s\n", in cw1200_status_show()
233 seq_printf(seq, "Pending RX: %d\n", in cw1200_status_show()
235 seq_printf(seq, "Pending TX: %d\n", in cw1200_status_show()
238 seq_printf(seq, "BH errcode: %d\n", in cw1200_status_show()
240 seq_printf(seq, "TX bufs: %d x %d bytes\n", in cw1200_status_show()
243 seq_printf(seq, "Used bufs: %d\n", in cw1200_status_show()
245 seq_printf(seq, "Powermgmt: %s\n", in cw1200_status_show()
247 seq_printf(seq, "Device: %s\n", in cw1200_status_show()
251 seq_printf(seq, "WSM status: %s\n", in cw1200_status_show()
253 seq_printf(seq, "WSM cmd: 0x%.4X (%td bytes)\n", in cw1200_status_show()
255 seq_printf(seq, "WSM retval: %d\n", in cw1200_status_show()
259 seq_printf(seq, "Datapath: %s\n", in cw1200_status_show()
262 seq_printf(seq, "TXlock cnt: %d\n", in cw1200_status_show()
265 seq_printf(seq, "TXed: %d\n", in cw1200_status_show()
267 seq_printf(seq, "AGG TXed: %d\n", in cw1200_status_show()
269 seq_printf(seq, "MULTI TXed: %d (%d)\n", in cw1200_status_show()
271 seq_printf(seq, "RXed: %d\n", in cw1200_status_show()
273 seq_printf(seq, "AGG RXed: %d\n", in cw1200_status_show()
275 seq_printf(seq, "TX miss: %d\n", in cw1200_status_show()
277 seq_printf(seq, "TX align: %d\n", in cw1200_status_show()
279 seq_printf(seq, "TX burst: %d\n", in cw1200_status_show()
281 seq_printf(seq, "TX TTL: %d\n", in cw1200_status_show()
283 seq_printf(seq, "Scan: %s\n", in cw1200_status_show()
291 static int cw1200_counters_show(struct seq_file *seq, void *v) in cw1200_counters_show() argument
294 struct cw1200_common *priv = seq->private; in cw1200_counters_show()
302 seq_printf(seq, "%s:" tab "%d\n", #name, \ in cw1200_counters_show()