ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_etha_types.h File Reference

Per-port Ethernet Agent (ETHA) data types – HUM Ch 32 (p 1627-1702). More...

#include <stdint.h>
#include "ra8_etha_regs.h"
#include "ra8_rmac.h"
Include dependency graph for ra8_etha_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ra8_etha_config_t
 Per-port ETHA configuration knobs. More...
struct  ra8_etha_status_t
 Snapshot of an ETHA port's runtime state. More...
struct  ra8_etha_stats_t
 Per-port MIB counter snapshot. More...
struct  ra8_etha_ring_cfg_t
 Descriptor-ring configuration for ra8_etha_descriptor_ring_init. More...
struct  ra8_etha_port_stats_t
 Per-port runtime traffic counters maintained by ra8_etha. More...
struct  ra8_etha_phy_open_t
 PHY auto-negotiation parameters for ra8_etha_open. More...
struct  ra8_etha_vlan_tag_t
 802.1Q VLAN tag descriptor (used by::ra8_etha_set_vlan_tag). More...
struct  ra8_etha_cbs_param_t
 Credit-based shaper parameters per traffic class. More...
struct  ra8_etha_tas_entry_t
 One TAS (802.1Qbv) RAM entry, exactly as HUM Table 32.6 defines it. More...
struct  ra8_etha_tas_queue_t
 The gate-control list of one descriptor queue. More...

Typedefs

typedef void(* ra8_etha_event_fn_t) (void *ctx, ra8_etha_port_t port, uint32_t eaeis0, uint32_t eaeis1, uint32_t eaeis2)
 ETHA per-port event callback.

Detailed Description

Per-port Ethernet Agent (ETHA) data types – HUM Ch 32 (p 1627-1702).

Tag
[Ring 3 / HAL] {World: NS}

Configuration / status / statistics / descriptor structures and the event-callback typedef shared by every ETHA entry point. Split out of the umbrella ra8_etha.h so that header stays under the per-file line budget; this is a pure move of the original declarations. The register enums these structs reference (ra8_etha_opc_t, ra8_etha_ops_t, ra8_etha_port_t,...) live in ra8_etha_regs.h, and the PHY link / advertise types come from ra8_rmac.h.

Since
0.1.0

Definition in file ra8_etha_types.h.

Typedef Documentation

◆ ra8_etha_event_fn_t

typedef void(* ra8_etha_event_fn_t) (void *ctx, ra8_etha_port_t port, uint32_t eaeis0, uint32_t eaeis1, uint32_t eaeis2)

ETHA per-port event callback.

Parameters
[in]ctxCaller-supplied opaque cookie.
[in]portPort that raised the event.
[in]eaeis0Snapshot of EAEIS0 at dispatch time.
[in]eaeis1Snapshot of EAEIS1 at dispatch time.
[in]eaeis2Snapshot of EAEIS2 at dispatch time.

Definition at line 210 of file ra8_etha_types.h.