Fujitsu DTV/STB solution driver (FAPex driver) Documentation [V01L00R00]


fapex/abst_libttx.h File Reference

abstraction library header file (TTX driver) More...

Data Structures

struct  FAPEX_TTX_OpenParamStrT
 open parameters for the TTX driver More...

Defines

#define FAPEX_TTX_ERR_BASE   (FAPEX_TTX_MODULE_BASE + FAPEX_RET_ERR_BASE)
#define FAPEX_TTX_ERR_BAD_PARAMETER   (FAPEX_TTX_ERR_BASE + FAPEX_ERR_BAD_PARAMETER)
#define FAPEX_TTX_ERR_OUT_OF_MEMORY   (FAPEX_TTX_ERR_BASE + FAPEX_ERR_OUT_OF_MEMORY)
#define FAPEX_TTX_ERR_INVALID_STATUS   (FAPEX_TTX_ERR_BASE + FAPEX_ERR_INVALID_HANDLE)
#define FAPEX_IOCCOM_TTX_OPEN   _IOW(FAPEX_DEV_TYPE, FAPEX_IOCCOM_NB_TTX + 0, FAPEX_TTX_OpenParamStrT)
 ioctl specific command for the TTX driver

Functions

FAPEXOPENRET_T FAPEX_TTX_Open (FAPEXOPENARG1_T id, FAPEXOPENARG2_T flags, FAPEXOPENARG3_T argptr)
 open method. This function is called with the systemcall "open".
FAPEXRELRET_T FAPEX_TTX_Close (FAPEXRELARG1_T id)
 release method. This function is called with the systemcall "close".
FAPEXIOCRET_T FAPEX_TTX_Ioctl (FAPEXIOCARG1_T id, FAPEXIOCARG2_T cmd, FAPEXIOCARG3_T pArg)
 ioctl method. This function is called with the systemcall "ioctl".

Detailed Description

abstraction library header file (TTX driver)

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.


Define Documentation

#define FAPEX_TTX_ERR_BASE   (FAPEX_TTX_MODULE_BASE + FAPEX_RET_ERR_BASE)

FAPex TTX error code base value

#define FAPEX_TTX_ERR_BAD_PARAMETER   (FAPEX_TTX_ERR_BASE + FAPEX_ERR_BAD_PARAMETER)

Bad parameter passed.

#define FAPEX_TTX_ERR_OUT_OF_MEMORY   (FAPEX_TTX_ERR_BASE + FAPEX_ERR_OUT_OF_MEMORY)

Memory allocation failed.

#define FAPEX_TTX_ERR_INVALID_STATUS   (FAPEX_TTX_ERR_BASE + FAPEX_ERR_INVALID_HANDLE)

Invalid status.

#define FAPEX_IOCCOM_TTX_OPEN   _IOW(FAPEX_DEV_TYPE, FAPEX_IOCCOM_NB_TTX + 0, FAPEX_TTX_OpenParamStrT)

ioctl specific command for the TTX driver


Function Documentation

FAPEXOPENRET_T FAPEX_TTX_Open ( FAPEXOPENARG1_T  id,
FAPEXOPENARG2_T  flags,
FAPEXOPENARG3_T  argptr 
)

open method. This function is called with the systemcall "open".

Parameters:
idThe device identifier.
flagsThis parameter indicate a open mode (read only/write only/read-write).
This implementation supports only read-write mode.
argptrargument pointer (FAPEX_TTX_OpenParamStrT)
If descriptor for this 'id' has already been opened, this 'argptr' will be invalid.
Return values:
>=0process OK, new file descriptor is returned.
<0process fails, its value is set to errno.
FAPEXRELRET_T FAPEX_TTX_Close ( FAPEXRELARG1_T  id )

release method. This function is called with the systemcall "close".

Parameters:
idThe identifier for this descriptor.
Return values:
0process OK
<0process fails, its value is set to errno.
FAPEXIOCRET_T FAPEX_TTX_Ioctl ( FAPEXIOCARG1_T  id,
FAPEXIOCARG2_T  cmd,
FAPEXIOCARG3_T  pArg 
)

ioctl method. This function is called with the systemcall "ioctl".

Parameters:
idThe identifier for this descriptor.
cmdThe ioctl command.
pArgThe pointer to the argument of the ioctl command.
Return values:
0process OK
<0process fails, its value is set to errno.

ioctl command(cmd) type:



Copyright © 2006-2010 by Fujitsu Semiconductor Europe GmbH
Copyright © 2008-2010 by Fujitsu Semiconductor Limited

Disclaimer:
Please note that the use of this has been based on the terms and conditions of "DK Consent Letter (For Linux)" agreement between you and Fujitsu Semiconductor Limited.
The contents of this document may be revised without prior notice. Contact our sales department for confirmation. The information in this document are presented as is, no license is granted by implication or otherwise.
More...

FUJITSU sales representatives