13#ifndef ZEPHYR_INCLUDE_DRIVERS_ETH_NXP_ENET_H__
14#define ZEPHYR_INCLUDE_DRIVERS_ETH_NXP_ENET_H__
39enum nxp_enet_callback_reason {
40 NXP_ENET_MODULE_RESET,
42 NXP_ENET_INTERRUPT_ENABLED,
51struct nxp_enet_ptp_data {
52 struct k_sem ptp_ts_sem;
53 struct k_mutex *ptp_mutex;
58#ifdef CONFIG_MDIO_NXP_ENET
59extern void nxp_enet_mdio_callback(
const struct device *mdio_dev,
60 enum nxp_enet_callback_reason event,
63#define nxp_enet_mdio_callback(...)
66#ifdef CONFIG_PTP_CLOCK_NXP_ENET
67extern void nxp_enet_ptp_clock_callback(
const struct device *dev,
68 enum nxp_enet_callback_reason event,
71#define nxp_enet_ptp_clock_callback(...)
82extern void nxp_enet_driver_cb(
const struct device *dev,
83 enum nxp_enet_driver dev_type,
84 enum nxp_enet_callback_reason event,
APIs and macros for the Zephyr device model.
Runtime device structure (in ROM) per driver instance.
Definition device.h:543