/Zephyr-Core-3.7.0/subsys/net/lib/shell/ |
D | iface.c | 75 static void print_phy_link_state(const struct shell *sh, const struct device *phy_dev) in print_phy_link_state() argument 80 ret = phy_get_link_state(phy_dev, &link); in print_phy_link_state() 333 const struct device *phy_dev = net_eth_get_phy(iface); in iface_cb() local 335 PR("Ethernet PHY device: %s (%p)\n", (phy_dev != NULL) ? phy_dev->name : "<none>", in iface_cb() 336 phy_dev); in iface_cb() 337 if (phy_dev != NULL) { in iface_cb() 338 print_phy_link_state(sh, phy_dev); in iface_cb()
|
/Zephyr-Core-3.7.0/drivers/ethernet/ |
D | eth_nxp_s32_gmac.c | 46 const struct device *phy_dev; member 141 return cfg->phy_dev; in eth_nxp_s32_get_phy() 246 if (cfg->phy_dev) { in eth_nxp_s32_start() 247 phy_get_link_state(cfg->phy_dev, &state); in eth_nxp_s32_start() 317 if (cfg->phy_dev == NULL) { in eth_nxp_s32_iface_init() 327 if (!device_is_ready(cfg->phy_dev)) { in eth_nxp_s32_iface_init() 329 cfg->phy_dev); in eth_nxp_s32_iface_init() 333 phy_link_callback_set(cfg->phy_dev, &phy_link_state_changed, (void *)dev); in eth_nxp_s32_iface_init() 808 .phy_dev = ETH_NXP_S32_PHY_DEV(n), \
|
D | eth_nxp_s32_netc_psi.c | 83 return cfg->phy_dev; in nxp_s32_eth_get_phy() 190 if (!device_is_ready(cfg->phy_dev)) { in nxp_s32_eth_iface_init() 192 cfg->phy_dev); in nxp_s32_eth_iface_init() 195 phy_link_callback_set(cfg->phy_dev, &phy_link_state_changed, (void *)dev); in nxp_s32_eth_iface_init() 419 .phy_dev = DEVICE_DT_GET(PHY_NODE(n)), \
|
D | eth_smsc91x.c | 72 const struct device *phy_dev; member 670 return cfg->phy_dev; in eth_get_phy() 673 static void phy_link_state_changed(const struct device *phy_dev, struct phy_link_state *state, in phy_link_state_changed() argument 753 const struct device *phy_dev = cfg->phy_dev; in eth_initialize() local 769 if (device_is_ready(phy_dev)) { in eth_initialize() 770 phy_link_callback_set(phy_dev, phy_link_state_changed, (void *)dev); in eth_initialize() 833 .phy_dev = DEVICE_DT_GET(DT_INST_PHANDLE(0, phy_handle)),
|
D | eth_xmc4xxx.c | 112 const struct device *phy_dev; member 618 static void phy_link_state_changed(const struct device *phy_dev, struct phy_link_state *state, in phy_link_state_changed() argument 642 return config->phy_dev; in eth_xmc4xxx_get_phy() 663 phy_link_callback_set(dev_cfg->phy_dev, &phy_link_state_changed, (void *)dev); in eth_xmc4xxx_iface_init() 813 if (!device_is_ready(dev_cfg->phy_dev)) { in eth_xmc4xxx_init() 987 .phy_dev = DEVICE_DT_GET(DT_INST_PHANDLE(0, phy_handle)),
|
D | eth_sam_gmac_priv.h | 269 const struct device *phy_dev; member
|
D | eth_esp32.c | 189 static void phy_link_state_changed(const struct device *phy_dev, in phy_link_state_changed() argument 196 ARG_UNUSED(phy_dev); in phy_link_state_changed()
|
D | eth_nxp_s32_netc_priv.h | 113 const struct device *phy_dev; member
|
D | eth_sam_gmac.c | 1799 return cfg->phy_dev; in eth_sam_gmac_get_phy() 1903 if (device_is_ready(cfg->phy_dev)) { in eth0_iface_init() 1904 phy_link_callback_set(cfg->phy_dev, &phy_link_state_changed, in eth0_iface_init() 2167 .phy_dev = DEVICE_DT_GET(DT_INST_PHANDLE(0, phy_handle))
|
/Zephyr-Core-3.7.0/drivers/ethernet/eth_nxp_enet_qos/ |
D | nxp_enet_qos_priv.h | 90 const struct device *phy_dev; member
|
D | eth_nxp_enet_qos_mac.c | 492 ret = phy_link_callback_set(config->phy_dev, eth_nxp_enet_qos_phy_cb, (void *)dev); in eth_nxp_enet_qos_mac_init() 568 return config->phy_dev; in eth_nxp_enet_qos_get_phy() 604 .phy_dev = DEVICE_DT_GET(DT_INST_PHANDLE(n, phy_handle)), \
|
/Zephyr-Core-3.7.0/drivers/ethernet/nxp_enet/ |
D | eth_nxp_enet.c | 90 const struct device *phy_dev; member 531 ret = nxp_enet_phy_configure(config->phy_dev, config->phy_mode); 536 ret = phy_link_callback_set(config->phy_dev, nxp_enet_phy_cb, (void *)dev); 615 return config->phy_dev; 987 .phy_dev = DEVICE_DT_GET(DT_INST_PHANDLE(n, phy_handle)), \
|