| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 290 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() argument 295 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() argument 300 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32() argument 311 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() argument 327 _mtk_mdio_write_c22(struct mtk_eth * eth,u32 phy_addr,u32 phy_reg,u32 write_data) _mtk_mdio_write_c22() argument 351 _mtk_mdio_write_c45(struct mtk_eth * eth,u32 phy_addr,u32 devad,u32 phy_reg,u32 write_data) _mtk_mdio_write_c45() argument 387 _mtk_mdio_read_c22(struct mtk_eth * eth,u32 phy_addr,u32 phy_reg) _mtk_mdio_read_c22() argument 409 _mtk_mdio_read_c45(struct mtk_eth * eth,u32 phy_addr,u32 devad,u32 phy_reg) _mtk_mdio_read_c45() argument 447 struct mtk_eth *eth = bus->priv; mtk_mdio_write_c22() local 455 struct mtk_eth *eth = bus->priv; mtk_mdio_write_c45() local 462 struct mtk_eth *eth = bus->priv; mtk_mdio_read_c22() local 470 struct mtk_eth *eth = bus->priv; mtk_mdio_read_c45() local 475 mt7621_gmac0_rgmii_adjust(struct mtk_eth * eth,phy_interface_t interface) mt7621_gmac0_rgmii_adjust() argument 489 mtk_gmac0_rgmii_adjust(struct mtk_eth * eth,phy_interface_t interface) mtk_gmac0_rgmii_adjust() argument 505 mtk_setup_bridge_switch(struct mtk_eth * eth) mtk_setup_bridge_switch() argument 523 struct mtk_eth *eth = mac->hw; mtk_mac_select_pcs() local 542 struct mtk_eth *eth = mac->hw; mtk_mac_prepare() local 562 struct mtk_eth *eth = mac->hw; mtk_mac_config() local 698 struct mtk_eth *eth = mac->hw; mtk_mac_finish() local 740 mtk_set_queue_speed(struct mtk_eth * eth,unsigned int idx,int speed) mtk_set_queue_speed() argument 902 struct mtk_eth *eth = mac->hw; mtk_mac_disable_tx_lpi() local 912 struct mtk_eth *eth = mac->hw; mtk_mac_enable_tx_lpi() local 982 mtk_mdio_config(struct mtk_eth * eth) mtk_mdio_config() argument 998 mtk_mdio_init(struct mtk_eth * eth) mtk_mdio_init() argument 1045 mtk_mdio_cleanup(struct mtk_eth * eth) mtk_mdio_cleanup() argument 1053 mtk_tx_irq_disable(struct mtk_eth * eth,u32 mask) mtk_tx_irq_disable() argument 1064 mtk_tx_irq_enable(struct mtk_eth * eth,u32 mask) mtk_tx_irq_enable() argument 1075 mtk_rx_irq_disable(struct mtk_eth * eth,u32 mask) mtk_rx_irq_disable() argument 1086 mtk_rx_irq_enable(struct mtk_eth * eth,u32 mask) mtk_rx_irq_enable() argument 1101 struct mtk_eth *eth = mac->hw; mtk_set_mac_address() local 1132 struct mtk_eth *eth = mac->hw; mtk_stats_update_mac() local 1197 mtk_stats_update(struct mtk_eth * eth) mtk_stats_update() argument 1265 mtk_rx_get_desc(struct mtk_eth * eth,struct mtk_rx_dma_v2 * rxd,struct mtk_rx_dma_v2 * dma_rxd) mtk_rx_get_desc() argument 1294 mtk_dma_ring_alloc(struct mtk_eth * eth,size_t size,dma_addr_t * dma_handle,bool use_sram) mtk_dma_ring_alloc() argument 1313 mtk_dma_ring_free(struct mtk_eth * eth,size_t size,void * dma_ring,dma_addr_t dma_handle,bool in_sram) mtk_dma_ring_free() argument 1323 mtk_init_fq_dma(struct mtk_eth * eth) mtk_init_fq_dma() argument 1408 mtk_tx_unmap(struct mtk_eth * eth,struct mtk_tx_buf * tx_buf,struct xdp_frame_bulk * bq,bool napi) mtk_tx_unmap() argument 1462 setup_tx_buf(struct mtk_eth * eth,struct mtk_tx_buf * tx_buf,struct mtk_tx_dma * txd,dma_addr_t mapped_addr,size_t size,int idx) setup_tx_buf() argument 1489 struct mtk_eth *eth = mac->hw; mtk_tx_set_dma_desc_v1() local 1520 struct mtk_eth *eth = mac->hw; mtk_tx_set_dma_desc_v2() local 1575 struct mtk_eth *eth = mac->hw; mtk_tx_set_dma_desc() local 1598 struct mtk_eth *eth = mac->hw; mtk_tx_map() local 1735 mtk_cal_txd_req(struct mtk_eth * eth,struct sk_buff * skb) mtk_cal_txd_req() argument 1753 mtk_queue_stopped(struct mtk_eth * eth) mtk_queue_stopped() argument 1767 mtk_wake_queue(struct mtk_eth * eth) mtk_wake_queue() argument 1781 struct mtk_eth *eth = mac->hw; mtk_start_xmit() local 1845 mtk_get_rx_ring(struct mtk_eth * eth) mtk_get_rx_ring() argument 1869 mtk_update_rx_cpu_idx(struct mtk_eth * eth) mtk_update_rx_cpu_idx() argument 1888 mtk_page_pool_enabled(struct mtk_eth * eth) mtk_page_pool_enabled() argument 1893 mtk_create_page_pool(struct mtk_eth * eth,struct xdp_rxq_info * xdp_q,int id,int size) mtk_create_page_pool() argument 1956 mtk_xdp_frame_map(struct mtk_eth * eth,struct net_device * dev,struct mtk_tx_dma_desc_info * txd_info,struct mtk_tx_dma * txd,struct mtk_tx_buf * tx_buf,void * data,u16 headroom,int index,bool dma_map) mtk_xdp_frame_map() argument 1993 mtk_xdp_submit_frame(struct mtk_eth * eth,struct xdp_frame * xdpf,struct net_device * dev,bool dma_map) mtk_xdp_submit_frame() argument 2118 struct mtk_eth *eth = mac->hw; mtk_xdp_xmit() local 2138 mtk_xdp_run(struct mtk_eth * eth,struct mtk_rx_ring * ring,struct xdp_buff * xdp,struct net_device * dev) mtk_xdp_run() argument 2202 mtk_poll_rx(struct napi_struct * napi,int budget,struct mtk_eth * eth) mtk_poll_rx() argument 2440 mtk_poll_tx_done(struct mtk_eth * eth,struct mtk_poll_state * state,u8 mac,struct sk_buff * skb) mtk_poll_tx_done() argument 2470 mtk_poll_tx_qdma(struct mtk_eth * eth,int budget,struct mtk_poll_state * state) mtk_poll_tx_qdma() argument 2520 mtk_poll_tx_pdma(struct mtk_eth * eth,int budget,struct mtk_poll_state * state) mtk_poll_tx_pdma() argument 2558 mtk_poll_tx(struct mtk_eth * eth,int budget) mtk_poll_tx() argument 2583 mtk_handle_status_irq(struct mtk_eth * eth) mtk_handle_status_irq() argument 2596 struct mtk_eth *eth = container_of(napi, struct mtk_eth, tx_napi); mtk_napi_tx() local 2626 struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); mtk_napi_rx() local 2659 mtk_tx_alloc(struct mtk_eth * eth) mtk_tx_alloc() argument 2764 mtk_tx_clean(struct mtk_eth * eth) mtk_tx_clean() argument 2791 mtk_rx_alloc(struct mtk_eth * eth,int ring_no,int rx_flag) mtk_rx_alloc() argument 2924 mtk_rx_clean(struct mtk_eth * eth,struct mtk_rx_ring * ring,bool in_sram) mtk_rx_clean() argument 2965 mtk_hwlro_rx_init(struct mtk_eth * eth) mtk_hwlro_rx_init() argument 3025 mtk_hwlro_rx_uninit(struct mtk_eth * eth) mtk_hwlro_rx_uninit() argument 3051 mtk_hwlro_val_ipaddr(struct mtk_eth * eth,int idx,__be32 ip) mtk_hwlro_val_ipaddr() argument 3066 mtk_hwlro_inval_ipaddr(struct mtk_eth * eth,int idx) mtk_hwlro_inval_ipaddr() argument 3097 struct mtk_eth *eth = mac->hw; mtk_hwlro_add_ipaddr() local 3121 struct mtk_eth *eth = mac->hw; mtk_hwlro_del_ipaddr() local 3140 struct mtk_eth *eth = mac->hw; mtk_hwlro_netdev_disable() local 3231 mtk_dma_busy_wait(struct mtk_eth * eth) mtk_dma_busy_wait() argument 3251 mtk_dma_init(struct mtk_eth * eth) mtk_dma_init() argument 3305 mtk_dma_free(struct mtk_eth * eth) mtk_dma_free() argument 3345 mtk_hw_reset_check(struct mtk_eth * eth) mtk_hw_reset_check() argument 3357 struct mtk_eth *eth = mac->hw; mtk_tx_timeout() local 3371 mtk_get_irqs(struct platform_device * pdev,struct mtk_eth * eth) mtk_get_irqs() argument 3420 struct mtk_eth *eth = _eth; mtk_handle_irq_rx() local 3433 struct mtk_eth *eth = _eth; mtk_handle_irq_tx() local 3446 struct mtk_eth *eth = _eth; mtk_handle_irq() local 3467 struct mtk_eth *eth = mac->hw; mtk_poll_controller() local 3477 mtk_start_dma(struct mtk_eth * eth) mtk_start_dma() argument 3516 mtk_gdm_config(struct mtk_eth * eth,u32 id,u32 config) mtk_gdm_config() argument 3553 struct mtk_eth *eth = mac->hw; mtk_device_event() local 3592 mtk_max_gmac_mtu(struct mtk_eth * eth) mtk_max_gmac_mtu() argument 3606 struct mtk_eth *eth = mac->hw; mtk_open() local 3704 mtk_stop_dma(struct mtk_eth * eth,u32 glo_cfg) mtk_stop_dma() argument 3730 struct mtk_eth *eth = mac->hw; mtk_stop() local 3770 struct mtk_eth *eth = mac->hw; mtk_xdp_setup() local 3817 ethsys_reset(struct mtk_eth * eth,u32 reset_bits) ethsys_reset() argument 3830 mtk_clk_disable(struct mtk_eth * eth) mtk_clk_disable() argument 3838 mtk_clk_enable(struct mtk_eth * eth) mtk_clk_enable() argument 3860 struct mtk_eth *eth = container_of(dim, struct mtk_eth, rx_dim); mtk_dim_rx() local 3891 struct mtk_eth *eth = container_of(dim, struct mtk_eth, tx_dim); mtk_dim_tx() local 3921 struct mtk_eth *eth = mac->hw; mtk_set_mcr_max_rx() local 3943 mtk_hw_reset(struct mtk_eth * eth) mtk_hw_reset() argument 3979 mtk_hw_reset_read(struct mtk_eth * eth) mtk_hw_reset_read() argument 3987 mtk_hw_warm_reset(struct mtk_eth * eth) mtk_hw_warm_reset() argument 4034 mtk_hw_check_dma_hang(struct mtk_eth * eth) mtk_hw_check_dma_hang() argument 4115 struct mtk_eth *eth = container_of(del_work, struct mtk_eth, mtk_hw_reset_monitor_work() local 4130 mtk_hw_init(struct mtk_eth * eth,bool reset) mtk_hw_init() argument 4324 mtk_hw_deinit(struct mtk_eth * eth) mtk_hw_deinit() argument 4340 struct mtk_eth *eth = mac->hw; mtk_uninit() local 4351 struct mtk_eth *eth = mac->hw; mtk_change_mtu() local 4386 mtk_prepare_for_reset(struct mtk_eth * eth) mtk_prepare_for_reset() argument 4419 struct mtk_eth *eth = container_of(work, struct mtk_eth, pending_work); mtk_pending_work() local 4482 mtk_free_dev(struct mtk_eth * eth) mtk_free_dev() argument 4501 mtk_unreg_dev(struct mtk_eth * eth) mtk_unreg_dev() argument 4522 mtk_sgmii_destroy(struct mtk_eth * eth) mtk_sgmii_destroy() argument 4530 mtk_cleanup(struct mtk_eth * eth) mtk_cleanup() argument 4635 mtk_ethtool_pp_stats(struct mtk_eth * eth,u64 * data) mtk_ethtool_pp_stats() argument 4828 mtk_add_mac(struct mtk_eth * eth,struct device_node * np) mtk_add_mac() argument 5035 mtk_eth_set_dma_device(struct mtk_eth * eth,struct device * dma_dev) mtk_eth_set_dma_device() argument 5068 mtk_sgmii_init(struct mtk_eth * eth) mtk_sgmii_init() argument 5095 mtk_setup_legacy_sram(struct mtk_eth * eth,struct resource * res) mtk_setup_legacy_sram() argument 5120 struct mtk_eth *eth; mtk_probe() local 5395 struct mtk_eth *eth = platform_get_drvdata(pdev); mtk_remove() local [all...] |
| H A D | mtk_ppe_offload.c | 17 struct ethhdr eth; member 57 mtk_flow_set_ipv4_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv4_addr() 66 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr() 75 mtk_flow_offload_mangle_eth(const struct flow_action_entry *act, void *eth) in mtk_flow_offload_mangle_eth() 200 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() 257 mtk_flow_is_valid_idev(const struct mtk_eth *eth, const struct net_device *idev) in mtk_flow_is_valid_idev() 276 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f, in mtk_flow_offload_replace() 530 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy() 550 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats() 576 int mtk_flow_offload_cmd(struct mtk_eth *eth, struct flow_cls_offload *cls, in mtk_flow_offload_cmd() [all …]
|
| H A D | mtk_ppe.c | 61 static u32 mtk_eth_timestamp(struct mtk_eth *eth) in mtk_eth_timestamp() 144 static u32 mtk_ppe_hash_entry(struct mtk_eth *eth, struct mtk_foe_entry *e) in mtk_ppe_hash_entry() 185 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2() 199 mtk_foe_entry_ib2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_ib2() 212 int mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_prepare() 279 int mtk_foe_entry_set_pse_port(struct mtk_eth *eth, in mtk_foe_entry_set_pse_port() 297 int mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv4_tuple() 337 int mtk_foe_entry_set_ipv6_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv6_tuple() 370 int mtk_foe_entry_set_dsa(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_dsa() 387 int mtk_foe_entry_set_vlan(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_vlan() [all …]
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_ppe.c | 54 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_num_stats_entries() local 64 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_sram_num_entries() local 76 bool airoha_ppe_is_enabled(struct airoha_eth *eth, int index) in airoha_ppe_is_enabled() 93 struct airoha_eth *eth = dev->eth; in airoha_ppe_set_cpu_port() local 106 struct airoha_eth *eth = dev->eth; in airoha_ppe_set_xmit_frame_size() local 134 struct airoha_eth *eth = ppe->eth; in airoha_ppe_hw_init() local 223 static void airoha_ppe_flow_mangle_eth(const struct flow_action_entry *act, void *eth) in airoha_ppe_flow_mangle_eth() 342 static int airoha_ppe_foe_entry_prepare(struct airoha_eth *eth, in airoha_ppe_foe_entry_prepare() 698 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_get_entry_locked() local 777 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_commit_entry() local [all …]
|
| H A D | airoha_eth.c | 77 struct airoha_eth *eth = dev->eth; in airoha_set_macaddr() local 146 static void airoha_set_gdm_port_fwd_cfg(struct airoha_eth *eth, u3 argument 162 struct airoha_eth *eth = dev->eth; airoha_set_vip_for_gdm_port() local 177 airoha_fe_maccr_init(struct airoha_eth * eth) airoha_fe_maccr_init() argument 197 airoha_fe_vip_setup(struct airoha_eth * eth) airoha_fe_vip_setup() argument 261 airoha_fe_get_pse_queue_rsv_pages(struct airoha_eth * eth,u32 port,u32 queue) airoha_fe_get_pse_queue_rsv_pages() argument 273 airoha_fe_set_pse_queue_rsv_pages(struct airoha_eth * eth,u32 port,u32 queue,u32 val) airoha_fe_set_pse_queue_rsv_pages() argument 286 airoha_fe_get_pse_all_rsv(struct airoha_eth * eth) airoha_fe_get_pse_all_rsv() argument 291 airoha_fe_set_pse_oq_rsv(struct airoha_eth * eth,u32 port,u32 queue,u32 val) airoha_fe_set_pse_oq_rsv() argument 324 airoha_fe_pse_ports_init(struct airoha_eth * eth) airoha_fe_pse_ports_init() argument 408 airoha_fe_mc_vlan_clear(struct airoha_eth * eth) airoha_fe_mc_vlan_clear() argument 448 airoha_fe_crsn_qsel_init(struct airoha_eth * eth) airoha_fe_crsn_qsel_init() argument 494 airoha_fe_init(struct airoha_eth * eth) airoha_fe_init() argument 639 airoha_qdma_get_gdm_dev(struct airoha_eth * eth,struct airoha_qdma_desc * desc) airoha_qdma_get_gdm_dev() argument 664 struct airoha_eth *eth = qdma->eth; airoha_qdma_rx_process() local 813 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_rx_queue() local 861 struct airoha_eth *eth = qdma->eth; airoha_qdma_cleanup_rx_queue() local 919 struct airoha_eth *eth = qdma->eth; airoha_qdma_wake_netdev_txqs() local 952 airoha_unmap_xmit_buf(struct airoha_eth * eth,struct airoha_queue_entry * e) airoha_unmap_xmit_buf() argument 976 struct airoha_eth *eth; airoha_qdma_tx_napi_poll() local 1090 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_tx_queue() local 1134 struct airoha_eth *eth = qdma->eth; airoha_qdma_tx_irq_init() local 1252 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_hfwd_queues() local 1508 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_irq_banks() local 1539 airoha_qdma_init(struct platform_device * pdev,struct airoha_eth * eth,struct airoha_qdma * qdma) airoha_qdma_init() argument 1574 airoha_qdma_cleanup(struct airoha_eth * eth,struct airoha_qdma * qdma) airoha_qdma_cleanup() argument 1613 airoha_hw_init(struct platform_device * pdev,struct airoha_eth * eth) airoha_hw_init() argument 1656 airoha_hw_cleanup(struct airoha_eth * eth) airoha_hw_cleanup() argument 1698 struct airoha_eth *eth = dev->eth; airoha_update_hw_stats() local 1982 struct airoha_eth *eth = dev->eth; airoha_enable_gdm2_loopback() local 2040 struct airoha_eth *eth = dev->eth; airoha_disable_gdm2_loopback() local 2085 airoha_get_wan_gdm_dev(struct airoha_eth * eth) airoha_get_wan_gdm_dev() argument 2111 struct airoha_eth *eth = dev->eth; airoha_dev_set_qdma() local 2278 struct airoha_eth *eth = dev->eth; airoha_get_fe_port() local 2446 struct airoha_eth *eth = dev->eth; airoha_ethtool_get_drvinfo() local 3079 struct airoha_eth *eth = dev->eth; airoha_dev_setup_tc_block_cb() local 3201 struct airoha_eth *eth = dev->eth; airoha_enable_qos_for_gdm34() local 3391 airoha_is_valid_gdm_dev(struct airoha_eth * eth,struct airoha_gdm_dev * dev) airoha_is_valid_gdm_dev() argument 3412 airoha_alloc_gdm_device(struct airoha_eth * eth,struct airoha_gdm_port * port,int nbq,struct device_node * np) airoha_alloc_gdm_device() argument 3480 airoha_alloc_gdm_port(struct airoha_eth * eth,struct device_node * np) airoha_alloc_gdm_port() argument 3560 airoha_register_gdm_devices(struct airoha_eth * eth) airoha_register_gdm_devices() argument 3593 struct airoha_eth *eth; airoha_probe() local 3723 struct airoha_eth *eth = platform_get_drvdata(pdev); airoha_remove() local [all...] |
| H A D | airoha_eth.h | 673 #define airoha_fe_rr(eth, offset) \ argument 675 #define airoha_fe_wr(eth, offset, val) \ argument 677 #define airoha_fe_rmw(eth, offset, mask, val) \ argument 474 struct ethhdr eth; global() member 560 struct airoha_eth *eth; global() member 581 struct airoha_eth *eth; global() member 616 struct airoha_eth *eth; global() member 671 airoha_fe_rr(eth,offset) global() argument 679 airoha_fe_clear(eth,offset,val) global() argument 681 airoha_fe_get(eth,offset,mask) global() argument 707 airoha_is_7581(struct airoha_eth * eth) airoha_is_7581() argument 712 airoha_is_7583(struct airoha_eth * eth) airoha_is_7583() argument [all...] |
| /linux/net/ethernet/ |
| H A D | eth.c | 83 struct ethhdr *eth = skb_push(skb, ETH_HLEN); in eth_header() local 128 const struct ethhdr *eth = (const struct ethhdr *)data; in eth_get_headlen() local 158 const struct ethhdr *eth; in eth_type_trans() local 199 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() local 216 struct ethhdr *eth; in eth_header_cache() local 261 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse_protocol() local
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | xdping_kern.c | |
| H A D | xdp_redirect_multi_kern.c | 43 struct ethhdr *eth = data; xdp_redirect_map_multi_prog() local 79 struct ethhdr *eth = data; xdp_devmap_prog() local
|
| H A D | test_cls_redirect.h | 52 struct ethhdr eth; member 58 struct ethhdr eth; member
|
| H A D | test_xdp_meta.c | 362 struct ethhdr *eth = ctx_ptr(ctx, data); in clone_data_meta_survives_data_write() local 392 struct ethhdr *eth = ctx_ptr(ctx, data); in clone_data_meta_survives_meta_write() local 423 struct ethhdr *eth; in clone_meta_dynptr_survives_data_slice_write() local
|
| H A D | load_bytes_relative.c | 23 struct ethhdr eth; in load_bytes_relative() local
|
| H A D | test_queue_stack_map.h | 32 struct ethhdr *eth = (struct ethhdr *)(data); in _test() local
|
| H A D | xdp_metadata.c | 35 struct ethhdr *eth = NULL; rx() local
|
| H A D | xdp_hw_metadata.c | 35 struct ethhdr *eth; in rx() local
|
| H A D | skb_pkt_end.c | 18 struct ethhdr *eth; in get_iphdr() local
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | flow_dissector.c | 19 struct ethhdr eth; member 25 struct ethhdr eth; member 32 struct ethhdr eth; member 40 struct ethhdr eth; member 46 struct ethhdr eth; member 58 struct ethhdr eth; member 73 struct ethhdr eth; member
|
| H A D | xdp_context_test_run.c | 141 struct ethhdr eth = { in send_test_packet() local 180 struct ethhdr eth = { in write_test_packet() local 200 struct ethhdr *eth = (void *)pkt; in write_test_packet_udp() local
|
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | sta_rx.c | 26 struct ethhdr *eth; in nxpwifi_discard_gratuitous_arp() local 70 struct ethhdr *eth; in nxpwifi_process_rx_packet() local
|
| /linux/tools/testing/selftests/net/ |
| H A D | nat6to4.bpf.c | 54 const struct ethhdr * const eth = data; // used iff is_ethernet in sched_cls_ingress6_nat_6_prog() local 155 const struct ethhdr *const eth = data; // used iff is_ethernet in sched_cls_egress4_snat4_prog() local
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | octeon-platform.c | 483 static void __init octeon_fdt_set_phy(int eth, int phy_addr) in octeon_fdt_set_phy() 610 static void __init _octeon_rx_tx_delay(int eth, int rx_delay, int tx_delay) in _octeon_rx_tx_delay() 618 static void __init octeon_rx_tx_delay(int eth, int iface, int port) in octeon_rx_tx_delay() 652 int eth; in octeon_fdt_pip_port() local 754 int eth; in octeon_fill_mac_addresses() local
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_rx.c | 27 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local 78 struct ethhdr *eth; in mwifiex_process_rx_packet() local
|
| /linux/tools/testing/selftests/net/lib/ |
| H A D | xdp_native.bpf.c | 75 struct ethhdr *eth; in filter_udphdr() local 167 struct ethhdr *eth = data; in swap_machdr() local 179 struct ethhdr *eth; in xdp_mode_tx_handler() local 287 struct ethhdr *eth = data; in update_pkt() local
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | network_helpers.h | 52 struct ethhdr eth; member 60 struct ethhdr eth; member
|
| /linux/samples/bpf/ |
| H A D | parse_simple.c | 30 struct eth_hdr *eth = data; in handle_ingress() local
|