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