Home
last modified time | relevance | path

Searched defs:eth (Results 1 – 25 of 145) sorted by relevance

123456

/Linux-v5.4/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c58 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32()
63 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32()
68 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait()
84 static u32 _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write()
103 static u32 _mtk_mdio_read(struct mtk_eth *eth, int phy_addr, int phy_reg) in _mtk_mdio_read()
126 struct mtk_eth *eth = bus->priv; in mtk_mdio_write() local
133 struct mtk_eth *eth = bus->priv; in mtk_mdio_read() local
138 static int mt7621_gmac0_rgmii_adjust(struct mtk_eth *eth, in mt7621_gmac0_rgmii_adjust()
163 static void mtk_gmac0_rgmii_adjust(struct mtk_eth *eth, int speed) in mtk_gmac0_rgmii_adjust()
195 struct mtk_eth *eth = mac->hw; in mtk_mac_config() local
[all …]
Dmtk_eth_path.c43 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()
257 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_gephy_path_setup()
275 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_rgmii_path_setup()
Dmtk_sgmii.c111 void mtk_sgmii_restart_an(struct mtk_eth *eth, int mac_id) in mtk_sgmii_restart_an()
/Linux-v5.4/net/ethernet/
Deth.c83 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
219 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() local
235 struct ethhdr *eth; in eth_header_cache() local
275 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse_protocol() local
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c39 struct ethhdr eth; member
45 struct ethhdr eth; member
52 struct ethhdr eth; member
60 struct ethhdr eth; member
66 struct ethhdr eth; member
78 struct ethhdr eth; member
/Linux-v5.4/samples/bpf/
Dtc_l2_redirect_kern.c63 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
Dxdp_redirect_cpu_kern.c112 bool parse_eth(struct ethhdr *eth, void *data_end, in parse_eth()
235 struct ethhdr *eth = data; in xdp_prognum1_touch_data() local
278 struct ethhdr *eth = data; in xdp_prognum2_round_robin() local
326 struct ethhdr *eth = data; in xdp_prognum3_proto_separate() local
394 struct ethhdr *eth = data; in xdp_prognum4_ddos_filter_pktgen() local
514 struct ethhdr *eth = data; in xdp_prognum5_lb_hash_ip_pairs() local
Dxdp_adjust_tail_kern.c47 struct ethhdr *eth; in swap_mac() local
138 struct ethhdr *eth = data; in _xdp_icmp() local
Dparse_simple.c30 struct eth_hdr *eth = data; in handle_ingress() local
Dxdp_redirect_kern.c60 struct ethhdr *eth = data; in xdp_redirect_prog() local
Dxdp_redirect_map_kern.c60 struct ethhdr *eth = data; in xdp_redirect_map_prog() local
Dxdp1_kern.c47 struct ethhdr *eth = data; in xdp_prog1() local
Dxdp_fwd_kern.c49 struct ethhdr *eth = data; in xdp_fwd_flags() local
Dxdp2_kern.c63 struct ethhdr *eth = data; in xdp_prog1() local
Dxdp_rxq_info_kern.c120 struct ethhdr *eth = data; in xdp_prognum0() local
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dxdping_kern.c63 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
Dtest_pkt_access.c25 struct ethhdr *eth = (struct ethhdr *)(data); in process() local
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dsta_rx.c39 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local
90 struct ethhdr *eth; in mwifiex_process_rx_packet() local
/Linux-v5.4/arch/mips/cavium-octeon/
Docteon-platform.c478 static void __init octeon_fdt_set_phy(int eth, int phy_addr) in octeon_fdt_set_phy()
606 static void __init _octeon_rx_tx_delay(int eth, int rx_delay, int tx_delay) in _octeon_rx_tx_delay()
614 static void __init octeon_rx_tx_delay(int eth, int iface, int port) in octeon_rx_tx_delay()
648 int eth; in octeon_fdt_pip_port() local
750 int eth; in octeon_fill_mac_addresses() local
/Linux-v5.4/arch/arm/boot/dts/
Dimx1-apf9328.dts57 eth: eth@4,c00000 { label
Dorion5x.dtsi180 eth: ethernet-controller@72000 { label
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_queue_stack_map.h34 struct ethhdr *eth = (struct ethhdr *)(data); in _test() local
Dtest_progs.h81 struct ethhdr eth; member
89 struct ethhdr eth; member
/Linux-v5.4/drivers/net/ipvlan/
Dipvlan_core.c590 struct ethhdr *eth = eth_hdr(skb); in ipvlan_xmit_mode_l2() local
660 struct ethhdr *eth = eth_hdr(skb); in ipvlan_external_frame() local
703 struct ethhdr *eth = eth_hdr(skb); in ipvlan_handle_mode_l2() local
/Linux-v5.4/drivers/staging/gdm724x/
Dgdm_lte.c96 struct ethhdr eth; in gdm_lte_emulate_arp() local
216 struct ethhdr eth; in gdm_lte_emulate_ndp() local
338 struct ethhdr *eth; in gdm_lte_tx_nic_type() local
567 struct ethhdr eth; in gdm_lte_netif_rx() local

123456