TianoCore EDK2 master
Loading...
Searching...
No Matches
I2cDxe.c File Reference
#include "I2cDxe.h"

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI InitializeI2c (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS EFIAPI I2cUnload (IN EFI_HANDLE ImageHandle)
 

Detailed Description

This file implements the entrypoint and unload function for I2C DXE module.

Copyright (c) 2013, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file I2cDxe.c.

Function Documentation

◆ I2cUnload()

EFI_STATUS EFIAPI I2cUnload ( IN EFI_HANDLE  ImageHandle)

This is the unload handle for I2C module.

Disconnect the driver specified by ImageHandle from all the devices in the handle database. Uninstall all the protocols installed in the driver entry point.

Parameters
[in]ImageHandleThe drivers' driver image.
Return values
EFI_SUCCESSThe image is unloaded.
OthersFailed to unload the image.

Definition at line 55 of file I2cDxe.c.

◆ InitializeI2c()

EFI_STATUS EFIAPI InitializeI2c ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

The user Entry Point for I2C module. The user code starts with this function.

Parameters
[in]ImageHandleThe firmware allocated handle for the EFI image.
[in]SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe entry point is executed successfully.
otherSome error occurs when executing this entry point.

Definition at line 23 of file I2cDxe.c.