Go to the source code of this file.
Data Structures | |
struct | ICSS_EMAC_FwStaticMmap |
ICSS EMAC Static Firmware Memory Map offsets. More... | |
struct | ICSS_EMAC_FwDynamicMmap |
ICSS EMAC Dynamic Firmware Memory Map offsets. More... | |
struct | ICSS_EMAC_FwVlanFilterParams |
ICSS EMAC VLAN Filtering Parameters. More... | |
struct | ICSS_EMAC_FwMulticastFilterParams |
ICSS EMAC Multicast Filtering Parameters. More... | |
struct | ICSS_EMAC_Attrs |
struct | ICSS_EMAC_InternalObject |
Opaque ICSS EMAC driver object. More... | |
struct | ICSS_EMAC_Config |
Base EMAC handle containing pointers to all modules required for driver to work. More... | |
struct | ICSS_EMAC_CallBackConfig |
Generic callback configuration for protocol specific callbacks. More... | |
struct | ICSS_EMAC_CallBackObject |
struct | ICSS_EMAC_Params |
ICSS_EMAC Parameters. More... | |
struct | ICSS_EMAC_RxArgument |
Rx packet processing information block that needs to passed into call to ICSS_EMAC_RxPktGet. More... | |
struct | ICSS_EMAC_TxArgument |
Tx packet processing information block that needs to passed into call to ICSS_EMAC_TxPacket. More... | |
struct | ICSS_EMAC_IoctlCmd |
IOCTL command members for configuring switch/EMAC. More... | |
struct | ICSS_EMAC_PruStatistics |
Statistics structure for capturing statistics on PRU. More... | |
Typedefs | |
typedef struct ICSS_EMAC_Config_s * | ICSS_EMAC_Handle |
Alias for ICSS EMAC Handle containing base addresses and modules. More... | |
typedef int32_t(* | ICSS_EMAC_CallBack) (void *arg0, void *arg1, void *arg2) |
definition for a generic protocol callback function More... | |
Functions | |
void | ICSS_EMAC_init (void) |
This function initializes the ICSS_EMAC module. More... | |
void | ICSS_EMAC_deinit (void) |
This function de-initializes the ICSS_EMAC module. More... | |
void | ICSS_EMAC_params_init (ICSS_EMAC_Params *params) |
Initialize the parmeters data structure with defaults. More... | |
ICSS_EMAC_Handle | ICSS_EMAC_open (uint32_t idx, const ICSS_EMAC_Params *params) |
API to initialize and configure ICSS in MAC/Switch Mode. More... | |
void | ICSS_EMAC_close (ICSS_EMAC_Handle icssEmacHandle) |
API to stop MAC/Switch Mode. More... | |
int32_t | ICSS_EMAC_ioctl (ICSS_EMAC_Handle icssEmacHandle, uint32_t ioctlCommand, uint8_t portNo, void *ioctlParams) |
IOCTL Function for ICSS EMAC. More... | |
int32_t | ICSS_EMAC_rxPktGet (ICSS_EMAC_RxArgument *rxArg, void *userArg) |
Retrieves a frame from a host queue and copies it in the allocated stack buffer. More... | |
int32_t | ICSS_EMAC_rxPktInfo (ICSS_EMAC_Handle icssEmacHandle, int32_t *portNumber, int32_t *queueNumber) |
API to retrieve the information about the received frame which is then used to dequeue the frame from the host queues. More... | |
int32_t | ICSS_EMAC_txPacket (const ICSS_EMAC_TxArgument *txArg, void *userArg) |
API to queue a frame which has to be transmitted on the specified port queue. More... | |