Lines Matching defs:priv

177 	struct mwifiex_private *priv =
179 struct net_device *netdev = priv->netdev;
191 ret = mwifiex_get_bss_info(priv, &info);
195 mwifiex_drv_get_driver_version(priv->adapter, fmt, sizeof(fmt) - 1);
197 if (!priv->version_str[0])
198 mwifiex_get_ver_ext(priv);
202 p += sprintf(p, "\nverext = %s", priv->version_str);
206 (!priv->media_connected ? "Disconnected" : "Connected"));
209 if (GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_STA) {
222 p += sprintf(p, "num_tx_bytes = %lu\n", priv->stats.tx_bytes);
223 p += sprintf(p, "num_rx_bytes = %lu\n", priv->stats.rx_bytes);
224 p += sprintf(p, "num_tx_pkts = %lu\n", priv->stats.tx_packets);
225 p += sprintf(p, "num_rx_pkts = %lu\n", priv->stats.rx_packets);
226 p += sprintf(p, "num_tx_pkts_dropped = %lu\n", priv->stats.tx_dropped);
227 p += sprintf(p, "num_rx_pkts_dropped = %lu\n", priv->stats.rx_dropped);
228 p += sprintf(p, "num_tx_pkts_err = %lu\n", priv->stats.tx_errors);
229 p += sprintf(p, "num_rx_pkts_err = %lu\n", priv->stats.rx_errors);
230 p += sprintf(p, "carrier %s\n", ((netif_carrier_ok(priv->netdev))
232 p += sprintf(p, "tx queue %s\n", ((netif_queue_stopped(priv->netdev))
266 struct mwifiex_private *priv =
277 ret = mwifiex_get_stats_info(priv, &stats);
377 struct mwifiex_private *priv =
390 ret = mwifiex_get_debug_info(priv, &info);
402 addr = d[i].addr + (size_t) priv->adapter;
520 struct mwifiex_private *priv =
537 ret = mwifiex_reg_write(priv, saved_reg_type, saved_reg_offset,
549 ret = mwifiex_reg_read(priv, saved_reg_type,
620 struct mwifiex_private *priv =
637 ret = mwifiex_eeprom_read(priv, (u16) saved_offset,
658 if (!debugfs_create_file(#name, 0644, priv->dfs_dev_dir, \
659 priv, &mwifiex_dfs_##name##_fops)) \
693 mwifiex_dev_debugfs_init(struct mwifiex_private *priv)
695 if (!mwifiex_dfs_dir || !priv)
698 priv->dfs_dev_dir = debugfs_create_dir(priv->netdev->name,
701 if (!priv->dfs_dev_dir)
715 mwifiex_dev_debugfs_remove(struct mwifiex_private *priv)
717 if (!priv)
720 debugfs_remove_recursive(priv->dfs_dev_dir);