mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
07d7fe7bd6
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 24 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141334.606756275@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 lines
973 B
C
28 lines
973 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*******************************************************************************
|
|
|
|
AudioScience HPI driver
|
|
Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com>
|
|
|
|
|
|
Linux HPI ioctl, and shared module init functions
|
|
*******************************************************************************/
|
|
|
|
int asihpi_adapter_probe(struct pci_dev *pci_dev,
|
|
const struct pci_device_id *pci_id);
|
|
void asihpi_adapter_remove(struct pci_dev *pci_dev);
|
|
void __init asihpi_init(void);
|
|
void __exit asihpi_exit(void);
|
|
|
|
int asihpi_hpi_release(struct file *file);
|
|
|
|
long asihpi_hpi_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
|
|
|
|
/* This is called from hpifunc.c functions, called by ALSA
|
|
* (or other kernel process) In this case there is no file descriptor
|
|
* available for the message cache code
|
|
*/
|
|
void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
|
|
|
|
#define HOWNER_KERNEL ((void *)-1)
|