/linux-5.19.10/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 153 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() 158 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() 163 static u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned reg) in mtk_m32() 174 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 190 static int _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write() 236 static int _mtk_mdio_read(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read() 282 struct mtk_eth *eth = bus->priv; in mtk_mdio_write() local 289 struct mtk_eth *eth = bus->priv; in mtk_mdio_read() local 294 static int mt7621_gmac0_rgmii_adjust(struct mtk_eth *eth, in mt7621_gmac0_rgmii_adjust() 319 static void mtk_gmac0_rgmii_adjust(struct mtk_eth *eth, in mtk_gmac0_rgmii_adjust() [all …]
|
D | mtk_eth_path.c | 43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, int path) in set_mux_gdm1_to_gmac1_esw() 74 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, int path) in set_mux_gmac2_gmac0_to_gephy() 97 static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, int path) in set_mux_u3_gmac2_to_qphy() 120 static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, int path) in set_mux_gmac1_gmac2_to_sgmii_rgmii() 158 static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, int path) in set_mux_gmac12_to_gephy_sgmii() 213 static int mtk_eth_mux_setup(struct mtk_eth *eth, int path) in mtk_eth_mux_setup() 242 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_sgmii_path_setup() 253 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_gephy_path_setup() 267 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_rgmii_path_setup()
|
D | mtk_ppe_offload.c | 17 struct ethhdr eth; member 72 mtk_flow_offload_mangle_eth(const struct flow_action_entry *act, void *eth) in mtk_flow_offload_mangle_eth() 189 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() 222 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_replace() 462 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy() 482 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats() 506 struct mtk_eth *eth = mac->hw; in mtk_eth_setup_tc_block_cb() local 539 struct mtk_eth *eth = mac->hw; in mtk_eth_setup_tc_block() local 594 int mtk_eth_offload_init(struct mtk_eth *eth) in mtk_eth_offload_init()
|
D | mtk_wed.h | 16 struct mtk_eth *eth; member 110 mtk_wed_add_hw(struct device_node *np, struct mtk_eth *eth, in mtk_wed_add_hw()
|
/linux-5.19.10/samples/bpf/ |
D | xdp_redirect_cpu.bpf.c | 52 bool parse_eth(struct ethhdr *eth, void *data_end, in parse_eth() 173 struct ethhdr *eth = data; in xdp_prognum1_touch_data() local 260 struct ethhdr *eth = data; in xdp_prognum3_proto_separate() local 326 struct ethhdr *eth = data; in xdp_prognum4_ddos_filter_pktgen() local 443 struct ethhdr *eth = data; in xdp_prognum5_lb_hash_ip_pairs() local 499 struct ethhdr *eth = data; in xdp_redirect_cpu_devmap() local 527 struct ethhdr *eth = data; in xdp_redirect_egress_prog() local
|
D | tc_l2_redirect_kern.c | 63 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_forward() local 114 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_redirect() local 155 struct eth_hdr *eth = data; in _l2_to_ip6tun_ingress_redirect() local 210 struct eth_hdr *eth = data; in _drop_non_tun_vip() local
|
D | xdp_redirect_map.bpf.c | 43 struct ethhdr *eth = data; in xdp_redirect_map() local 76 struct ethhdr *eth = data; in xdp_redirect_map_egress() local
|
D | xdp_adjust_tail_kern.c | 50 struct ethhdr *eth; in swap_mac() local 141 struct ethhdr *eth = data; in _xdp_icmp() local
|
D | xdp_redirect.bpf.c | 25 struct ethhdr *eth = data; in xdp_redirect_prog() local
|
D | parse_simple.c | 30 struct eth_hdr *eth = data; in handle_ingress() local
|
/linux-5.19.10/net/ethernet/ |
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 159 const struct ethhdr *eth; in eth_type_trans() local 215 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() local 231 struct ethhdr *eth; in eth_header_cache() local 276 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse_protocol() local
|
/linux-5.19.10/tools/testing/selftests/bpf/progs/ |
D | xdping_kern.c | 63 struct ethhdr *eth = data; in icmp_check() local 95 struct ethhdr *eth = data; in xdping_client() local 158 struct ethhdr *eth = data; in xdping_server() local
|
D | xdp_redirect_multi_kern.c | 43 struct ethhdr *eth = data; in xdp_redirect_map_multi_prog() local 79 struct ethhdr *eth = data; in xdp_devmap_prog() local
|
D | test_cls_redirect.h | 43 struct ethhdr eth; member 49 struct ethhdr eth; member
|
D | load_bytes_relative.c | 23 struct ethhdr eth; in load_bytes_relative() local
|
D | test_queue_stack_map.h | 32 struct ethhdr *eth = (struct ethhdr *)(data); in _test() local
|
D | skb_pkt_end.c | 16 struct ethhdr *eth; in get_iphdr() local
|
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 43 struct ethhdr eth; member 49 struct ethhdr eth; member 56 struct ethhdr eth; member 64 struct ethhdr eth; member 70 struct ethhdr eth; member 82 struct ethhdr eth; member
|
/linux-5.19.10/tools/testing/selftests/bpf/ |
D | network_helpers.h | 28 struct ethhdr eth; member 36 struct ethhdr eth; member
|
/linux-5.19.10/tools/testing/selftests/net/bpf/ |
D | nat6to4.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-5.19.10/drivers/net/wireless/marvell/mwifiex/ |
D | sta_rx.c | 39 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local 90 struct ethhdr *eth; in mwifiex_process_rx_packet() local
|
/linux-5.19.10/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 481 static void __init octeon_fdt_set_phy(int eth, int phy_addr) in octeon_fdt_set_phy() 609 static void __init _octeon_rx_tx_delay(int eth, int rx_delay, int tx_delay) in _octeon_rx_tx_delay() 617 static void __init octeon_rx_tx_delay(int eth, int iface, int port) in octeon_rx_tx_delay() 651 int eth; in octeon_fdt_pip_port() local 753 int eth; in octeon_fill_mac_addresses() local
|
/linux-5.19.10/arch/arm/boot/dts/ |
D | imx1-apf9328.dts | 57 eth: eth@4,c00000 { label
|
/linux-5.19.10/arch/arm64/boot/dts/mediatek/ |
D | mt7986a.dtsi | 225 eth: ethernet@15100000 { label
|
/linux-5.19.10/drivers/net/ipvlan/ |
D | ipvlan_core.c | 592 struct ethhdr *eth = eth_hdr(skb); in ipvlan_xmit_mode_l2() local 661 struct ethhdr *eth = eth_hdr(skb); in ipvlan_external_frame() local 704 struct ethhdr *eth = eth_hdr(skb); in ipvlan_handle_mode_l2() local
|