/Zephyr-latest/tests/net/ptp/clock/src/ |
D | main.c | 77 struct eth_context { struct 85 static struct eth_context eth_context_1; argument 86 static struct eth_context eth_context_2; 87 static struct eth_context eth_context_3; 92 struct eth_context *context = dev->data; in eth_iface_init() 103 struct eth_context *context = dev->data; in eth_tx() 129 struct eth_context *context = dev->data; in eth_get_ptp_clock() 155 struct eth_context *context = dev->data; in eth_init() 184 struct eth_context *eth_context; member 190 struct eth_context *eth_ctx = ptp_ctx->eth_context; in my_ptp_clock_set() [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_native_posix.c | 51 struct eth_context { struct 172 struct eth_context *ctx = dev->data; in eth_send() 193 static struct net_linkaddr *eth_get_mac(struct eth_context *ctx) in eth_get_mac() 201 static struct net_pkt *prepare_pkt(struct eth_context *ctx, in prepare_pkt() 226 static int read_data(struct eth_context *ctx, int fd) in read_data() 257 struct eth_context *ctx = p1; in eth_rx() 278 static void create_rx_handler(struct eth_context *ctx) in create_rx_handler() 298 struct eth_context *ctx = net_if_get_device(iface)->data; in eth_iface_init() 396 struct eth_context *context = dev->data; in eth_get_ptp_clock() 405 struct eth_context *context = dev->data; in get_stats() [all …]
|
D | eth_smsc91x.c | 75 struct eth_context { struct 379 static void smsc_recv_pkt(struct eth_context *data) in smsc_recv_pkt() 556 struct eth_context *data = CONTAINER_OF(sc, struct eth_context, sc); in smsc_isr_task() 678 struct eth_context *data = dev->data; in phy_link_state_changed() 701 struct eth_context *data = dev->data; in eth_tx() 723 struct eth_context *data = dev->data; in eth_smsc_set_config() 752 struct eth_context *data = dev->data; in eth_initialize() 787 struct eth_context *data = dev->data; in eth_smsc_isr() 805 struct eth_context *data = (struct eth_context *)dev->data; in eth_init() 830 static struct eth_context eth_0_context; [all …]
|
D | eth_smsc911x.c | 47 struct eth_context { struct 425 struct eth_context *context = dev->data; in get_stats() 434 struct eth_context *context = dev->data; in eth_initialize() 560 struct eth_context *context = dev->data; in smsc_recv_pkt() 600 struct eth_context *context = dev->data; in eth_smsc911x_isr() 680 static struct eth_context eth_0_context;
|
D | eth_e1000.c | 323 struct e1000_dev *eth_context; member 368 struct e1000_dev *context = ptp_context->eth_context; in ptp_clock_e1000_rate_adjust() 424 struct e1000_dev *context = ptp_context->eth_context; in ptp_e1000_init() 434 .eth_context = DEVICE_DT_INST_GET(inst)->data, \
|
/Zephyr-latest/drivers/ethernet/nxp_enet/ |
D | eth_mcux.c | 161 struct eth_context { struct 241 static void eth_mcux_phy_enter_reset(struct eth_context *context); argument 242 void eth_mcux_phy_stop(struct eth_context *context); 247 struct eth_context *eth_ctx = dev->data; in eth_mcux_device_pm_action() 335 static inline struct net_if *get_iface(struct eth_context *ctx) in get_iface() 340 static void eth_mcux_phy_enter_reset(struct eth_context *context) in eth_mcux_phy_enter_reset() 355 static void eth_mcux_phy_start(struct eth_context *context) in eth_mcux_phy_start() 401 void eth_mcux_phy_stop(struct eth_context *context) in eth_mcux_phy_stop() 433 static void eth_mcux_phy_event(struct eth_context *context) in eth_mcux_phy_event() 602 struct eth_context *context = in eth_mcux_phy_work() [all …]
|
/Zephyr-latest/tests/net/tx_timestamp/src/ |
D | main.c | 81 struct eth_context { struct 86 static struct eth_context eth_context; variable 87 static struct eth_context eth_context2; 92 struct eth_context *context = dev->data; in eth_iface_init() 149 struct eth_context *context = dev->data; in eth_init() 157 ð_context, NULL, CONFIG_ETH_INIT_PRIORITY, &api_funcs,
|
/Zephyr-latest/tests/net/virtual/src/ |
D | main.c | 91 struct eth_context { struct 96 static struct eth_context eth_context; argument 104 struct eth_context *context = dev->data; in eth_iface_init() 115 struct eth_context *context = dev->data; in eth_tx() 117 zassert_equal_ptr(ð_context, context, in eth_tx() 119 eth_context, context); in eth_tx() 183 struct eth_context *context = dev->data; in eth_init() 192 ð_context, NULL, CONFIG_ETH_INIT_PRIORITY,
|
/Zephyr-latest/tests/net/vlan/src/ |
D | main.c | 104 struct eth_context { struct 111 static struct eth_context eth_vlan_context; argument 116 struct eth_context *context = dev->data; in eth_vlan_iface_init() 127 struct eth_context *context = dev->data; in eth_tx() 196 struct eth_context *context = dev->data; in eth_vlan_init() 210 struct eth_context *context = dev->data; in eth_init() 844 struct eth_context *ctx; in ZTEST()
|
/Zephyr-latest/tests/net/traffic_class/src/ |
D | main.c | 102 struct eth_context { struct 109 static struct eth_context eth_context; argument 114 struct eth_context *context = dev->data; in eth_iface_init() 262 struct eth_context *context = dev->data; in eth_init() 274 ð_context, NULL, CONFIG_ETH_INIT_PRIORITY, &api_funcs,
|
/Zephyr-latest/tests/net/checksum_offload/src/ |
D | main.c | 95 struct eth_context { struct 102 static struct eth_context eth_context_offloading_disabled; argument 103 static struct eth_context eth_context_offloading_enabled; 117 struct eth_context *context = dev->data; in eth_iface_init() 332 struct eth_context *context = dev->data; in eth_tx_offloading_disabled() 376 struct eth_context *context = dev->data; in eth_tx_offloading_enabled() 454 struct eth_context *context = dev->data; in eth_init() 509 struct eth_context *eth_ctx = in iface_cb() 639 struct eth_context *ctx; /* This is interface context */ in test_udp_context_prepare()
|