Searched refs:adie_type (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | soc.c | 334 static int mt798x_wmac_sku_setup(struct mt7915_dev *dev, u32 *adie_type) in mt798x_wmac_sku_setup() argument 359 *adie_type = FIELD_GET(MT_ADIE_CHIP_ID_MASK, adie_main) | in mt798x_wmac_sku_setup() 368 static inline u16 mt7986_adie_idx(u8 adie, u32 adie_type) in mt7986_adie_idx() argument 371 return u32_get_bits(adie_type, MT_ADIE_IDX0); in mt7986_adie_idx() 373 return u32_get_bits(adie_type, MT_ADIE_IDX1); in mt7986_adie_idx() 376 static inline bool is_7975(struct mt7915_dev *dev, u8 adie, u32 adie_type) in is_7975() argument 378 return mt7986_adie_idx(adie, adie_type) == 0x7975; in is_7975() 381 static inline bool is_7976(struct mt7915_dev *dev, u8 adie, u32 adie_type) in is_7976() argument 383 return mt7986_adie_idx(adie, adie_type) == 0x7976; in is_7976() 713 static int mt7986_wmac_adie_cfg(struct mt7915_dev *dev, u8 adie, u32 adie_type) in mt7986_wmac_adie_cfg() argument [all …]
|