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;
57#ifdef CONFIG_MDIO_NXP_ENET
58extern void nxp_enet_mdio_callback(
const struct device *mdio_dev,
59 enum nxp_enet_callback_reason event,
62#define nxp_enet_mdio_callback(...)
65#ifdef CONFIG_PTP_CLOCK_NXP_ENET
66extern void nxp_enet_ptp_clock_callback(
const struct device *dev,
67 enum nxp_enet_callback_reason event,
70#define nxp_enet_ptp_clock_callback(...)
81extern void nxp_enet_driver_cb(
const struct device *dev,
82 enum nxp_enet_driver dev_type,
83 enum nxp_enet_callback_reason event,
Runtime device structure (in ROM) per driver instance.
Definition device.h:513