0001
0002
0003
0004 #ifndef _SHM_CHANNEL_H
0005 #define _SHM_CHANNEL_H
0006
0007 struct shm_channel {
0008 struct device *dev;
0009 void __iomem *base;
0010 };
0011
0012 void mana_smc_init(struct shm_channel *sc, struct device *dev,
0013 void __iomem *base);
0014
0015 int mana_smc_setup_hwc(struct shm_channel *sc, bool reset_vf, u64 eq_addr,
0016 u64 cq_addr, u64 rq_addr, u64 sq_addr,
0017 u32 eq_msix_index);
0018
0019 int mana_smc_teardown_hwc(struct shm_channel *sc, bool reset_vf);
0020
0021 #endif