Home
last modified time | relevance | path

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

12345678

/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_path.c45 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, u64 path) in set_mux_gdm1_to_gmac1_esw()
78 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, u64 path) in set_mux_gmac2_gmac0_to_gephy()
101 static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, u64 path) in set_mux_u3_gmac2_to_qphy()
132 static int set_mux_gmac2_to_2p5gphy(struct mtk_eth *eth, u64 path) in set_mux_gmac2_to_2p5gphy()
155 static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, u64 path) in set_mux_gmac1_gmac2_to_sgmii_rgmii()
193 static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, u64 path) in set_mux_gmac12_to_gephy_sgmii()
252 static int mtk_eth_mux_setup(struct mtk_eth *eth, u64 path) in mtk_eth_mux_setup()
281 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_sgmii_path_setup()
292 int mtk_gmac_2p5gphy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_2p5gphy_path_setup()
306 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_gephy_path_setup()
[all …]
H A Dmtk_ppe.c61 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 Dairoha_eth.c76 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()
107 struct airoha_eth *eth = port->qdma->eth; in airoha_set_vip_for_gdm_port() local
134 static void airoha_fe_maccr_init(struct airoha_eth *eth) in airoha_fe_maccr_init()
149 static void airoha_fe_vip_setup(struct airoha_eth *eth) in airoha_fe_vip_setup()
213 static u32 airoha_fe_get_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_get_pse_queue_rsv_pages()
227 static void airoha_fe_set_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_set_pse_queue_rsv_pages()
240 static u32 airoha_fe_get_pse_all_rsv(struct airoha_eth *eth) in airoha_fe_get_pse_all_rsv()
247 static int airoha_fe_set_pse_oq_rsv(struct airoha_eth *eth, in airoha_fe_set_pse_oq_rsv()
281 static void airoha_fe_pse_ports_init(struct airoha_eth *eth) in airoha_fe_pse_ports_init()
[all …]
H A Dairoha_ppe.c34 static bool airoha_ppe2_is_enabled(struct airoha_eth *eth) in airoha_ppe2_is_enabled()
49 struct airoha_eth *eth = ppe->eth; in airoha_ppe_hw_init() local
134 static void airoha_ppe_flow_mangle_eth(const struct flow_action_entry *act, void *eth) in airoha_ppe_flow_mangle_eth()
217 static int airoha_ppe_foe_entry_prepare(struct airoha_eth *eth, in airoha_ppe_foe_entry_prepare()
518 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_get_entry_locked() local
577 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_commit_entry() local
899 struct airoha_eth *eth = port->qdma->eth; in airoha_ppe_flow_offload_replace() local
1099 struct airoha_eth *eth = port->qdma->eth; in airoha_ppe_flow_offload_destroy() local
1119 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_entry_get_stats() local
1145 struct airoha_eth *eth = port->qdma->eth; in airoha_ppe_flow_offload_stats() local
[all …]
/linux/net/ethernet/
H A 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
203 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() local
219 struct ethhdr *eth; in eth_header_cache() local
264 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse_protocol() local
/linux/drivers/scsi/fnic/
H A Dfip.h51 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/samples/bpf/
H A Dtc_l2_redirect_kern.c62 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_forward() local
111 struct eth_hdr *eth = data; in _l2_to_iptun_ingress_redirect() local
150 struct eth_hdr *eth = data; in _l2_to_ip6tun_ingress_redirect() local
204 struct eth_hdr *eth = data; in _drop_non_tun_vip() local
H A Dxdp_adjust_tail_kern.c50 struct ethhdr *eth; in swap_mac() local
142 struct ethhdr *eth = data; in _xdp_icmp() local
H A Dparse_simple.c30 struct eth_hdr *eth = data; in handle_ingress() local
/linux/tools/testing/selftests/bpf/progs/
H A Dxdping_kern.c64 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 Dxdp_redirect_multi_kern.c51 struct ethhdr *eth = data; in xdp_redirect_map_multi_prog() local
96 struct ethhdr *eth = data; in xdp_devmap_prog() local
H A Dxdp_redirect_map.c45 struct ethhdr *eth = data; in xdp_count() local
90 struct ethhdr *eth = data; in store_mac() local
H A Dtest_btf_skc_cls_ingress.c66 static int handle_ip_tcp(struct ethhdr *eth, struct __sk_buff *skb) in handle_ip_tcp()
180 struct ethhdr *eth; in cls_ingress() local
H A Dtest_tc_link.c36 struct ethhdr eth = {}; in tc1() local
94 struct ethhdr eth = {}; in tc7() local
H A Dload_bytes_relative.c23 struct ethhdr eth; in load_bytes_relative() local
H A Dtest_queue_stack_map.h32 struct ethhdr *eth = (struct ethhdr *)(data); in _test() local
H A Dxdp_hw_metadata.c35 struct ethhdr *eth; in rx() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c19 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 Dxdp_context_test_run.c131 struct ethhdr eth = { 0 }; in send_test_packet() local
307 struct ethhdr eth = { 0 }; in test_xdp_context_tuntap() local
/linux/tools/testing/selftests/net/
H A Dnat6to4.bpf.c54 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 Dsta_rx.c27 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local
78 struct ethhdr *eth; in mwifiex_process_rx_packet() local
/linux/arch/mips/cavium-octeon/
H A Docteon-platform.c482 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/lib/
H A Dxdp_native.bpf.c74 struct ethhdr *eth = data; in filter_udphdr() local
138 struct ethhdr *eth = data; in swap_machdr() local
151 struct ethhdr *eth = data; in xdp_mode_tx_handler() local
217 struct ethhdr *eth = data; in update_pkt() local
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx1-apf9328.dts57 eth: ethernet@4,c00000 { label
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.h47 struct ethhdr eth; member
55 struct ethhdr eth; member

12345678