/*******************************************************************************12AudioScience HPI driver3Copyright (C) 1997-2010 AudioScience Inc. <[email protected]>45This program is free software; you can redistribute it and/or modify6it under the terms of version 2 of the GNU General Public License as7published by the Free Software Foundation;89This program is distributed in the hope that it will be useful,10but WITHOUT ANY WARRANTY; without even the implied warranty of11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12GNU General Public License for more details.1314You should have received a copy of the GNU General Public License15along with this program; if not, write to the Free Software16Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA1718Linux HPI ioctl, and shared module init functions19*******************************************************************************/2021int __devinit asihpi_adapter_probe(struct pci_dev *pci_dev,22const struct pci_device_id *pci_id);23void __devexit asihpi_adapter_remove(struct pci_dev *pci_dev);24void __init asihpi_init(void);25void __exit asihpi_exit(void);2627int asihpi_hpi_release(struct file *file);2829long asihpi_hpi_ioctl(struct file *file, unsigned int cmd, unsigned long arg);3031/* This is called from hpifunc.c functions, called by ALSA32* (or other kernel process) In this case there is no file descriptor33* available for the message cache code34*/35void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);3637#define HOWNER_KERNEL ((void *)-1)383940