Lines Matching refs:pNode

375 	struct MT2063_ExclZone_t *pNode;  in InsertNode()  local
382 pNode = pAS_Info->freeZones; in InsertNode()
383 pAS_Info->freeZones = pNode->next_; in InsertNode()
386 pNode = &pAS_Info->MT2063_ExclZones[pAS_Info->nZones]; in InsertNode()
390 pNode->next_ = pPrevNode->next_; in InsertNode()
391 pPrevNode->next_ = pNode; in InsertNode()
394 pNode->next_ = pAS_Info->usedZones; in InsertNode()
395 pAS_Info->usedZones = pNode; in InsertNode()
399 return pNode; in InsertNode()
437 struct MT2063_ExclZone_t *pNode = pAS_Info->usedZones; in MT2063_AddExclZone() local
456 while ((pNode != NULL) && (pNode->max_ < f_min)) { in MT2063_AddExclZone()
457 pPrev = pNode; in MT2063_AddExclZone()
458 pNode = pNode->next_; in MT2063_AddExclZone()
461 if ((pNode != NULL) && (pNode->min_ < f_max)) { in MT2063_AddExclZone()
463 if (f_min < pNode->min_) in MT2063_AddExclZone()
464 pNode->min_ = f_min; in MT2063_AddExclZone()
465 if (f_max > pNode->max_) in MT2063_AddExclZone()
466 pNode->max_ = f_max; in MT2063_AddExclZone()
468 pNode = InsertNode(pAS_Info, pPrev); in MT2063_AddExclZone()
469 pNode->min_ = f_min; in MT2063_AddExclZone()
470 pNode->max_ = f_max; in MT2063_AddExclZone()
474 pNext = pNode->next_; in MT2063_AddExclZone()
475 while ((pNext != NULL) && (pNext->min_ < pNode->max_)) { in MT2063_AddExclZone()
476 if (pNext->max_ > pNode->max_) in MT2063_AddExclZone()
477 pNode->max_ = pNext->max_; in MT2063_AddExclZone()
479 pNext = RemoveNode(pAS_Info, pNode, pNext); in MT2063_AddExclZone()
585 struct MT2063_ExclZone_t *pNode = pAS_Info->usedZones; in MT2063_ChooseFirstIF() local
614 while (pNode != NULL) { in MT2063_ChooseFirstIF()
617 floor((s32) (pNode->min_ - f_Center), (s32) f_Step); in MT2063_ChooseFirstIF()
621 ceil((s32) (pNode->max_ - f_Center), (s32) f_Step); in MT2063_ChooseFirstIF()
623 if ((pNode->min_ < f_Desired) && (pNode->max_ > f_Desired)) in MT2063_ChooseFirstIF()
638 pNode = pNode->next_; in MT2063_ChooseFirstIF()