xref: /linux/drivers/media/pci/bt8xx/btcx-risc.h (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 struct btcx_riscmem {
3 	unsigned int   size;
4 	__le32         *cpu;
5 	__le32         *jmp;
6 	dma_addr_t     dma;
7 };
8 
9 struct btcx_skiplist {
10 	int start;
11 	int end;
12 };
13 
14 int  btcx_riscmem_alloc(struct pci_dev *pci,
15 			struct btcx_riscmem *risc,
16 			unsigned int size);
17 void btcx_riscmem_free(struct pci_dev *pci,
18 		       struct btcx_riscmem *risc);
19