Lines Matching defs:wiphy
18 struct wiphy *wiphy = file->private_data; \
51 wiphy->rts_threshold);
53 wiphy->frag_threshold);
55 wiphy->retry_short);
57 wiphy->retry_long);
88 struct wiphy *wiphy = file->private_data;
100 sband = wiphy->bands[band];
122 debugfs_create_file(#name, 0444, phyd, &rdev->wiphy, &name## _ops)
126 &rdev->wiphy.radio_cfg[radio_idx], \
131 struct dentry *phyd = rdev->wiphy.debugfsdir;
141 for (i = 0; i < rdev->wiphy.n_radio; i++) {
142 radiod = rdev->wiphy.radio_cfg[i].radio_debugfsdir;
149 ssize_t (*handler)(struct wiphy *wiphy,
154 struct wiphy *wiphy;
163 static void wiphy_locked_debugfs_read_work(struct wiphy *wiphy,
168 w->ret = w->handler(w->wiphy, w->file, w->buf, w->bufsize, w->data);
177 wiphy_work_cancel(w->wiphy, &w->work);
181 ssize_t wiphy_locked_debugfs_read(struct wiphy *wiphy, struct file *file,
185 ssize_t (*handler)(struct wiphy *wiphy,
194 .wiphy = wiphy,
211 wiphy_work_queue(wiphy, &work.work);
229 ssize_t (*handler)(struct wiphy *wiphy,
234 struct wiphy *wiphy;
243 static void wiphy_locked_debugfs_write_work(struct wiphy *wiphy,
248 w->ret = w->handler(w->wiphy, w->file, w->buf, w->count, w->data);
257 wiphy_work_cancel(w->wiphy, &w->work);
261 ssize_t wiphy_locked_debugfs_write(struct wiphy *wiphy,
264 ssize_t (*handler)(struct wiphy *wiphy,
273 .wiphy = wiphy,
296 wiphy_work_queue(wiphy, &work.work);