pmc.h 607 B

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