mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
MdePkg, MdeModulePkg: Remove EFI_ABORTED from I2C protocols per PI spec 1.4.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jie Lin <jie.lin@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17368 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c3afcf3a36
commit
1d956501fe
@ -2,7 +2,7 @@
|
|||||||
This file implements I2C IO Protocol which enables the user to manipulate a single
|
This file implements I2C IO Protocol which enables the user to manipulate a single
|
||||||
I2C device independent of the host controller and I2C design.
|
I2C device independent of the host controller and I2C design.
|
||||||
|
|
||||||
Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -1108,8 +1108,6 @@ RegisterI2cDevice (
|
|||||||
queued when Event is not NULL.
|
queued when Event is not NULL.
|
||||||
@retval EFI_SUCCESS The transaction completed successfully when
|
@retval EFI_SUCCESS The transaction completed successfully when
|
||||||
Event is NULL.
|
Event is NULL.
|
||||||
@retval EFI_ABORTED The request did not complete because the driver
|
|
||||||
binding Stop() routine was called.
|
|
||||||
@retval EFI_BAD_BUFFER_SIZE The RequestPacket->LengthInBytes value is too
|
@retval EFI_BAD_BUFFER_SIZE The RequestPacket->LengthInBytes value is too
|
||||||
large.
|
large.
|
||||||
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the
|
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
do I/O transactions to all of the devices on the I2C bus.
|
do I/O transactions to all of the devices on the I2C bus.
|
||||||
|
|
||||||
Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>
|
Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>
|
||||||
Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -896,8 +896,6 @@ I2cHostRequestEnable (
|
|||||||
completion status
|
completion status
|
||||||
|
|
||||||
@retval EFI_SUCCESS The operation completed successfully.
|
@retval EFI_SUCCESS The operation completed successfully.
|
||||||
@retval EFI_ABORTED The request did not complete because the driver
|
|
||||||
was shutdown.
|
|
||||||
@retval EFI_BAD_BUFFER_SIZE The WriteBytes or ReadBytes buffer size is too large.
|
@retval EFI_BAD_BUFFER_SIZE The WriteBytes or ReadBytes buffer size is too large.
|
||||||
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the operation.
|
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the operation.
|
||||||
This could indicate the slave device is not present.
|
This could indicate the slave device is not present.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
This protocol provides callers with the ability to do I/O transactions
|
This protocol provides callers with the ability to do I/O transactions
|
||||||
to all of the devices on the I2C bus.
|
to all of the devices on the I2C bus.
|
||||||
|
|
||||||
Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -72,12 +72,6 @@ typedef struct _EFI_I2C_HOST_PROTOCOL EFI_I2C_HOST_PROTOCOL;
|
|||||||
the I2C host protocol calls the I2C master protocol to start the
|
the I2C host protocol calls the I2C master protocol to start the
|
||||||
I2C transaction.
|
I2C transaction.
|
||||||
|
|
||||||
If the I2C host protocol has pending I2C transactions queued when
|
|
||||||
the driver binding Stop() routine is called then the I2C host
|
|
||||||
protocol completes all of the pending I2C transactions by returning
|
|
||||||
EFI_ABORTED status. This notifies the upper layers allowing them
|
|
||||||
to take corrective action or prepare to stop.
|
|
||||||
|
|
||||||
When Event is NULL, QueueRequest() operates synchronously and
|
When Event is NULL, QueueRequest() operates synchronously and
|
||||||
returns the I2C completion status as its return value.
|
returns the I2C completion status as its return value.
|
||||||
|
|
||||||
@ -107,8 +101,6 @@ typedef struct _EFI_I2C_HOST_PROTOCOL EFI_I2C_HOST_PROTOCOL;
|
|||||||
queued when Event is not NULL.
|
queued when Event is not NULL.
|
||||||
@retval EFI_SUCCESS The transaction completed successfully when
|
@retval EFI_SUCCESS The transaction completed successfully when
|
||||||
Event is NULL.
|
Event is NULL.
|
||||||
@retval EFI_ABORTED The request did not complete because the
|
|
||||||
driver binding Stop() routine was called.
|
|
||||||
@retval EFI_BAD_BUFFER_SIZE The RequestPacket->LengthInBytes value is
|
@retval EFI_BAD_BUFFER_SIZE The RequestPacket->LengthInBytes value is
|
||||||
too large.
|
too large.
|
||||||
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the
|
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
The EFI I2C I/O protocol enables the user to manipulate a single
|
The EFI I2C I/O protocol enables the user to manipulate a single
|
||||||
I2C device independent of the host controller and I2C design.
|
I2C device independent of the host controller and I2C design.
|
||||||
|
|
||||||
Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -100,8 +100,6 @@ typedef struct _EFI_I2C_IO_PROTOCOL EFI_I2C_IO_PROTOCOL;
|
|||||||
queued when Event is not NULL.
|
queued when Event is not NULL.
|
||||||
@retval EFI_SUCCESS The transaction completed successfully when
|
@retval EFI_SUCCESS The transaction completed successfully when
|
||||||
Event is NULL.
|
Event is NULL.
|
||||||
@retval EFI_ABORTED The request did not complete because the driver
|
|
||||||
binding Stop() routine was called.
|
|
||||||
@retval EFI_BAD_BUFFER_SIZE The RequestPacket->LengthInBytes value is too
|
@retval EFI_BAD_BUFFER_SIZE The RequestPacket->LengthInBytes value is too
|
||||||
large.
|
large.
|
||||||
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the
|
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user