Searched refs:fixed_map (Results 1 – 3 of 3) sorted by relevance
73 static const struct mt76_connac_reg_map fixed_map[] = { in __mt7921_reg_addr() local124 for (i = 0; i < ARRAY_SIZE(fixed_map); i++) { in __mt7921_reg_addr()127 if (addr < fixed_map[i].phys) in __mt7921_reg_addr()130 ofs = addr - fixed_map[i].phys; in __mt7921_reg_addr()131 if (ofs > fixed_map[i].size) in __mt7921_reg_addr()134 return fixed_map[i].maps + ofs; in __mt7921_reg_addr()
111 static const struct mt76_connac_reg_map fixed_map[] = { in __mt7925_reg_addr() local172 for (i = 0; i < ARRAY_SIZE(fixed_map); i++) { in __mt7925_reg_addr()175 if (addr < fixed_map[i].phys) in __mt7925_reg_addr()178 ofs = addr - fixed_map[i].phys; in __mt7925_reg_addr()179 if (ofs > fixed_map[i].size) in __mt7925_reg_addr()182 return fixed_map[i].maps + ofs; in __mt7925_reg_addr()
439 const draid_map_t *fixed_map; in alloc_fixed_map() local443 error = vdev_draid_lookup_map(children, &fixed_map); in alloc_fixed_map()451 memcpy(map, fixed_map, sizeof (draid_map_t)); in alloc_fixed_map()