PDK API Guide for J721E
cpsw_est_priv.h File Reference

Introduction

This file contains the private interface for CPSW peripheral EST feature.

Go to the source code of this file.

Data Structures

struct  Cpsw_EstState
 MAC port's EST state (ESTF state, period) More...
 

Functions

void Cpsw_enableEst (EnetPer_Handle hPer)
 Enable EST at peripheral level. More...
 
void Cpsw_disableEst (EnetPer_Handle hPer)
 Disable EST at peripheral level. More...
 
int32_t Cpsw_ioctlEst (EnetPer_Handle hPer, uint32_t cmd, Enet_IoctlPrms *prms)
 Run an EST/TAS IOCTL operation on CPSW peripheral. More...
 

Function Documentation

◆ Cpsw_enableEst()

void Cpsw_enableEst ( EnetPer_Handle  hPer)

Enable EST at peripheral level.

Parameters
hPerEnet Peripheral handle

◆ Cpsw_disableEst()

void Cpsw_disableEst ( EnetPer_Handle  hPer)

Disable EST at peripheral level.

Parameters
hPerEnet Peripheral handle

◆ Cpsw_ioctlEst()

int32_t Cpsw_ioctlEst ( EnetPer_Handle  hPer,
uint32_t  cmd,
Enet_IoctlPrms *  prms 
)

Run an EST/TAS IOCTL operation on CPSW peripheral.

Parameters
hPerEnet Peripheral handle
cmdIOCTL command Id
prmsIOCTL parameters
Returns
Enet_ErrorCodes