This file contains the type definitions and helper macros for the Enet MDIO module.
Go to the source code of this file.
Data Structures | |
struct | EnetMdio_C22ReadInArgs |
Input args for ENET_MDIO_IOCTL_C22_READ command. More... | |
struct | EnetMdio_C45ReadInArgs |
Input args for ENET_MDIO_IOCTL_C45_READ command. More... | |
struct | EnetMdio_C22WriteInArgs |
Input args for ENET_MDIO_IOCTL_C22_WRITE command. More... | |
struct | EnetMdio_C45WriteInArgs |
Input args for ENET_MDIO_IOCTL_C45_WRITE command. More... | |
Macros | |
#define | ENET_MDIO_FEAT_CLAUSE45 (ENET_BIT(0U)) |
MDIO feature mask for Clause-45 support. More... | |
#define | ENET_MDIO_FEAT_PHY_MONITOR (ENET_BIT(1U)) |
MDIO feature mask for PHY state change monitoring. More... | |
#define | ENET_MDIO_PUBLIC_IOCTL(x) |
Helper macro to create IOCTL commands for MDIO module. More... | |
#define | ENET_MDIO_PRIVATE_IOCTL(x) |
Helper macro to create private IOCTL commands for MDIO module. More... | |
#define | ENET_MDIO_PHY_ADDR_MASK(addr) (ENET_BIT(addr)) |
Create a MDIO PHY mask from a PHY address. More... | |
#define | ENET_MDIO_IS_PHY_ADDR_SET(mask, addr) (((mask) & ENET_BIT(addr)) != 0U) |
Check if the corresponding PHY address mask is set. More... | |
#define | ENET_MDIO_PHY_ADDR_MASK_NONE (0x00000000U) |
MDIO PHY address mask for no PHYs present. More... | |
#define | ENET_MDIO_PHY_ADDR_MASK_ALL (0xFFFFFFFFU) |
MDIO PHY address mask for all PHYs present. More... | |
#define | ENET_MDIO_PHY_CNT_MAX (31U) |
Maximum number of PHYs supported on the MDIO bus. More... | |