Home
last modified time | relevance | path

Searched refs:reg_backup_list (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c34 static struct reg_band reg_backup_list[TM_REG_MAX_ID]; variable
337 int n_regs = ARRAY_SIZE(reg_backup_list); in mt7915_tm_reg_backup_restore()
343 REG_BAND_IDX(reg_backup_list[0], AGG_PCR0, 0); in mt7915_tm_reg_backup_restore()
344 REG_BAND_IDX(reg_backup_list[1], AGG_PCR0, 1); in mt7915_tm_reg_backup_restore()
345 REG_BAND_IDX(reg_backup_list[2], AGG_AWSCR0, 0); in mt7915_tm_reg_backup_restore()
346 REG_BAND_IDX(reg_backup_list[3], AGG_AWSCR0, 1); in mt7915_tm_reg_backup_restore()
347 REG_BAND_IDX(reg_backup_list[4], AGG_AWSCR0, 2); in mt7915_tm_reg_backup_restore()
348 REG_BAND_IDX(reg_backup_list[5], AGG_AWSCR0, 3); in mt7915_tm_reg_backup_restore()
349 REG_BAND(reg_backup_list[6], AGG_MRCR); in mt7915_tm_reg_backup_restore()
350 REG_BAND(reg_backup_list[7], TMAC_TFCR0); in mt7915_tm_reg_backup_restore()
[all …]
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c24 static const u32 reg_backup_list[] = { variable
102 int n_regs = ARRAY_SIZE(reg_backup_list); in mt7615_tm_reg_backup_restore()
108 mt76_wr(dev, reg_backup_list[i], b[i]); in mt7615_tm_reg_backup_restore()
126 b[i] = mt76_rr(dev, reg_backup_list[i]); in mt7615_tm_reg_backup_restore()