Lines Matching defs:nr
289 struct dumpreg *nr = &chipregs[i];
290 if (nr->srevMin == 0)
291 nr->srevMin = def_srev_min;
292 if (nr->srevMax == 0)
293 nr->srevMax = def_srev_max;
294 if (nr->phyMin == 0)
295 nr->phyMin = def_phy_min;
296 if (nr->phyMax == 0)
297 nr->phyMax = def_phy_max;
304 if (nr->addr == r->addr &&
305 (nr->name == r->name ||
306 (nr->name != NULL && r->name != NULL &&
307 strcmp(nr->name, r->name) == 0))) {
308 if (nr->srevMin < r->srevMin &&
309 (r->srevMin <= nr->srevMax &&
310 nr->srevMax+1 <= r->srevMax)) {
311 r->srevMin = nr->srevMin;
314 if (nr->srevMax > r->srevMax &&
315 (r->srevMin <= nr->srevMin &&
316 nr->srevMin <= r->srevMax)) {
317 r->srevMax = nr->srevMax;
321 if (r->addr > nr->addr)
329 state.regs[state.nregs++] = nr;