xref: /linux/drivers/net/wireless/ath/wil6210/pmc.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: ISC */
2 /* Copyright (c) 2012-2015 Qualcomm Atheros, Inc. */
3 
4 #include <linux/types.h>
5 
6 #define PCM_DATA_INVALID_DW_VAL (0xB0BA0000)
7 
8 void wil_pmc_init(struct wil6210_priv *wil);
9 void wil_pmc_alloc(struct wil6210_priv *wil,
10 		   int num_descriptors, int descriptor_size);
11 void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd);
12 int wil_pmc_last_cmd_status(struct wil6210_priv *wil);
13 ssize_t wil_pmc_read(struct file *, char __user *, size_t, loff_t *);
14 loff_t wil_pmc_llseek(struct file *filp, loff_t off, int whence);
15 int wil_pmcring_read(struct seq_file *s, void *data);
16