PDK API Guide for J721E
icssg_tas_priv.h File Reference

Introduction

This file contains the private type definitions and helper macros for the ICSSG Tas driver.

Go to the source code of this file.

Data Structures

struct  IcssgTas_FwList
 TAS List Structure based on firmware memory map. More...
 
struct  IcssgTas_Obj
 ICSSG Tas object. More...
 

Typedefs

typedef struct IcssgTas_Obj_s * IcssgTas_Handle
 ICSSG Tas handle. More...
 

Functions

int32_t IcssgTas_open (EnetMod_Handle hMod, Enet_Type enetType, uint32_t instId, const void *cfg, uint32_t cfgSize)
 Open and initialize Tas module. More...
 
int32_t IcssgTas_rejoin (EnetMod_Handle hMod, Enet_Type enetType, uint32_t instId)
 Rejoin a running Tas module. More...
 
int32_t IcssgTas_ioctl (EnetMod_Handle hMod, uint32_t cmd, Enet_IoctlPrms *prms)
 Run an IOCTL operation on the Tas module. More...
 
void IcssgTas_close (EnetMod_Handle hMod)
 Close ICSSG Tas module. More...
 

Typedef Documentation

◆ IcssgTas_Handle

typedef struct IcssgTas_Obj_s* IcssgTas_Handle

ICSSG Tas handle.

Function Documentation

◆ IcssgTas_open()

int32_t IcssgTas_open ( EnetMod_Handle  hMod,
Enet_Type  enetType,
uint32_t  instId,
const void *  cfg,
uint32_t  cfgSize 
)

Open and initialize Tas module.

Opens and initializes the ICSSG Tas module. This functions doesn't expect any config structure, cfgSize must be set to 0.

Parameters
hModEnet Module handle
enetTypeEnet Peripheral type
instIdEnet Peripheral instance id
cfgConfiguration parameters, must be set to NULL
cfgSizeSize of the configuration parameters, must be set to 0
Returns
ENET_SOK or Enet_ErrorCodes in case of any failure

◆ IcssgTas_rejoin()

int32_t IcssgTas_rejoin ( EnetMod_Handle  hMod,
Enet_Type  enetType,
uint32_t  instId 
)

Rejoin a running Tas module.

This operation is not currently supported.

Parameters
hModEnet Module handle
enetTypeEnet Peripheral type
instIdEnet Peripheral instance id
Return values
ENET_ENOTSUPPORTED

◆ IcssgTas_ioctl()

int32_t IcssgTas_ioctl ( EnetMod_Handle  hMod,
uint32_t  cmd,
Enet_IoctlPrms *  prms 
)

Run an IOCTL operation on the Tas module.

Runs a Enet Tas IOCTL operation on the ICSSG Tas module.

Parameters
hModEnet Module handle
cmdIOCTL command Id
prmsIOCTL parameters
Returns
ENET_SOK or Enet_ErrorCodes in case of any failure

◆ IcssgTas_close()

void IcssgTas_close ( EnetMod_Handle  hMod)

Close ICSSG Tas module.

Parameters
hModEnet Module handle