Lines Matching defs:drvr
48 void brcms_debugfs_attach(struct brcms_pub *drvr)
50 drvr->dbgfs_dir = debugfs_create_dir(
51 dev_name(&drvr->wlc->hw->d11core->dev), root_folder);
54 void brcms_debugfs_detach(struct brcms_pub *drvr)
56 debugfs_remove_recursive(drvr->dbgfs_dir);
59 struct dentry *brcms_debugfs_get_devdir(struct brcms_pub *drvr)
61 return drvr->dbgfs_dir;
67 struct brcms_pub *drvr = s->private;
68 struct brcms_hardware *hw = drvr->wlc->hw;
91 drvr->wlc->hw->boardflags, drvr->wlc->hw->boardflags2,
92 drvr->wlc->ucode_rev, hw->band->radiorev,
100 struct brcms_pub *drvr = s->private;
101 struct brcms_info *wl = drvr->ieee_hw->priv;
106 stats = *(drvr->wlc->core->macstat_snapshot);
171 struct brcms_pub *drvr;
178 return single_open(f, entry->read, entry->drvr);
190 brcms_debugfs_add_entry(struct brcms_pub *drvr, const char *fn,
193 struct device *dev = &drvr->wlc->hw->d11core->dev;
194 struct dentry *dentry = drvr->dbgfs_dir;
202 entry->drvr = drvr;
207 void brcms_debugfs_create_files(struct brcms_pub *drvr)
209 brcms_debugfs_add_entry(drvr, "hardware", brcms_debugfs_hardware_read);
210 brcms_debugfs_add_entry(drvr, "macstat", brcms_debugfs_macstat_read);