Lines Matching refs:bp
67 struct efi_driver_binding_extended_protocol *bp =
83 controller_handle, bp->ops->protocol,
99 r = efi_close_protocol(controller_handle, bp->ops->protocol,
123 struct efi_driver_binding_extended_protocol *bp =
131 controller_handle, bp->ops->protocol,
147 ret = bp->ops->bind(bp, controller_handle, interface);
152 r = efi_close_protocol(controller_handle, bp->ops->protocol,
210 struct efi_driver_binding_extended_protocol *bp =
232 controller_handle, bp->ops->protocol,
251 ret = efi_close_protocol(controller_handle, bp->ops->protocol,
268 struct efi_driver_binding_extended_protocol *bp;
276 bp = calloc(1, sizeof(struct efi_driver_binding_extended_protocol));
277 if (!bp)
280 bp->bp.supported = efi_uc_supported;
281 bp->bp.start = efi_uc_start;
282 bp->bp.stop = efi_uc_stop;
283 bp->bp.version = 0xffffffff;
284 bp->ops = ops;
286 ret = efi_create_handle(&bp->bp.driver_binding_handle);
289 bp->bp.image_handle = bp->bp.driver_binding_handle;
290 ret = efi_add_protocol(bp->bp.driver_binding_handle,
291 &efi_guid_driver_binding_protocol, bp);
295 ret = ops->init(bp);
302 if (bp->bp.driver_binding_handle)
303 efi_delete_handle(bp->bp.driver_binding_handle);
304 free(bp);