| /kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.c | 58 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 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned reg) in mtk_m32() 79 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 95 static u32 _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write() 114 static u32 _mtk_mdio_read(struct mtk_eth *eth, int phy_addr, int phy_reg) in _mtk_mdio_read() 137 struct mtk_eth *eth = bus->priv; in mtk_mdio_write() local 144 struct mtk_eth *eth = bus->priv; in mtk_mdio_read() local 149 static int mt7621_gmac0_rgmii_adjust(struct mtk_eth *eth, in mt7621_gmac0_rgmii_adjust() 174 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() 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()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.c | 282 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() 287 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() 292 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32() 303 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 319 static int _mtk_mdio_write_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg, in _mtk_mdio_write_c22() 343 static int _mtk_mdio_write_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write_c45() 379 static int _mtk_mdio_read_c22(struct mtk_eth *eth, u32 phy_addr, u32 phy_reg) in _mtk_mdio_read_c22() 401 static int _mtk_mdio_read_c45(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_read_c45() 439 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c22() local 447 struct mtk_eth *eth = bus->priv; in mtk_mdio_write_c45() local [all …]
|
| D | mtk_eth_path.c | 43 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()
|
| 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() 240 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f, in mtk_flow_offload_replace() 481 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy() 501 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats() 527 int mtk_flow_offload_cmd(struct mtk_eth *eth, struct flow_cls_offload *cls, in mtk_flow_offload_cmd() 558 struct mtk_eth *eth; in mtk_eth_setup_tc_block_cb() local [all …]
|
| D | mtk_ppe.c | 58 static u32 mtk_eth_timestamp(struct mtk_eth *eth) in mtk_eth_timestamp() 141 static u32 mtk_ppe_hash_entry(struct mtk_eth *eth, struct mtk_foe_entry *e) in mtk_ppe_hash_entry() 182 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2() 196 mtk_foe_entry_ib2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_ib2() 209 int mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_prepare() 276 int mtk_foe_entry_set_pse_port(struct mtk_eth *eth, in mtk_foe_entry_set_pse_port() 294 int mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv4_tuple() 334 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 …]
|
| /kernel/linux/linux-5.10/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 219 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() local 235 struct ethhdr *eth; in eth_header_cache() local 280 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse_protocol() local
|
| /kernel/linux/linux-6.6/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 205 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() local 221 struct ethhdr *eth; in eth_header_cache() local 266 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse_protocol() local
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | xdping_kern.c | 63 struct ethhdr *eth = data; in icmp_check() local 94 struct ethhdr *eth = data; in xdping_client() local 156 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
|
| /kernel/linux/linux-6.6/samples/bpf/ |
| 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_adjust_tail_kern.c | 50 struct ethhdr *eth; in swap_mac() local 142 struct ethhdr *eth = data; in _xdp_icmp() local
|
| /kernel/linux/linux-5.10/samples/bpf/ |
| 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_adjust_tail_kern.c | 50 struct ethhdr *eth; in swap_mac() local 141 struct ethhdr *eth = data; in _xdp_icmp() local
|
| D | xdp_redirect_cpu_kern.c | 115 bool parse_eth(struct ethhdr *eth, void *data_end, in parse_eth() 238 struct ethhdr *eth = data; in xdp_prognum1_touch_data() local 281 struct ethhdr *eth = data; in xdp_prognum2_round_robin() local 329 struct ethhdr *eth = data; in xdp_prognum3_proto_separate() local 397 struct ethhdr *eth = data; in xdp_prognum4_ddos_filter_pktgen() local 517 struct ethhdr *eth = data; in xdp_prognum5_lb_hash_ip_pairs() local
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | flow_dissector.c | 42 struct ethhdr eth; member 48 struct ethhdr eth; member 55 struct ethhdr eth; member 63 struct ethhdr eth; member 69 struct ethhdr eth; member 81 struct ethhdr eth; member
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | network_helpers.h | 22 struct ethhdr eth; member 30 struct ethhdr eth; member
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| 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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
| D | sta_rx.c | 39 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local 90 struct ethhdr *eth; in mwifiex_process_rx_packet() local
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | network_helpers.h | 31 struct ethhdr eth; member 39 struct ethhdr eth; member
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-6.6/arch/mips/cavium-octeon/ |
| D | octeon-platform.c | 482 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
|