abstraction library source file (HDMI driver).
More...
Detailed Description
abstraction library source file (HDMI driver).
These function is executed in user space.
- Attention:
- This program is provided as is. You can redistribute it and/or modify it. Fujitsu Semiconductor Limited accepts no responsibility or liability for any errors or omissions.
Copyright (C) 2008-2010 Fujitsu Semiconductor Limited, All Rights Reserved.
Function Documentation
open method. This function is called with the systemcall "open".
- Parameters:
-
| id | The device identifier. |
| flags | This parameter indicate a open mode (read only/write only/read-write).
This implementation supports only read-write mode. |
| argptr | argument pointer (NULL) |
- Return values:
-
| >=0 | process OK, new file descriptor is returned. |
| <0 | process fails, its value is set to errno. |
release method. This function is called with the systemcall "close".
- Parameters:
-
| id | The identifier for this descriptor. |
- Return values:
-
| 0 | process OK |
| <0 | process fails, its value is set to errno. |
ioctl method. This function is called with the systemcall "ioctl".
- Parameters:
-
| id | The identifier for this descriptor. |
| cmd | The ioctl command. |
| pArg | The pointer to the argument of the ioctl command. |
- Return values:
-
| 0 | process OK |
| <0 | process fails, its value is set to errno. |
ioctl command(
cmd) type:
- FAPEX_IOCCOM_HDMI_CHECK_HPD
check HPD status.
Set pointer of status data field (int32_t) to pArg.
The status value (bit6: HPD_int bit5: RSEN_int bit2: HPD_status bit1: RSEN_status) will be set to this field.
- FAPEX_IOCCOM_HDMI_READ_EDID
read the EDID status.
Set pointer of status data field (int32_t) to pArg.
The status value will be one of following.
- FAPEX_IOCCOM_HDMI_GET_EDID_PHYSADDR
get the physical address in EDID.
Set pointer of address data field (uint32_t) to pArg.
The physical address value will be set to this field.
- FAPEX_IOCCOM_HDMI_LINK_HDCP
Linkage HDCP.
Set pointer of status data field (int32_t) to pArg.
The linkage status value will be one of following.