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-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*******************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)     AudioScience HPI driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)     Copyright (C) 1997-2011  AudioScience Inc. <support@audioscience.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) Linux HPI ioctl, and shared module init functions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) *******************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) int asihpi_adapter_probe(struct pci_dev *pci_dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 			 const struct pci_device_id *pci_id);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) void asihpi_adapter_remove(struct pci_dev *pci_dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) void __init asihpi_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void __exit asihpi_exit(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) int asihpi_hpi_release(struct file *file);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) long asihpi_hpi_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) /* This is called from hpifunc.c functions, called by ALSA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)  * (or other kernel process) In this case there is no file descriptor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)  * available for the message cache code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #define HOWNER_KERNEL ((void *)-1)