mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
74ba9207e1
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version 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 675 mass ave cambridge ma 02139 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 441 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190520071858.739733335@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
40 lines
865 B
C
40 lines
865 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
Mantis PCI bridge driver
|
|
|
|
Copyright (C) Manu Abraham (abraham.manu@gmail.com)
|
|
|
|
*/
|
|
|
|
#ifndef __MANTIS_IOC_H
|
|
#define __MANTIS_IOC_H
|
|
|
|
#define GPIF_A00 0x00
|
|
#define GPIF_A01 0x01
|
|
#define GPIF_A02 0x02
|
|
#define GPIF_A03 0x03
|
|
#define GPIF_A04 0x04
|
|
#define GPIF_A05 0x05
|
|
#define GPIF_A06 0x06
|
|
#define GPIF_A07 0x07
|
|
#define GPIF_A08 0x08
|
|
#define GPIF_A09 0x09
|
|
#define GPIF_A10 0x0a
|
|
#define GPIF_A11 0x0b
|
|
|
|
#define GPIF_A12 0x0c
|
|
#define GPIF_A13 0x0d
|
|
#define GPIF_A14 0x0e
|
|
|
|
enum mantis_stream_control {
|
|
STREAM_TO_HIF = 0,
|
|
STREAM_TO_CAM
|
|
};
|
|
|
|
extern int mantis_get_mac(struct mantis_pci *mantis);
|
|
extern void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
|
|
|
|
extern int mantis_stream_control(struct mantis_pci *mantis, enum mantis_stream_control stream_ctl);
|
|
|
|
#endif /* __MANTIS_IOC_H */
|