Lines Matching defs:wdev
64 struct wfx_dev *wdev = seq->private;
68 ret = wfx_hif_get_counters_table(wdev, i, counters + i);
153 struct wfx_dev *wdev = seq->private;
154 struct wfx_hif_rx_stats *st = &wdev->rx_stats;
157 mutex_lock(&wdev->rx_stats_lock);
175 mutex_unlock(&wdev->rx_stats_lock);
183 struct wfx_dev *wdev = seq->private;
184 struct wfx_hif_tx_power_loop_info *st = &wdev->tx_power_loop_info;
187 mutex_lock(&wdev->tx_power_loop_info_lock);
199 mutex_unlock(&wdev->tx_power_loop_info_lock);
208 struct wfx_dev *wdev = file->private_data;
213 dev_dbg(wdev->dev, "PDS data must be written in one transaction");
220 ret = wfx_send_pds(wdev, buf, count);
233 struct wfx_dev *wdev;
243 struct wfx_dev *wdev = context->wdev;
247 dev_dbg(wdev->dev, "read previous result before start a new one\n");
265 context->ret = wfx_cmd_send(wdev, request, context->reply, sizeof(context->reply), false);
298 context->wdev = inode->i_private;
319 int wfx_debug_init(struct wfx_dev *wdev)
323 d = debugfs_create_dir("wfx", wdev->hw->wiphy->debugfsdir);
324 debugfs_create_file("counters", 0444, d, wdev, &wfx_counters_fops);
325 debugfs_create_file("rx_stats", 0444, d, wdev, &wfx_rx_stats_fops);
326 debugfs_create_file("tx_power_loop", 0444, d, wdev, &wfx_tx_power_loop_fops);
327 debugfs_create_file("send_pds", 0200, d, wdev, &wfx_send_pds_fops);
328 debugfs_create_file("send_hif_msg", 0600, d, wdev, &wfx_send_hif_msg_fops);