Lines Matching defs:interface
17 * The test currently does not actually call the interface function.
20 struct interface {
36 static struct interface interface1;
37 static struct interface interface2;
38 static struct interface interface3;
39 static struct interface interface4;
136 struct interface *interface;
147 ret = boottime->handle_protocol(handle1, &guid3, (void **)&interface);
149 efi_st_error("HandleProtocol failed to retrieve interface\n");
152 if (interface != &interface3) {
153 efi_st_error("HandleProtocol returned wrong interface\n");
156 ret = boottime->handle_protocol(handle1, &guid2, (void **)&interface);
158 efi_st_error("HandleProtocol returned not installed interface\n");
256 ret = boottime->locate_protocol(&guid1, NULL, (void **)&interface);
261 if (interface != &interface1 && interface != &interface4) {
332 ret = boottime->handle_protocol(handle1, &guid1, (void **)&interface);