Home
last modified time | relevance | path

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

123456789

/linux-6.15/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c288 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32()
293 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32()
298 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32()
309 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait()
325 static int _mtk_mdio_write_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write_c22()
349 static int _mtk_mdio_write_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write_c45()
385 static int _mtk_mdio_read_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read_c22()
407 static int _mtk_mdio_read_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_read_c45()
445 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c22() local
453 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
57 mtk_flow_set_ipv4_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv4_addr()
66 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr()
75 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()
246 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 …]
/linux-6.15/drivers/net/ethernet/airoha/
Dairoha_eth.c81 struct airoha_eth *eth = port->qdma->eth; in airoha_set_macaddr() local
94 static void airoha_set_gdm_port_fwd_cfg(struct airoha_eth *eth, u32 addr, in airoha_set_gdm_port_fwd_cfg()
110 struct airoha_eth *eth = port->qdma->eth; in airoha_set_vip_for_gdm_port() local
137 static void airoha_fe_maccr_init(struct airoha_eth *eth) in airoha_fe_maccr_init()
152 static void airoha_fe_vip_setup(struct airoha_eth *eth) in airoha_fe_vip_setup()
216 static u32 airoha_fe_get_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_get_pse_queue_rsv_pages()
230 static void airoha_fe_set_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_set_pse_queue_rsv_pages()
243 static u32 airoha_fe_get_pse_all_rsv(struct airoha_eth *eth) in airoha_fe_get_pse_all_rsv()
250 static int airoha_fe_set_pse_oq_rsv(struct airoha_eth *eth, in airoha_fe_set_pse_oq_rsv()
284 static void airoha_fe_pse_ports_init(struct airoha_eth *eth) in airoha_fe_pse_ports_init()
[all …]
Dairoha_ppe.c27 static bool airoha_ppe2_is_enabled(struct airoha_eth *eth) in airoha_ppe2_is_enabled()
42 struct airoha_eth *eth = ppe->eth; in airoha_ppe_hw_init() local
126 static void airoha_ppe_flow_mangle_eth(const struct flow_action_entry *act, void *eth) in airoha_ppe_flow_mangle_eth()
200 static int airoha_ppe_foe_entry_prepare(struct airoha_eth *eth, in airoha_ppe_foe_entry_prepare()
402 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_get_entry() local
449 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_commit_entry() local
543 struct airoha_eth *eth = port->qdma->eth; in airoha_ppe_flow_offload_replace() local
738 struct airoha_eth *eth = port->qdma->eth; in airoha_ppe_flow_offload_destroy() local
785 static struct airoha_npu *airoha_ppe_npu_get(struct airoha_eth *eth) in airoha_ppe_npu_get()
797 static int airoha_ppe_offload_setup(struct airoha_eth *eth) in airoha_ppe_offload_setup()
[all …]
/linux-6.15/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.15/drivers/scsi/fnic/
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-6.15/samples/bpf/
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
Dxdp_adjust_tail_kern.c50 struct ethhdr *eth; in swap_mac() local
142 struct ethhdr *eth = data; in _xdp_icmp() local
/linux-6.15/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.c51 struct ethhdr *eth = data; in xdp_redirect_map_multi_prog() local
96 struct ethhdr *eth = data; in xdp_devmap_prog() local
Dxdp_redirect_map.c45 struct ethhdr *eth = data; in xdp_count() local
90 struct ethhdr *eth = data; in store_mac() local
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
Dtest_tc_link.c36 struct ethhdr eth = {}; in tc1() local
94 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
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
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
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-6.15/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.15/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.15/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.15/arch/arm/boot/dts/nxp/imx/
Dimx1-apf9328.dts57 eth: ethernet@4,c00000 { label
/linux-6.15/tools/testing/selftests/bpf/
Dnetwork_helpers.h47 struct ethhdr eth; member
55 struct ethhdr eth; member

123456789