/linux-6.1.9/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 176 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() 181 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() 186 static u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned reg) in mtk_m32() 197 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 213 static int _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write() 259 static int _mtk_mdio_read(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read() 305 struct mtk_eth *eth = bus->priv; in mtk_mdio_write() local 312 struct mtk_eth *eth = bus->priv; in mtk_mdio_read() local 317 static int mt7621_gmac0_rgmii_adjust(struct mtk_eth *eth, in mt7621_gmac0_rgmii_adjust() 342 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.c | 57 static u32 mtk_eth_timestamp(struct mtk_eth *eth) in mtk_eth_timestamp() 91 static u32 mtk_ppe_hash_entry(struct mtk_eth *eth, struct mtk_foe_entry *e) in mtk_ppe_hash_entry() 132 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2() 146 mtk_foe_entry_ib2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_ib2() 159 int mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_prepare() 224 int mtk_foe_entry_set_pse_port(struct mtk_eth *eth, in mtk_foe_entry_set_pse_port() 242 int mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv4_tuple() 282 int mtk_foe_entry_set_ipv6_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv6_tuple() 318 int mtk_foe_entry_set_dsa(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_dsa() 335 int mtk_foe_entry_set_vlan(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_vlan() [all …]
|
D | mtk_ppe_offload.c | 17 struct ethhdr eth; member 55 mtk_flow_set_ipv4_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv4_addr() 64 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr() 73 mtk_flow_offload_mangle_eth(const struct flow_action_entry *act, void *eth) in mtk_flow_offload_mangle_eth() 186 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() 232 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_replace() 471 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy() 491 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats() 515 struct mtk_eth *eth = mac->hw; in mtk_eth_setup_tc_block_cb() local 548 struct mtk_eth *eth = mac->hw; in mtk_eth_setup_tc_block() local [all …]
|
D | mtk_wed.h | 16 struct mtk_eth *eth; member 113 mtk_wed_add_hw(struct device_node *np, struct mtk_eth *eth, in mtk_wed_add_hw()
|
/linux-6.1.9/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 77 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-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 45 struct ethhdr eth; member 51 struct ethhdr eth; member 58 struct ethhdr eth; member 66 struct ethhdr eth; member 72 struct ethhdr eth; member 84 struct ethhdr eth; member
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | network_helpers.h | 28 struct ethhdr eth; member 36 struct ethhdr eth; member
|
/linux-6.1.9/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-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
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-6.1.9/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-6.1.9/arch/arm/boot/dts/ |
D | imx1-apf9328.dts | 57 eth: eth@4,c00000 { label
|
/linux-6.1.9/drivers/net/ipvlan/ |
D | ipvlan_core.c | 593 struct ethhdr *eth = skb_eth_hdr(skb); in ipvlan_xmit_mode_l2() local 663 struct ethhdr *eth = eth_hdr(skb); in ipvlan_external_frame() local 706 struct ethhdr *eth = eth_hdr(skb); in ipvlan_handle_mode_l2() local
|