/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014 Felix Fietkau <[email protected]> * Copyright (C) 2015 Jakub Kicinski <[email protected]> */ #ifndef __MT76X0U_MCU_H #define __MT76X0U_MCU_H #include "../mt76x02_mcu.h" struct mt76x02_dev; #define MT_MCU_IVB_SIZE … #define MT_MCU_DLM_OFFSET … /* We use same space for BBP as for MAC regs * #define MT_MCU_MEMMAP_BBP 0x40000000 */ #define MT_MCU_MEMMAP_RF … enum mcu_calibrate { … }; int mt76x0e_mcu_init(struct mt76x02_dev *dev); int mt76x0u_mcu_init(struct mt76x02_dev *dev); static inline int mt76x0_firmware_running(struct mt76x02_dev *dev) { … } #endif