| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 289 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() 294 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() 299 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32() 310 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 326 static int _mtk_mdio_write_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write_c22() 350 static int _mtk_mdio_write_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write_c45() 386 static int _mtk_mdio_read_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read_c22() 408 static int _mtk_mdio_read_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_read_c45() 446 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c22() local 454 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c45() 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() 191 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() 248 mtk_flow_is_valid_idev(const struct mtk_eth *eth, const struct net_device *idev) in mtk_flow_is_valid_idev() 267 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f, in mtk_flow_offload_replace() 521 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy() 541 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats() 567 int mtk_flow_offload_cmd(struct mtk_eth *eth, struct flow_cls_offload *cls, in mtk_flow_offload_cmd() [all …]
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_ppe.c | 51 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_num_stats_entries() local 61 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_sram_num_entries() local 73 bool airoha_ppe_is_enabled(struct airoha_eth *eth, int index) in airoha_ppe_is_enabled() 91 struct airoha_eth *eth = qdma->eth; in airoha_ppe_set_cpu_port() local 105 struct airoha_eth *eth = ppe->eth; in airoha_ppe_hw_init() local 190 static void airoha_ppe_flow_mangle_eth(const struct flow_action_entry *act, void *eth) in airoha_ppe_flow_mangle_eth() 300 static int airoha_ppe_foe_entry_prepare(struct airoha_eth *eth, in airoha_ppe_foe_entry_prepare() 643 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_get_entry_locked() local 722 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_commit_entry() local 1033 static int airoha_ppe_flow_offload_replace(struct airoha_eth *eth, in airoha_ppe_flow_offload_replace() [all …]
|
| H A D | airoha_eth.c | 76 struct airoha_eth *eth = port->qdma->eth; in airoha_set_macaddr() local 91 static void airoha_set_gdm_port_fwd_cfg(struct airoha_eth *eth, u32 addr, in airoha_set_gdm_port_fwd_cfg() argument 107 struct airoha_eth *eth = port->qdma->eth; airoha_set_vip_for_gdm_port() local 122 airoha_fe_maccr_init(struct airoha_eth * eth) airoha_fe_maccr_init() argument 137 airoha_fe_vip_setup(struct airoha_eth * eth) airoha_fe_vip_setup() argument 201 airoha_fe_get_pse_queue_rsv_pages(struct airoha_eth * eth,u32 port,u32 queue) airoha_fe_get_pse_queue_rsv_pages() argument 215 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 228 airoha_fe_get_pse_all_rsv(struct airoha_eth * eth) airoha_fe_get_pse_all_rsv() argument 235 airoha_fe_set_pse_oq_rsv(struct airoha_eth * eth,u32 port,u32 queue,u32 val) airoha_fe_set_pse_oq_rsv() argument 269 airoha_fe_pse_ports_init(struct airoha_eth * eth) airoha_fe_pse_ports_init() argument 353 airoha_fe_mc_vlan_clear(struct airoha_eth * eth) airoha_fe_mc_vlan_clear() argument 393 airoha_fe_crsn_qsel_init(struct airoha_eth * eth) airoha_fe_crsn_qsel_init() argument 439 airoha_fe_init(struct airoha_eth * eth) airoha_fe_init() argument 574 airoha_qdma_get_gdm_port(struct airoha_eth * eth,struct airoha_qdma_desc * desc) airoha_qdma_get_gdm_port() argument 598 struct airoha_eth *eth = qdma->eth; airoha_qdma_rx_process() local 743 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_rx_queue() local 791 struct airoha_eth *eth = qdma->eth; airoha_qdma_cleanup_rx_queue() local 849 struct airoha_eth *eth = qdma->eth; airoha_qdma_wake_netdev_txqs() local 877 struct airoha_eth *eth; airoha_qdma_tx_napi_poll() local 986 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_tx_queue() local 1030 struct airoha_eth *eth = qdma->eth; airoha_qdma_tx_irq_init() local 1078 struct airoha_eth *eth = qdma->eth; airoha_qdma_cleanup_tx_queue() local 1129 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_hfwd_queues() local 1382 struct airoha_eth *eth = qdma->eth; airoha_qdma_init_irq_banks() local 1413 airoha_qdma_init(struct platform_device * pdev,struct airoha_eth * eth,struct airoha_qdma * qdma) airoha_qdma_init() argument 1480 airoha_hw_init(struct platform_device * pdev,struct airoha_eth * eth) airoha_hw_init() argument 1523 airoha_hw_cleanup(struct airoha_eth * eth) airoha_hw_cleanup() argument 1564 struct airoha_eth *eth = port->qdma->eth; airoha_update_hw_stats() local 1792 struct airoha_eth *eth = port->qdma->eth; airoha_set_gdm2_loopback() local 1854 struct airoha_eth *eth = port->eth; airoha_dev_init() local 1910 struct airoha_eth *eth = port->qdma->eth; airoha_dev_change_mtu() local 1986 struct airoha_eth *eth = qdma->eth; airoha_get_fe_port() local 2144 struct airoha_eth *eth = port->qdma->eth; airoha_ethtool_get_drvinfo() local 2744 struct airoha_eth *eth = port->qdma->eth; airoha_dev_setup_tc_block_cb() local 2943 airoha_is_valid_gdm_port(struct airoha_eth * eth,struct airoha_gdm_port * port) airoha_is_valid_gdm_port() argument 2956 airoha_alloc_gdm_port(struct airoha_eth * eth,struct device_node * np) airoha_alloc_gdm_port() argument 3032 airoha_register_gdm_devices(struct airoha_eth * eth) airoha_register_gdm_devices() argument 3057 struct airoha_eth *eth; airoha_probe() local 3170 struct airoha_eth *eth = platform_get_drvdata(pdev); airoha_remove() local [all...] |
| H A D | airoha_eth.h | 437 struct ethhdr eth; member 523 struct airoha_eth *eth; member 538 struct airoha_eth *eth; member 559 struct airoha_eth *eth; member 612 #define airoha_fe_rr(eth, offset) \ argument 614 #define airoha_fe_wr(eth, offset, val) \ argument 616 #define airoha_fe_rmw(eth, offset, mask, val) \ argument 618 #define airoha_fe_set(eth, offset, val) \ argument 620 #define airoha_fe_clear(eth, offset, val) \ argument 648 static inline bool airoha_is_7581(struct airoha_eth *eth) in airoha_is_7581() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_meta.c | 35 static bool check_smac(const struct ethhdr *eth) in check_smac() 287 struct ethhdr *eth = ctx_ptr(ctx, data); in ing_xdp_zalloc_meta() local 314 struct ethhdr *eth; in ing_xdp() local 351 struct ethhdr *eth = ctx_ptr(ctx, data); in clone_data_meta_survives_data_write() local 381 struct ethhdr *eth = ctx_ptr(ctx, data); in clone_data_meta_survives_meta_write() local 412 struct ethhdr *eth; in clone_meta_dynptr_survives_data_slice_write() local 440 const struct ethhdr *eth; in clone_meta_dynptr_survives_meta_slice_write() local 474 const struct ethhdr *eth; in clone_meta_dynptr_rw_before_data_dynptr_write() local 516 const struct ethhdr *eth; in clone_meta_dynptr_rw_before_meta_dynptr_write() local
|
| H A D | xdping_kern.c | 64 struct ethhdr *eth = data; in icmp_check() local 95 struct ethhdr *eth = data; in xdping_client() local 157 struct ethhdr *eth = data; in xdping_server() local
|
| 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 | 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/drivers/scsi/fnic/ |
| H A D | fip.h | 51 struct ethhdr eth; member 62 struct ethhdr eth; member 69 struct ethhdr eth; member 94 struct ethhdr eth; member 107 struct ethhdr eth; member 138 fnic_debug_dump_fip_frame(struct fnic *fnic, struct ethhdr *eth, in fnic_debug_dump_fip_frame() 155 fnic_debug_dump_fip_frame(struct fnic *fnic, struct ethhdr *eth, in fnic_debug_dump_fip_frame()
|
| /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/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 | 136 struct ethhdr eth = { in send_test_packet() local 175 struct ethhdr eth = { in write_test_packet() 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/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/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 | 46 struct ethhdr eth; global() member 54 struct ethhdr eth; global() member
|
| /linux/samples/bpf/ |
| H A D | parse_simple.c | 30 struct eth_hdr *eth = data; in handle_ingress() local
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| H A D | pedit.h | 10 struct ethhdr eth; member
|