Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * SH7760 DMABRG (USB/Audio) support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #ifndef _DMABRG_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define _DMABRG_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) /* IRQ sources */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define DMABRGIRQ_USBDMA	0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define DMABRGIRQ_USBDMAERR	1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define DMABRGIRQ_A0TXF		2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define DMABRGIRQ_A0TXH		3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define DMABRGIRQ_A0RXF		4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define DMABRGIRQ_A0RXH		5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define DMABRGIRQ_A1TXF		6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define DMABRGIRQ_A1TXH		7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define DMABRGIRQ_A1RXF		8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define DMABRGIRQ_A1RXH		9
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) extern int dmabrg_request_irq(unsigned int, void(*)(void *), void *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) extern void dmabrg_free_irq(unsigned int);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif