40 lines · c
1/* SPDX-License-Identifier: GPL-2.0-or-later */2/*3 Mantis PCI bridge driver4 5 Copyright (C) Manu Abraham (abraham.manu@gmail.com)6 7*/8 9#ifndef __MANTIS_IOC_H10#define __MANTIS_IOC_H11 12#define GPIF_A00 0x0013#define GPIF_A01 0x0114#define GPIF_A02 0x0215#define GPIF_A03 0x0316#define GPIF_A04 0x0417#define GPIF_A05 0x0518#define GPIF_A06 0x0619#define GPIF_A07 0x0720#define GPIF_A08 0x0821#define GPIF_A09 0x0922#define GPIF_A10 0x0a23#define GPIF_A11 0x0b24 25#define GPIF_A12 0x0c26#define GPIF_A13 0x0d27#define GPIF_A14 0x0e28 29enum mantis_stream_control {30 STREAM_TO_HIF = 0,31 STREAM_TO_CAM32};33 34extern int mantis_get_mac(struct mantis_pci *mantis);35extern void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);36 37extern int mantis_stream_control(struct mantis_pci *mantis, enum mantis_stream_control stream_ctl);38 39#endif /* __MANTIS_IOC_H */40