44 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_CORE_H10#define __MANTIS_CORE_H11 12#include "mantis_common.h"13 14 15#define FE_TYPE_SAT 016#define FE_TYPE_CAB 117#define FE_TYPE_TER 218 19#define FE_TYPE_TS204 020#define FE_TYPE_TS188 121 22 23struct vendorname {24 u8 *sub_vendor_name;25 u32 sub_vendor_id;26};27 28struct devicetype {29 u8 *sub_device_name;30 u32 sub_device_id;31 u8 device_type;32 u32 type_flags;33};34 35 36extern int mantis_dma_init(struct mantis_pci *mantis);37extern int mantis_dma_exit(struct mantis_pci *mantis);38extern void mantis_dma_start(struct mantis_pci *mantis);39extern void mantis_dma_stop(struct mantis_pci *mantis);40extern int mantis_i2c_init(struct mantis_pci *mantis);41extern int mantis_i2c_exit(struct mantis_pci *mantis);42 43#endif /* __MANTIS_CORE_H */44