Lines Matching defs:dev
43 mt76_wmac_spi_read(struct mt7915_dev *dev, u8 adie, u32 addr, u32 *val) in mt76_wmac_spi_read()
70 mt76_wmac_spi_write(struct mt7915_dev *dev, u8 adie, u32 addr, u32 val) in mt76_wmac_spi_write()
91 mt76_wmac_spi_rmw(struct mt7915_dev *dev, u8 adie, in mt76_wmac_spi_rmw()
107 mt7986_wmac_adie_efuse_read(struct mt7915_dev *dev, u8 adie, in mt7986_wmac_adie_efuse_read()
149 static inline void mt76_wmac_spi_lock(struct mt7915_dev *dev) in mt76_wmac_spi_lock()
159 static inline void mt76_wmac_spi_unlock(struct mt7915_dev *dev) in mt76_wmac_spi_unlock()
172 static u8 mt798x_wmac_check_adie_type(struct mt7915_dev *dev) in mt798x_wmac_check_adie_type()
185 static int mt7986_wmac_consys_reset(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_reset()
197 static int mt7986_wmac_gpio_setup(struct mt7915_dev *dev) in mt7986_wmac_gpio_setup()
233 static int mt7986_wmac_consys_lockup(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_lockup()
266 static int mt798x_wmac_coninfra_check(struct mt7915_dev *dev) in mt798x_wmac_coninfra_check()
285 static int mt798x_wmac_coninfra_setup(struct mt7915_dev *dev) in mt798x_wmac_coninfra_setup()
334 static int mt798x_wmac_sku_setup(struct mt7915_dev *dev, u32 *adie_type) in mt798x_wmac_sku_setup()
376 static inline bool is_7975(struct mt7915_dev *dev, u8 adie, u32 adie_type) in is_7975()
381 static inline bool is_7976(struct mt7915_dev *dev, u8 adie, u32 adie_type) in is_7976()
386 static int mt7986_wmac_adie_thermal_cal(struct mt7915_dev *dev, u8 adie) in mt7986_wmac_adie_thermal_cal()
423 mt7986_read_efuse_xo_trim_7976(struct mt7915_dev *dev, u8 adie, in mt7986_read_efuse_xo_trim_7976()
456 static int mt7986_wmac_adie_xtal_trim_7976(struct mt7915_dev *dev, u8 adie) in mt7986_wmac_adie_xtal_trim_7976()
504 static int mt798x_wmac_adie_patch_7976(struct mt7915_dev *dev, u8 adie) in mt798x_wmac_adie_patch_7976()
542 mt7986_read_efuse_xo_trim_7975(struct mt7915_dev *dev, u8 adie, in mt7986_read_efuse_xo_trim_7975()
564 static int mt7986_wmac_adie_xtal_trim_7975(struct mt7915_dev *dev, u8 adie) in mt7986_wmac_adie_xtal_trim_7975()
620 static int mt7986_wmac_adie_patch_7975(struct mt7915_dev *dev, u8 adie) in mt7986_wmac_adie_patch_7975()
713 static int mt7986_wmac_adie_cfg(struct mt7915_dev *dev, u8 adie, u32 adie_type) in mt7986_wmac_adie_cfg()
762 mt7986_wmac_afe_cal(struct mt7915_dev *dev, u8 adie, bool dbdc, u32 adie_type) in mt7986_wmac_afe_cal()
821 static void mt7986_wmac_subsys_pll_initial(struct mt7915_dev *dev, u8 band) in mt7986_wmac_subsys_pll_initial()
833 static void mt7986_wmac_subsys_setting(struct mt7915_dev *dev) in mt7986_wmac_subsys_setting()
851 static int mt7986_wmac_bus_timeout(struct mt7915_dev *dev) in mt7986_wmac_bus_timeout()
868 static void mt7986_wmac_clock_enable(struct mt7915_dev *dev, u32 adie_type) in mt7986_wmac_clock_enable()
925 static int mt7986_wmac_top_wfsys_wakeup(struct mt7915_dev *dev, bool enable) in mt7986_wmac_top_wfsys_wakeup()
938 static int mt7986_wmac_wm_enable(struct mt7915_dev *dev, bool enable) in mt7986_wmac_wm_enable()
955 static int mt7986_wmac_wfsys_poweron(struct mt7915_dev *dev, bool enable) in mt7986_wmac_wfsys_poweron()
969 static int mt7986_wmac_wfsys_setting(struct mt7915_dev *dev) in mt7986_wmac_wfsys_setting()
1002 static void mt7986_wmac_wfsys_set_timeout(struct mt7915_dev *dev) in mt7986_wmac_wfsys_set_timeout()
1025 static int mt7986_wmac_sku_update(struct mt7915_dev *dev, u32 adie_type) in mt7986_wmac_sku_update()
1051 mt7986_wmac_adie_setup(struct mt7915_dev *dev, u8 adie, u32 adie_type) in mt7986_wmac_adie_setup()
1072 static int mt7986_wmac_subsys_powerup(struct mt7915_dev *dev, u32 adie_type) in mt7986_wmac_subsys_powerup()
1087 static int mt7986_wmac_wfsys_powerup(struct mt7915_dev *dev) in mt7986_wmac_wfsys_powerup()
1104 int mt7986_wmac_enable(struct mt7915_dev *dev) in mt7986_wmac_enable()
1159 void mt7986_wmac_disable(struct mt7915_dev *dev) in mt7986_wmac_disable()
1195 static int mt798x_wmac_init(struct mt7915_dev *dev) in mt798x_wmac_init()
1231 struct mt7915_dev *dev; in mt798x_wmac_probe() local
1290 struct mt7915_dev *dev = platform_get_drvdata(pdev); in mt798x_wmac_remove() local