Lines Matching refs:Selection
1263 IN OUT UI_MENU_SELECTION *Selection, in ProcessChangedData() argument
1273 DiscardForm (Selection->FormSet, Selection->Form, Scope); in ProcessChangedData()
1277 Status = SubmitForm (Selection->FormSet, Selection->Form, Scope); in ProcessChangedData()
1307 IN OUT UI_MENU_SELECTION *Selection in FindParentFormSet() argument
1313 CurrentMenu = Selection->CurrentMenu; in FindParentFormSet()
1317 CopyMem (&Selection->FormSetGuid, &ParentMenu->FormSetGuid, sizeof (EFI_GUID)); in FindParentFormSet()
1318 Selection->Handle = ParentMenu->HiiHandle; in FindParentFormSet()
1319 Selection->FormId = ParentMenu->FormId; in FindParentFormSet()
1320 Selection->QuestionId = ParentMenu->QuestionId; in FindParentFormSet()
1322 Selection->FormId = CurrentMenu->FormId; in FindParentFormSet()
1323 Selection->QuestionId = CurrentMenu->QuestionId; in FindParentFormSet()
1326 Selection->Statement = NULL; in FindParentFormSet()
1341 IN OUT UI_MENU_SELECTION *Selection in ProcessGotoOpCode() argument
1358 StringPtr = GetToken (Statement->HiiValue.Value.ref.DevicePath, Selection->FormSet->HiiHandle); in ProcessGotoOpCode()
1365 if (Selection->Form->ModalForm) { in ProcessGotoOpCode()
1388 if (HiiHandle != Selection->Handle) { in ProcessGotoOpCode()
1393 IsNvUpdateRequiredForFormSet(Selection->FormSet)) { in ProcessGotoOpCode()
1394 if (!ProcessChangedData(Selection, FormSetLevel)) { in ProcessGotoOpCode()
1400 Selection->Action = UI_ACTION_REFRESH_FORMSET; in ProcessGotoOpCode()
1401 Selection->Handle = HiiHandle; in ProcessGotoOpCode()
1402 if (Selection->Handle == NULL) { in ProcessGotoOpCode()
1406 FindParentFormSet(Selection); in ProcessGotoOpCode()
1410 CopyMem (&Selection->FormSetGuid,&Statement->HiiValue.Value.ref.FormSetGuid, sizeof (EFI_GUID)); in ProcessGotoOpCode()
1411 Selection->FormId = Statement->HiiValue.Value.ref.FormId; in ProcessGotoOpCode()
1412 Selection->QuestionId = Statement->HiiValue.Value.ref.QuestionId; in ProcessGotoOpCode()
1414 if (Selection->Form->ModalForm) { in ProcessGotoOpCode()
1417 if (!CompareGuid (&Statement->HiiValue.Value.ref.FormSetGuid, &Selection->FormSetGuid)) { in ProcessGotoOpCode()
1422 IsNvUpdateRequiredForFormSet(Selection->FormSet)) { in ProcessGotoOpCode()
1423 if (!ProcessChangedData(Selection, FormSetLevel)) { in ProcessGotoOpCode()
1429 Selection->Action = UI_ACTION_REFRESH_FORMSET; in ProcessGotoOpCode()
1430 Selection->Handle = FormSetGuidToHiiHandle(&Statement->HiiValue.Value.ref.FormSetGuid); in ProcessGotoOpCode()
1431 if (Selection->Handle == NULL) { in ProcessGotoOpCode()
1435 FindParentFormSet(Selection); in ProcessGotoOpCode()
1439 … CopyMem (&Selection->FormSetGuid, &Statement->HiiValue.Value.ref.FormSetGuid, sizeof (EFI_GUID)); in ProcessGotoOpCode()
1440 Selection->FormId = Statement->HiiValue.Value.ref.FormId; in ProcessGotoOpCode()
1441 Selection->QuestionId = Statement->HiiValue.Value.ref.QuestionId; in ProcessGotoOpCode()
1446 if (Statement->HiiValue.Value.ref.FormId != Selection->FormId) { in ProcessGotoOpCode()
1447 if ((gBrowserSettingScope == FormLevel && IsNvUpdateRequiredForForm(Selection->Form))) { in ProcessGotoOpCode()
1448 if (!ProcessChangedData (Selection, FormLevel)) { in ProcessGotoOpCode()
1454 RefForm = IdToForm (Selection->FormSet, Statement->HiiValue.Value.ref.FormId); in ProcessGotoOpCode()
1456 …if (EvaluateExpressionList(RefForm->SuppressExpression, TRUE, Selection->FormSet, RefForm) != Expr… in ProcessGotoOpCode()
1465 Selection->FormId = Statement->HiiValue.Value.ref.FormId; in ProcessGotoOpCode()
1466 Selection->QuestionId = Statement->HiiValue.Value.ref.QuestionId; in ProcessGotoOpCode()
1468 Selection->QuestionId = Statement->HiiValue.Value.ref.QuestionId; in ProcessGotoOpCode()
1487 IN UI_MENU_SELECTION *Selection, in ProcessQuestionConfig() argument
1502 ConfigResp = GetToken (Question->QuestionConfig, Selection->FormSet->HiiHandle); in ProcessQuestionConfig()
1838 IN OUT UI_MENU_SELECTION *Selection, in FindNextMenu() argument
1846 CurrentMenu = Selection->CurrentMenu; in FindNextMenu()
1865 if ((gBrowserSettingScope == FormLevel && IsNvUpdateRequiredForForm (Selection->Form)) || in FindNextMenu()
1866 …(gBrowserSettingScope == FormSetLevel && IsNvUpdateRequiredForFormSet(Selection->FormSet) && Scope… in FindNextMenu()
1867 if (!ProcessChangedData(Selection, gBrowserSettingScope)) { in FindNextMenu()
1877 Selection->Action = UI_ACTION_REFRESH_FORM; in FindNextMenu()
1879 Selection->Action = UI_ACTION_REFRESH_FORMSET; in FindNextMenu()
1880 CopyMem (&Selection->FormSetGuid, &ParentMenu->FormSetGuid, sizeof (EFI_GUID)); in FindNextMenu()
1881 Selection->Handle = ParentMenu->HiiHandle; in FindNextMenu()
1884 Selection->Statement = NULL; in FindNextMenu()
1886 Selection->FormId = ParentMenu->FormId; in FindNextMenu()
1887 Selection->QuestionId = ParentMenu->QuestionId; in FindNextMenu()
1899 Selection->Action = UI_ACTION_EXIT; in FindNextMenu()
1946 IN OUT UI_MENU_SELECTION *Selection, in ProcessCallBackFunction() argument
2174 … ProcessCallBackFunction (Selection, FormSet, Form, Question, EFI_BROWSER_ACTION_RETRIEVE, FALSE); in ProcessCallBackFunction()
2235 FindNextMenu (Selection, SettingLevel); in ProcessCallBackFunction()
2324 IN OUT UI_MENU_SELECTION *Selection in SetupBrowser() argument
2333 ConfigAccess = Selection->FormSet->ConfigAccess; in SetupBrowser()
2353 InitializeCurrentSetting (Selection->FormSet); in SetupBrowser()
2358 Selection->Action = UI_ACTION_REFRESH_FORM; in SetupBrowser()
2378 Selection->Action = UI_ACTION_REFRESH_FORMSET; in SetupBrowser()
2386 if (Selection->FormId == 0) { in SetupBrowser()
2390 Link = GetFirstNode (&Selection->FormSet->FormListHead); in SetupBrowser()
2392 Selection->Form = FORM_BROWSER_FORM_FROM_LINK (Link); in SetupBrowser()
2393 Selection->FormId = Selection->Form->FormId; in SetupBrowser()
2395 Selection->Form = IdToForm (Selection->FormSet, Selection->FormId); in SetupBrowser()
2398 if (Selection->Form == NULL) { in SetupBrowser()
2409 if (Selection->Form->SuppressExpression != NULL) { in SetupBrowser()
2410 …if (EvaluateExpressionList(Selection->Form->SuppressExpression, TRUE, Selection->FormSet, Selectio… in SetupBrowser()
2425 if (((Selection->Handle != mCurrentHiiHandle) || in SetupBrowser()
2426 (!CompareGuid (&Selection->FormSetGuid, &mCurrentFormSetGuid)) || in SetupBrowser()
2427 (Selection->FormId != mCurrentFormId))) { in SetupBrowser()
2436 mCurrentHiiHandle = Selection->Handle; in SetupBrowser()
2437 CopyGuid (&mCurrentFormSetGuid, &Selection->FormSetGuid); in SetupBrowser()
2438 mCurrentFormId = Selection->FormId; in SetupBrowser()
2441 …Status = ProcessCallBackFunction (Selection, Selection->FormSet, Selection->Form, NULL, EFI_BROWSE… in SetupBrowser()
2450 Selection->Action = UI_ACTION_REFRESH_FORMSET; in SetupBrowser()
2460 Status = LoadFormSetConfig (Selection, Selection->FormSet); in SetupBrowser()
2472 …Status = ProcessCallBackFunction (Selection, Selection->FormSet, Selection->Form, NULL, EFI_BROWSE… in SetupBrowser()
2481 Selection->Action = UI_ACTION_REFRESH_FORMSET; in SetupBrowser()
2499 Statement = Selection->Statement; in SetupBrowser()
2504 …Status = ProcessCallBackFunction(Selection, Selection->FormSet, Selection->Form, Statement, EFI_BR… in SetupBrowser()
2510 Status = ProcessGotoOpCode(Statement, Selection); in SetupBrowser()
2520 Selection->Handle = mCurrentHiiHandle; in SetupBrowser()
2521 CopyMem (&Selection->FormSetGuid, &mCurrentFormSetGuid, sizeof (EFI_GUID)); in SetupBrowser()
2522 Selection->FormId = mCurrentFormId; in SetupBrowser()
2523 Selection->QuestionId = 0; in SetupBrowser()
2524 Selection->Action = UI_ACTION_REFRESH_FORM; in SetupBrowser()
2535 …ProcessCallBackFunction(Selection, Selection->FormSet, Selection->Form, Statement, EFI_BROWSER_ACT… in SetupBrowser()
2578 Selection->Action = UI_ACTION_EXIT; in SetupBrowser()
2583 FindNextMenu (Selection, gBrowserSettingScope); in SetupBrowser()
2598 ((Selection->Action == UI_ACTION_EXIT) || in SetupBrowser()
2599 (Selection->Handle != mCurrentHiiHandle) || in SetupBrowser()
2600 (!CompareGuid (&Selection->FormSetGuid, &mCurrentFormSetGuid)) || in SetupBrowser()
2601 (Selection->FormId != mCurrentFormId))) { in SetupBrowser()
2603 …Status = ProcessCallBackFunction (Selection, Selection->FormSet, Selection->Form, NULL, EFI_BROWSE… in SetupBrowser()
2608 } while (Selection->Action == UI_ACTION_REFRESH_FORM); in SetupBrowser()
2614 if (EFI_ERROR (Status) || Selection->Action == UI_ACTION_EXIT) { in SetupBrowser()