Lines Matching defs:path
108 EFI_DEVICE_PATH *path;
131 * Look at each of the handles. If it supports the device path protocol,
132 * use it to get the device path for this handle. Then see if that
133 * device path matches either the USB device path for keyboards or the
134 * legacy device path for keyboards.
138 status = BS->HandleProtocol(*walker, &devid, (VOID **)&path);
142 while (!IsDevicePathEnd(path)) {
150 if (DevicePathType(path) == ACPI_DEVICE_PATH &&
151 (DevicePathSubType(path) == ACPI_DP ||
152 DevicePathSubType(path) == ACPI_EXTENDED_DP)) {
155 acpi = (ACPI_HID_DEVICE_PATH *)(void *)path;
166 } else if (DevicePathType(path) == MESSAGING_DEVICE_PATH &&
167 DevicePathSubType(path) == MSG_USB_CLASS_DP) {
170 usb = (USB_CLASS_DEVICE_PATH *)(void *)path;
178 path = NextDevicePathNode(path);
195 * fails, use the device path from the loaded image and see if
196 * any of the nodes in that path match one of the enumerated