Lines Matching refs:pNode
366 struct MT2063_ExclZone_t *pNode; in InsertNode() local
373 pNode = pAS_Info->freeZones; in InsertNode()
374 pAS_Info->freeZones = pNode->next_; in InsertNode()
377 pNode = &pAS_Info->MT2063_ExclZones[pAS_Info->nZones]; in InsertNode()
381 pNode->next_ = pPrevNode->next_; in InsertNode()
382 pPrevNode->next_ = pNode; in InsertNode()
385 pNode->next_ = pAS_Info->usedZones; in InsertNode()
386 pAS_Info->usedZones = pNode; in InsertNode()
390 return pNode; in InsertNode()
428 struct MT2063_ExclZone_t *pNode = pAS_Info->usedZones; in MT2063_AddExclZone() local
447 while ((pNode != NULL) && (pNode->max_ < f_min)) { in MT2063_AddExclZone()
448 pPrev = pNode; in MT2063_AddExclZone()
449 pNode = pNode->next_; in MT2063_AddExclZone()
452 if ((pNode != NULL) && (pNode->min_ < f_max)) { in MT2063_AddExclZone()
454 if (f_min < pNode->min_) in MT2063_AddExclZone()
455 pNode->min_ = f_min; in MT2063_AddExclZone()
456 if (f_max > pNode->max_) in MT2063_AddExclZone()
457 pNode->max_ = f_max; in MT2063_AddExclZone()
459 pNode = InsertNode(pAS_Info, pPrev); in MT2063_AddExclZone()
460 pNode->min_ = f_min; in MT2063_AddExclZone()
461 pNode->max_ = f_max; in MT2063_AddExclZone()
465 pNext = pNode->next_; in MT2063_AddExclZone()
466 while ((pNext != NULL) && (pNext->min_ < pNode->max_)) { in MT2063_AddExclZone()
467 if (pNext->max_ > pNode->max_) in MT2063_AddExclZone()
468 pNode->max_ = pNext->max_; in MT2063_AddExclZone()
470 pNext = RemoveNode(pAS_Info, pNode, pNext); in MT2063_AddExclZone()
576 struct MT2063_ExclZone_t *pNode = pAS_Info->usedZones; in MT2063_ChooseFirstIF() local
605 while (pNode != NULL) { in MT2063_ChooseFirstIF()
608 floor((s32) (pNode->min_ - f_Center), (s32) f_Step); in MT2063_ChooseFirstIF()
612 ceil((s32) (pNode->max_ - f_Center), (s32) f_Step); in MT2063_ChooseFirstIF()
614 if ((pNode->min_ < f_Desired) && (pNode->max_ > f_Desired)) in MT2063_ChooseFirstIF()
629 pNode = pNode->next_; in MT2063_ChooseFirstIF()