Lines Matching refs:p
71 char *p = (char *) page, fmt[64]; in mwifiex_info_read() local
76 if (!p) in mwifiex_info_read()
88 p += sprintf(p, "driver_name = " "\"mwifiex\"\n"); in mwifiex_info_read()
89 p += sprintf(p, "driver_version = %s", fmt); in mwifiex_info_read()
90 p += sprintf(p, "\nverext = %s", priv->version_str); in mwifiex_info_read()
91 p += sprintf(p, "\ninterface_name=\"%s\"\n", netdev->name); in mwifiex_info_read()
94 p += sprintf(p, "bss_mode=\"%d\"\n", info.bss_mode); in mwifiex_info_read()
96 p += sprintf(p, "bss_mode=\"%s\"\n", bss_modes[info.bss_mode]); in mwifiex_info_read()
98 p += sprintf(p, "media_state=\"%s\"\n", in mwifiex_info_read()
100 p += sprintf(p, "mac_address=\"%pM\"\n", netdev->dev_addr); in mwifiex_info_read()
103 p += sprintf(p, "multicast_count=\"%d\"\n", in mwifiex_info_read()
105 p += sprintf(p, "essid=\"%.*s\"\n", info.ssid.ssid_len, in mwifiex_info_read()
107 p += sprintf(p, "bssid=\"%pM\"\n", info.bssid); in mwifiex_info_read()
108 p += sprintf(p, "channel=\"%d\"\n", (int) info.bss_chan); in mwifiex_info_read()
109 p += sprintf(p, "country_code = \"%s\"\n", info.country_code); in mwifiex_info_read()
110 p += sprintf(p, "region_code=\"0x%x\"\n", in mwifiex_info_read()
114 p += sprintf(p, "multicast_address[%d]=\"%pM\"\n", in mwifiex_info_read()
118 p += sprintf(p, "num_tx_bytes = %lu\n", priv->stats.tx_bytes); in mwifiex_info_read()
119 p += sprintf(p, "num_rx_bytes = %lu\n", priv->stats.rx_bytes); in mwifiex_info_read()
120 p += sprintf(p, "num_tx_pkts = %lu\n", priv->stats.tx_packets); in mwifiex_info_read()
121 p += sprintf(p, "num_rx_pkts = %lu\n", priv->stats.rx_packets); in mwifiex_info_read()
122 p += sprintf(p, "num_tx_pkts_dropped = %lu\n", priv->stats.tx_dropped); in mwifiex_info_read()
123 p += sprintf(p, "num_rx_pkts_dropped = %lu\n", priv->stats.rx_dropped); in mwifiex_info_read()
124 p += sprintf(p, "num_tx_pkts_err = %lu\n", priv->stats.tx_errors); in mwifiex_info_read()
125 p += sprintf(p, "num_rx_pkts_err = %lu\n", priv->stats.rx_errors); in mwifiex_info_read()
126 p += sprintf(p, "carrier %s\n", ((netif_carrier_ok(priv->netdev)) in mwifiex_info_read()
128 p += sprintf(p, "tx queue"); in mwifiex_info_read()
131 p += sprintf(p, " %d:%s", i, netif_tx_queue_stopped(txq) ? in mwifiex_info_read()
134 p += sprintf(p, "\n"); in mwifiex_info_read()
137 (unsigned long) p - page); in mwifiex_info_read()
172 char *p = (char *) page; in mwifiex_getlog_read() local
176 if (!p) in mwifiex_getlog_read()
184 p += sprintf(p, "\n" in mwifiex_getlog_read()
224 (unsigned long) p - page); in mwifiex_getlog_read()
251 char *p = (char *)page; in mwifiex_histogram_read() local
253 if (!p) in mwifiex_histogram_read()
263 p += sprintf(p, "\n" in mwifiex_histogram_read()
267 p += sprintf(p, in mwifiex_histogram_read()
272 p += sprintf(p, in mwifiex_histogram_read()
275 p += sprintf(p, "\n"); in mwifiex_histogram_read()
281 p += sprintf(p, "rx_rate[%02d] = %d\n", i, value); in mwifiex_histogram_read()
289 p += sprintf(p, "rx_rate[%02d] = %d\n", in mwifiex_histogram_read()
297 p += sprintf(p, "snr[%02ddB] = %d\n", i, value); in mwifiex_histogram_read()
302 p += sprintf(p, "noise_flr[%02ddBm] = %d\n", in mwifiex_histogram_read()
308 p += sprintf(p, "sig_strength[-%02ddBm] = %d\n", in mwifiex_histogram_read()
313 (unsigned long)p - page); in mwifiex_histogram_read()
387 char *p = (char *) page; in mwifiex_debug_read() local
390 if (!p) in mwifiex_debug_read()
397 p += mwifiex_debug_info_to_buffer(priv, p, &info); in mwifiex_debug_read()
400 (unsigned long) p - page); in mwifiex_debug_read()