Searched refs:fixed_map (Results 1 – 2 of 2) sorted by relevance
257 const struct mt76_connac_reg_map *fixed_map; in __mt7925_reg_addr() local267 fixed_map = mt7928_fixed_map; in __mt7925_reg_addr()270 fixed_map = default_fixed_map; in __mt7925_reg_addr()277 if (addr < fixed_map[i].phys) in __mt7925_reg_addr()280 ofs = addr - fixed_map[i].phys; in __mt7925_reg_addr()281 if (ofs > fixed_map[i].size) in __mt7925_reg_addr()284 return fixed_map[i].maps + ofs; in __mt7925_reg_addr()
72 static const struct mt76_connac_reg_map fixed_map[] = { in __mt7921_reg_addr() local123 for (i = 0; i < ARRAY_SIZE(fixed_map); i++) { in __mt7921_reg_addr()126 if (addr < fixed_map[i].phys) in __mt7921_reg_addr()129 ofs = addr - fixed_map[i].phys; in __mt7921_reg_addr()130 if (ofs > fixed_map[i].size) in __mt7921_reg_addr()133 return fixed_map[i].maps + ofs; in __mt7921_reg_addr()