Home
last modified time | relevance | path

Searched refs:phy_link_state (Results 1 – 24 of 24) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dphy.h79 struct phy_link_state { struct
96 struct phy_link_state *state, argument
108 struct phy_link_state *state);
165 struct phy_link_state *state) in phy_get_link_state()
/Zephyr-latest/drivers/ethernet/phy/
Dphy_microchip_ksz8081.c55 struct phy_link_state state;
143 struct phy_link_state *state) in phy_mc_ksz8081_get_link()
151 struct phy_link_state old_state = data->state; in phy_mc_ksz8081_get_link()
208 if (memcmp(&old_state, state, sizeof(struct phy_link_state)) != 0) { in phy_mc_ksz8081_get_link()
329 struct phy_link_state state = {}; in phy_mc_ksz8081_cfg_link()
395 if (ret == 0 && memcmp(&state, &data->state, sizeof(struct phy_link_state)) != 0) { in phy_mc_ksz8081_cfg_link()
396 memcpy(&data->state, &state, sizeof(struct phy_link_state)); in phy_mc_ksz8081_cfg_link()
442 struct phy_link_state state = {}; in phy_mc_ksz8081_monitor_work_handler()
447 if (rc == 0 && memcmp(&state, &data->state, sizeof(struct phy_link_state)) != 0) { in phy_mc_ksz8081_monitor_work_handler()
448 memcpy(&data->state, &state, sizeof(struct phy_link_state)); in phy_mc_ksz8081_monitor_work_handler()
Dphy_adin2111_priv.h28 struct phy_link_state *state);
Dphy_realtek_rtl8211f.c72 struct phy_link_state state;
205 struct phy_link_state *state) in phy_rt_rtl8211f_get_link()
212 struct phy_link_state old_state = data->state; in phy_rt_rtl8211f_get_link()
213 struct phy_link_state new_state = {}; in phy_rt_rtl8211f_get_link()
266 if (memcmp(&old_state, &new_state, sizeof(struct phy_link_state)) != 0) { in phy_rt_rtl8211f_get_link()
276 memcpy(state, &new_state, sizeof(struct phy_link_state)); in phy_rt_rtl8211f_get_link()
450 struct phy_link_state state = {}; in phy_rt_rtl8211f_monitor_work_handler()
464 if (ret == 0 && memcmp(&state, &data->state, sizeof(struct phy_link_state)) != 0) { in phy_rt_rtl8211f_monitor_work_handler()
465 memcpy(&data->state, &state, sizeof(struct phy_link_state)); in phy_rt_rtl8211f_monitor_work_handler()
Dphy_ti_dp83825.c56 struct phy_link_state state;
162 static int phy_ti_dp83825_get_link(const struct device *dev, struct phy_link_state *state) in phy_ti_dp83825_get_link()
171 struct phy_link_state old_state = data->state; in phy_ti_dp83825_get_link()
228 if (memcmp(&old_state, state, sizeof(struct phy_link_state)) != 0) { in phy_ti_dp83825_get_link()
481 struct phy_link_state state = {}; in phy_ti_dp83825_monitor_work_handler()
495 if (ret == 0 && memcmp(&state, &data->state, sizeof(struct phy_link_state)) != 0) { in phy_ti_dp83825_monitor_work_handler()
496 memcpy(&data->state, &state, sizeof(struct phy_link_state)); in phy_ti_dp83825_monitor_work_handler()
Dphy_adin2111.c102 struct phy_link_state state;
260 struct phy_link_state *state) in phy_adin2111_handle_phy_irq()
282 memcpy(state, &data->state, sizeof(struct phy_link_state)); in phy_adin2111_handle_phy_irq()
338 struct phy_link_state *state) in phy_adin2111_get_link_state()
344 memcpy(state, &data->state, sizeof(struct phy_link_state)); in phy_adin2111_get_link_state()
380 struct phy_link_state state; in invoke_link_cb()
393 struct phy_link_state old_state; in update_link_state()
Dphy_mii.c34 struct phy_link_state state;
45 struct phy_link_state *state);
267 struct phy_link_state state; in invoke_link_cb()
392 struct phy_link_state *state) in phy_mii_get_link_state()
398 memcpy(state, &data->state, sizeof(struct phy_link_state)); in phy_mii_get_link_state()
Dphy_qualcomm_ar8031.c69 struct phy_link_state state;
73 static int qc_ar8031_get_link_state(const struct device *dev, struct phy_link_state *state);
222 struct phy_link_state state; in invoke_link_cb()
327 static int qc_ar8031_get_link_state(const struct device *dev, struct phy_link_state *state) in qc_ar8031_get_link_state()
333 memcpy(state, &data->state, sizeof(struct phy_link_state)); in qc_ar8031_get_link_state()
Dphy_dm8806.c34 struct phy_link_state state;
56 static void phy_dm8806_thread_cb(const struct device *dev, struct phy_link_state *state, in phy_dm8806_thread_cb()
79 struct phy_link_state *state = p3; in phy_dm8806_thread()
250 static int phy_dm8806_get_link_state(const struct device *dev, struct phy_link_state *state) in phy_dm8806_get_link_state()
Dphy_tja1103.c66 struct phy_link_state state;
180 static int phy_tja1103_get_link_state(const struct device *dev, struct phy_link_state *state) in phy_tja1103_get_link_state()
195 memcpy(state, &data->state, sizeof(struct phy_link_state)); in phy_tja1103_get_link_state()
205 struct phy_link_state state; in invoke_link_cb()
/Zephyr-latest/drivers/ethernet/
Deth_nxp_imx_netc_psi.c25 static void netc_eth_phylink_callback(const struct device *pdev, struct phy_link_state *state, in netc_eth_phylink_callback()
Deth_litex_liteeth.c231 struct phy_link_state *state, in phy_link_state_changed()
Deth_esp32.c190 struct phy_link_state *state, in phy_link_state_changed()
Deth_renesas_ra.c162 static void phy_link_state_changed(const struct device *pdev, struct phy_link_state *state, in phy_link_state_changed()
Deth_nxp_s32_gmac.c104 struct phy_link_state *state, in phy_link_state_changed()
234 struct phy_link_state state; in eth_nxp_s32_start()
Deth_nxp_s32_netc_psi.c60 struct phy_link_state *state, in phy_link_state_changed()
Deth_xmc4xxx.c600 static inline void eth_xmc4xxx_set_link(ETH_GLOBAL_TypeDef *regs, struct phy_link_state *state) in eth_xmc4xxx_set_link()
618 static void phy_link_state_changed(const struct device *phy_dev, struct phy_link_state *state, in phy_link_state_changed()
Deth_smsc91x.c674 static void phy_link_state_changed(const struct device *phy_dev, struct phy_link_state *state, in phy_link_state_changed()
Deth_adin2111.c632 struct phy_link_state state; in adin2111_port_on_phyint()
Deth_sam_gmac.c1765 struct phy_link_state *state, in phy_link_state_changed()
/Zephyr-latest/drivers/ethernet/nxp_enet/
Deth_nxp_enet.c475 struct phy_link_state *state,
526 struct phy_link_state state;
/Zephyr-latest/subsys/net/lib/shell/
Diface.c81 struct phy_link_state link; in print_phy_link_state()
/Zephyr-latest/drivers/ethernet/eth_nxp_enet_qos/
Deth_nxp_enet_qos_mac.c272 struct phy_link_state *state, void *eth_dev) in eth_nxp_enet_qos_phy_cb()
/Zephyr-latest/drivers/ethernet/dwc_xgmac/
Deth_dwc_xgmac.c1022 struct phy_link_state *state, void *user_data) in phy_link_state_change_callback()