Home
last modified time | relevance | path

Searched refs:get_iface (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/drivers/ethernet/
Deth_nxp_s32_netc.c46 static inline struct net_if *get_iface(struct nxp_s32_eth_data *ctx) in get_iface() function
197 eth_stats_update_errors_rx(get_iface(ctx)); in nxp_s32_eth_get_pkt()
226 res = net_recv_data(get_iface(ctx), pkt); in nxp_s32_eth_rx()
228 eth_stats_update_errors_rx(get_iface(ctx)); in nxp_s32_eth_rx()
Deth_e1000.c71 static struct net_if *get_iface(struct e1000_dev *ctx) in get_iface() function
186 net_recv_data(get_iface(dev), pkt); in e1000_isr()
188 eth_stats_update_errors_rx(get_iface(dev)); in e1000_isr()
Deth_nxp_s32_gmac.c66 static inline struct net_if *get_iface(struct eth_nxp_s32_data *ctx) in get_iface() function
433 eth_stats_update_errors_rx(get_iface(ctx)); in eth_nxp_s32_get_pkt()
457 res = net_recv_data(get_iface(ctx), pkt); in eth_nxp_s32_rx()
459 eth_stats_update_errors_rx(get_iface(ctx)); in eth_nxp_s32_rx()
Deth_nxp_enet.c134 static inline struct net_if *get_iface(struct nxp_enet_mac_data *data) in get_iface() function
399 if (eth_get_ptp_data(get_iface(data), pkt)) { in eth_nxp_enet_rx()
417 iface = get_iface(data); in eth_nxp_enet_rx()
438 eth_stats_update_errors_rx(get_iface(data)); in eth_nxp_enet_rx()
Deth_stm32_hal.c579 static struct net_if *get_iface(struct eth_stm32_hal_dev_data *ctx) in get_iface() function
657 pkt = net_pkt_rx_alloc_with_buffer(get_iface(dev_data), in eth_rx()
731 eth_stats_update_errors_rx(get_iface(dev_data)); in eth_rx()
766 net_eth_carrier_on(get_iface(dev_data)); in rx_thread()
791 get_iface(dev_data)); in rx_thread()
797 get_iface(dev_data)); in rx_thread()
Deth_enc28j60.c461 static struct net_if *get_iface(struct eth_enc28j60_runtime *ctx) in get_iface() function
561 pkt = net_pkt_rx_alloc_with_buffer(get_iface(context), frm_len, in enc28j60_read_packet()
565 eth_stats_update_errors_rx(get_iface(context)); in enc28j60_read_packet()
Deth_sam_gmac.c690 static inline struct net_if *get_iface(struct eth_sam_dev_data *ctx) in get_iface() function
734 hdr = check_gptp_msg(get_iface(dev_data), in tx_completed()
1354 hdr = check_gptp_msg(get_iface(dev_data), rx_frame, false); in eth_rx()
1363 if (net_recv_data(get_iface(dev_data), rx_frame) < 0) { in eth_rx()
1364 eth_stats_update_errors_rx(get_iface(dev_data)); in eth_rx()
1563 hdr = check_gptp_msg(get_iface(dev_data), pkt, true); in eth_tx()
Deth_xmc4xxx.c132 static inline struct net_if *get_iface(struct eth_xmc4xxx_data *ctx) in get_iface() function
489 if (net_recv_data(get_iface(dev_data), pkt) < 0) { in eth_xmc4xxx_handle_rx()
490 eth_stats_update_errors_rx(get_iface(dev_data)); in eth_xmc4xxx_handle_rx()
/Zephyr-latest/drivers/net/
Dslip.c137 static inline struct net_if *get_iface(struct slip_context *context, in get_iface() function
180 if (net_recv_data(get_iface(slip, vlan_tag), pkt) < 0) { in process_msg()