summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/bt8xx/btcx-risc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/pci/bt8xx/btcx-risc.h')
-rw-r--r--drivers/media/pci/bt8xx/btcx-risc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/media/pci/bt8xx/btcx-risc.h b/drivers/media/pci/bt8xx/btcx-risc.h
new file mode 100644
index 0000000000..6ac79a1577
--- /dev/null
+++ b/drivers/media/pci/bt8xx/btcx-risc.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+struct btcx_riscmem {
+ unsigned int size;
+ __le32 *cpu;
+ __le32 *jmp;
+ dma_addr_t dma;
+};
+
+struct btcx_skiplist {
+ int start;
+ int end;
+};
+
+int btcx_riscmem_alloc(struct pci_dev *pci,
+ struct btcx_riscmem *risc,
+ unsigned int size);
+void btcx_riscmem_free(struct pci_dev *pci,
+ struct btcx_riscmem *risc);