Home
last modified time | relevance | path

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

12345678

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c292 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32()
297 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32()
302 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32()
313 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait()
329 static int _mtk_mdio_write_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write_c22()
353 static int _mtk_mdio_write_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write_c45()
389 static int _mtk_mdio_read_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read_c22()
411 static int _mtk_mdio_read_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_read_c45()
449 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c22() local
457 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c45() local
[all …]
Dmtk_eth_path.c43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, u64 path) in set_mux_gdm1_to_gmac1_esw()
76 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, u64 path) in set_mux_gmac2_gmac0_to_gephy()
99 static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, u64 path) in set_mux_u3_gmac2_to_qphy()
130 static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, u64 path) in set_mux_gmac1_gmac2_to_sgmii_rgmii()
168 static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, u64 path) in set_mux_gmac12_to_gephy_sgmii()
223 static int mtk_eth_mux_setup(struct mtk_eth *eth, u64 path) in mtk_eth_mux_setup()
252 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_sgmii_path_setup()
263 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_gephy_path_setup()
277 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_rgmii_path_setup()
Dmtk_ppe_offload.c17 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()
187 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device()
244 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f, in mtk_flow_offload_replace()
500 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy()
520 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats()
546 int mtk_flow_offload_cmd(struct mtk_eth *eth, struct flow_cls_offload *cls, in mtk_flow_offload_cmd()
577 struct mtk_eth *eth; in mtk_eth_setup_tc_block_cb() local
[all …]
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 …]
Dairoha_eth.c789 struct airoha_eth *eth; member
850 #define airoha_fe_rr(eth, offset) \ argument
852 #define airoha_fe_wr(eth, offset, val) \ argument
854 #define airoha_fe_rmw(eth, offset, mask, val) \ argument
856 #define airoha_fe_set(eth, offset, val) \ argument
858 #define airoha_fe_clear(eth, offset, val) \ argument
916 struct airoha_eth *eth = port->qdma->eth; in airoha_set_macaddr() local
929 static void airoha_set_gdm_port_fwd_cfg(struct airoha_eth *eth, u32 addr, in airoha_set_gdm_port_fwd_cfg()
942 static int airoha_set_gdm_port(struct airoha_eth *eth, int port, bool enable) in airoha_set_gdm_port()
981 static int airoha_set_gdm_ports(struct airoha_eth *eth, bool enable) in airoha_set_gdm_ports()
[all …]
/linux-6.12.1/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
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-6.12.1/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_adjust_tail_kern.c50 struct ethhdr *eth; in swap_mac() local
141 struct ethhdr *eth = data; in _xdp_icmp() local
Dparse_simple.c30 struct eth_hdr *eth = data; in handle_ingress() local
/linux-6.12.1/tools/testing/selftests/bpf/progs/
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
Dxdp_redirect_multi_kern.c43 struct ethhdr *eth = data; in xdp_redirect_map_multi_prog() local
79 struct ethhdr *eth = data; in xdp_devmap_prog() local
Dtest_tc_link.c31 struct ethhdr eth = {}; in tc1() local
89 struct ethhdr eth = {}; in tc7() local
Dtest_cls_redirect.h52 struct ethhdr eth; member
58 struct ethhdr eth; member
Dload_bytes_relative.c23 struct ethhdr eth; in load_bytes_relative() local
Dtest_queue_stack_map.h32 struct ethhdr *eth = (struct ethhdr *)(data); in _test() local
Dxdp_metadata.c35 struct ethhdr *eth = NULL; in rx() local
Dxdp_hw_metadata.c35 struct ethhdr *eth; in rx() local
Dskb_pkt_end.c18 struct ethhdr *eth; in get_iphdr() local
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c44 struct ethhdr eth; member
50 struct ethhdr eth; member
57 struct ethhdr eth; member
65 struct ethhdr eth; member
71 struct ethhdr eth; member
83 struct ethhdr eth; member
/linux-6.12.1/tools/testing/selftests/net/
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-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dsta_rx.c27 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local
78 struct ethhdr *eth; in mwifiex_process_rx_packet() local
/linux-6.12.1/arch/mips/cavium-octeon/
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-6.12.1/tools/testing/selftests/bpf/
Dnetwork_helpers.h43 struct ethhdr eth; member
51 struct ethhdr eth; member
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx1-apf9328.dts57 eth: ethernet@4,c00000 { label
/linux-6.12.1/drivers/net/ipvlan/
Dipvlan_core.c610 struct ethhdr *eth = skb_eth_hdr(skb); in ipvlan_xmit_mode_l2() local
682 struct ethhdr *eth = eth_hdr(skb); in ipvlan_external_frame() local
725 struct ethhdr *eth = eth_hdr(skb); in ipvlan_handle_mode_l2() local

12345678