Searched refs:fixed_map (Results 1 – 3 of 3) sorted by relevance
84 static const struct mt76_connac_reg_map fixed_map[] = { in __mt7921_reg_addr() local135 for (i = 0; i < ARRAY_SIZE(fixed_map); i++) { in __mt7921_reg_addr()138 if (addr < fixed_map[i].phys) in __mt7921_reg_addr()141 ofs = addr - fixed_map[i].phys; in __mt7921_reg_addr()142 if (ofs > fixed_map[i].size) in __mt7921_reg_addr()145 return fixed_map[i].maps + ofs; in __mt7921_reg_addr()
116 static const struct mt76_connac_reg_map fixed_map[] = { in __mt7925_reg_addr() local177 for (i = 0; i < ARRAY_SIZE(fixed_map); i++) { in __mt7925_reg_addr()180 if (addr < fixed_map[i].phys) in __mt7925_reg_addr()183 ofs = addr - fixed_map[i].phys; in __mt7925_reg_addr()184 if (ofs > fixed_map[i].size) in __mt7925_reg_addr()187 return fixed_map[i].maps + ofs; in __mt7925_reg_addr()
429 const draid_map_t *fixed_map; in alloc_fixed_map() local433 error = vdev_draid_lookup_map(children, &fixed_map); in alloc_fixed_map()441 memcpy(map, fixed_map, sizeof (draid_map_t)); in alloc_fixed_map()