/Zephyr-Core-3.6.0/tests/net/vlan/src/ |
D | main.c | 516 struct ethernet_context *eth_ctx; in test_vlan_enable() local 525 eth_ctx = net_if_l2_data(eth_interfaces[0]); in test_vlan_enable() 537 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_enable() 540 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[1]); in test_vlan_enable() 543 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[2]); in test_vlan_enable() 546 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[3]); in test_vlan_enable() 561 struct ethernet_context *eth_ctx; in test_vlan_disable() local 570 eth_ctx = net_if_l2_data(eth_interfaces[0]); in test_vlan_disable() 582 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_disable() 585 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[1]); in test_vlan_disable() [all …]
|
/Zephyr-Core-3.6.0/subsys/net/l2/ethernet/dsa/ |
D | dsa.c | 188 struct ethernet_context *eth_ctx; in dsa_get_slave_port() local 191 eth_ctx = net_if_l2_data(iface); in dsa_get_slave_port() 192 if (eth_ctx == NULL) { in dsa_get_slave_port() 197 dsa_ctx = eth_ctx->dsa_ctx; in dsa_get_slave_port()
|
/Zephyr-Core-3.6.0/tests/net/ptp/clock/src/ |
D | main.c | 190 struct eth_context *eth_ctx = ptp_ctx->eth_context; in my_ptp_clock_set() local 192 if (ð_context_3 != eth_ctx && ð_context_2 != eth_ctx) { in my_ptp_clock_set() 196 memcpy(ð_ctx->time, tm, sizeof(struct net_ptp_time)); in my_ptp_clock_set() 204 struct eth_context *eth_ctx = ptp_ctx->eth_context; in my_ptp_clock_get() local 206 memcpy(tm, ð_ctx->time, sizeof(struct net_ptp_time)); in my_ptp_clock_get() 214 struct eth_context *eth_ctx = ptp_ctx->eth_context; in my_ptp_clock_adjust() local 216 eth_ctx->time.nanosecond += increment; in my_ptp_clock_adjust()
|
/Zephyr-Core-3.6.0/subsys/net/lib/shell/ |
D | iface.c | 141 struct ethernet_context *eth_ctx; in iface_cb() local 290 eth_ctx = net_if_l2_data(iface); in iface_cb() 292 if (eth_ctx->vlan_enabled) { in iface_cb() 294 if (eth_ctx->vlan[i].iface != iface || in iface_cb() 295 eth_ctx->vlan[i].tag == in iface_cb() 301 eth_ctx->vlan[i].tag, in iface_cb() 302 eth_ctx->vlan[i].tag); in iface_cb()
|
D | net_shell.c | 147 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in iface2str() local 149 if (eth_ctx->eth_if_type == L2_ETH_IF_TYPE_WIFI) { in iface2str()
|
/Zephyr-Core-3.6.0/tests/net/wifi/wifi_nm/src/ |
D | main.c | 50 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in wifi_iface_init() local 56 eth_ctx->eth_if_type = L2_ETH_IF_TYPE_WIFI; in wifi_iface_init()
|
/Zephyr-Core-3.6.0/drivers/ethernet/ |
D | eth_mcux.c | 251 struct eth_context *eth_ctx = dev->data; in eth_mcux_device_pm_action() local 254 if (!device_is_ready(eth_ctx->clock_dev)) { in eth_mcux_device_pm_action() 265 ret = net_if_suspend(eth_ctx->iface); in eth_mcux_device_pm_action() 270 eth_mcux_phy_enter_reset(eth_ctx); in eth_mcux_device_pm_action() 271 eth_mcux_phy_stop(eth_ctx); in eth_mcux_device_pm_action() 273 ENET_Reset(eth_ctx->base); in eth_mcux_device_pm_action() 274 ENET_Deinit(eth_ctx->base); in eth_mcux_device_pm_action() 275 clock_control_off(eth_ctx->clock_dev, in eth_mcux_device_pm_action() 276 (clock_control_subsys_t)eth_ctx->clock); in eth_mcux_device_pm_action() 281 clock_control_on(eth_ctx->clock_dev, in eth_mcux_device_pm_action() [all …]
|
D | eth_nxp_enet.c | 154 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in eth_get_ptp_data() local 157 if (net_eth_is_vlan_enabled(eth_ctx, iface)) { in eth_get_ptp_data()
|
D | eth_sam_gmac.c | 544 struct ethernet_context *eth_ctx; in check_gptp_msg() local 549 eth_ctx = net_if_l2_data(iface); in check_gptp_msg() 550 if (net_eth_is_vlan_enabled(eth_ctx, iface)) { in check_gptp_msg() 561 ARG_UNUSED(eth_ctx); in check_gptp_msg()
|
D | eth_stm32_hal.c | 292 struct ethernet_context *eth_ctx; in eth_is_ptp_pkt() local 294 eth_ctx = net_if_l2_data(iface); in eth_is_ptp_pkt() 295 if (net_eth_is_vlan_enabled(eth_ctx, iface)) { in eth_is_ptp_pkt()
|
/Zephyr-Core-3.6.0/drivers/wifi/esp32/src/ |
D | esp_wifi_drv.c | 583 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in esp32_wifi_init() local 585 eth_ctx->eth_if_type = L2_ETH_IF_TYPE_WIFI; in esp32_wifi_init()
|
/Zephyr-Core-3.6.0/drivers/wifi/infineon/ |
D | airoc_wifi.c | 399 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in airoc_mgmt_init() local 401 eth_ctx->eth_if_type = L2_ETH_IF_TYPE_WIFI; in airoc_mgmt_init()
|
/Zephyr-Core-3.6.0/tests/net/checksum_offload/src/ |
D | main.c | 509 struct eth_context *eth_ctx = in iface_cb() local 512 if (eth_ctx == ð_context_offloading_disabled) { in iface_cb() 517 if (eth_ctx == ð_context_offloading_enabled) { in iface_cb()
|