/Zephyr-latest/tests/net/vlan/src/ |
D | main.c | 578 struct ethernet_context *eth_ctx; in test_vlan_enable() local 591 eth_ctx = net_if_l2_data(eth_interfaces[0]); in test_vlan_enable() 613 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_enable() 616 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[1]); in test_vlan_enable() 653 struct ethernet_context *eth_ctx; in test_vlan_disable() local 672 eth_ctx = net_if_l2_data(eth_interfaces[0]); in test_vlan_disable() 680 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_disable() 683 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[1]); in test_vlan_disable() 698 struct ethernet_context *eth_ctx; in test_vlan_enable_all() local 711 eth_ctx = net_if_l2_data(eth_interfaces[0]); in test_vlan_enable_all() [all …]
|
/Zephyr-latest/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-latest/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-latest/subsys/net/l2/ethernet/ |
D | bridge.c | 92 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in eth_bridge_iface_add() local 109 if (eth_ctx->bridge == br) { in eth_bridge_iface_add() 117 eth_ctx->bridge = br; in eth_bridge_iface_add() 157 NET_INFO("Bridge %d is %ssetup", net_if_get_by_iface(eth_ctx->bridge), ""); in eth_bridge_iface_add() 170 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in eth_bridge_iface_remove() local 188 eth_ctx->bridge = NULL; in eth_bridge_iface_remove()
|
/Zephyr-latest/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-latest/subsys/net/lib/shell/ |
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-latest/drivers/ethernet/nxp_enet/ |
D | eth_mcux.c | 247 struct eth_context *eth_ctx = dev->data; in eth_mcux_device_pm_action() local 250 if (!device_is_ready(eth_ctx->clock_dev)) { in eth_mcux_device_pm_action() 261 ret = net_if_suspend(eth_ctx->iface); in eth_mcux_device_pm_action() 266 eth_mcux_phy_enter_reset(eth_ctx); in eth_mcux_device_pm_action() 267 eth_mcux_phy_stop(eth_ctx); in eth_mcux_device_pm_action() 269 ENET_Reset(eth_ctx->base); in eth_mcux_device_pm_action() 270 ENET_Deinit(eth_ctx->base); in eth_mcux_device_pm_action() 271 clock_control_off(eth_ctx->clock_dev, in eth_mcux_device_pm_action() 272 (clock_control_subsys_t)eth_ctx->clock); in eth_mcux_device_pm_action() 277 clock_control_on(eth_ctx->clock_dev, in eth_mcux_device_pm_action() [all …]
|
D | eth_nxp_enet.c | 143 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in eth_get_ptp_data() local 146 if (net_eth_is_vlan_enabled(eth_ctx, iface)) { in eth_get_ptp_data()
|
/Zephyr-latest/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()
|
/Zephyr-latest/drivers/wifi/infineon/ |
D | airoc_wifi.c | 445 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in airoc_mgmt_init() local 447 eth_ctx->eth_if_type = L2_ETH_IF_TYPE_WIFI; in airoc_mgmt_init()
|
/Zephyr-latest/drivers/wifi/nxp/ |
D | nxp_wifi_drv.c | 1576 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in nxp_wifi_sta_init() local 1579 eth_ctx->eth_if_type = L2_ETH_IF_TYPE_WIFI; in nxp_wifi_sta_init() 1616 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in nxp_wifi_uap_init() local 1620 eth_ctx->eth_if_type = L2_ETH_IF_TYPE_WIFI; in nxp_wifi_uap_init()
|
/Zephyr-latest/drivers/wifi/esp32/src/ |
D | esp_wifi_drv.c | 833 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in esp32_wifi_init() local 835 eth_ctx->eth_if_type = L2_ETH_IF_TYPE_WIFI; in esp32_wifi_init()
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | net_if.c | 602 struct ethernet_context *eth_ctx = net_if_l2_data(iface); in nrf_wifi_if_init_zep() local 637 eth_ctx->eth_if_type = L2_ETH_IF_TYPE_WIFI; in nrf_wifi_if_init_zep()
|