Lines Matching defs:IfDesc
82 Create an interface for the descriptor IfDesc. Each
86 @param IfDesc The interface descriptor.
94 IN USB_INTERFACE_DESC *IfDesc
110 UsbIf->IfDesc = IfDesc;
111 ASSERT (IfDesc->ActiveIndex < USB_MAX_INTERFACE_SETTING);
112 UsbIf->IfSetting = IfDesc->Settings[IfDesc->ActiveIndex];
307 @param IfDesc The interface descriptor to set.
316 IN USB_INTERFACE_DESC *IfDesc,
328 for (Index = 0; Index < IfDesc->NumOfSetting; Index++) {
330 Setting = IfDesc->Settings[Index];
337 if (Index == IfDesc->NumOfSetting) {
341 IfDesc->ActiveIndex = Index;
378 USB_INTERFACE_DESC *IfDesc;
414 IfDesc = ConfigDesc->Interfaces[Index];
415 UsbSelectSetting (IfDesc, IfDesc->Settings[0]->Desc.AlternateSetting);