| /kernel/linux/linux-4.19/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.c | 61 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() 66 u32 mtk_r32(struct mtk_eth *eth, unsigned reg) in mtk_r32() 71 static int mtk_mdio_busy_wait(struct mtk_eth *eth) in mtk_mdio_busy_wait() 87 static u32 _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr, in _mtk_mdio_write() 106 static u32 _mtk_mdio_read(struct mtk_eth *eth, int phy_addr, int phy_reg) in _mtk_mdio_read() 129 struct mtk_eth *eth = bus->priv; in mtk_mdio_write() local 136 struct mtk_eth *eth = bus->priv; in mtk_mdio_read() local 141 static void mtk_gmac0_rgmii_adjust(struct mtk_eth *eth, int speed) in mtk_gmac0_rgmii_adjust() 168 static void mtk_gmac_sgmii_hw_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_sgmii_hw_setup() 274 static int mtk_phy_connect_node(struct mtk_eth *eth, struct mtk_mac *mac, in mtk_phy_connect_node() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/mt7621-eth/ |
| D | mtk_eth_soc.c | 85 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned int reg) in mtk_w32() 90 u32 mtk_r32(struct mtk_eth *eth, unsigned int reg) in mtk_r32() 95 static void mtk_reg_w32(struct mtk_eth *eth, u32 val, enum mtk_reg reg) in mtk_reg_w32() 100 static u32 mtk_reg_r32(struct mtk_eth *eth, enum mtk_reg reg) in mtk_reg_r32() 110 void mtk_reset(struct mtk_eth *eth, u32 reset_bits) in mtk_reset() 124 static inline void mtk_irq_ack(struct mtk_eth *eth, u32 mask) in mtk_irq_ack() 132 static inline u32 mtk_irq_pending(struct mtk_eth *eth) in mtk_irq_pending() 144 static void mtk_irq_ack_status(struct mtk_eth *eth, u32 mask) in mtk_irq_ack_status() 154 static u32 mtk_irq_pending_status(struct mtk_eth *eth) in mtk_irq_pending_status() 164 static inline void mtk_irq_disable(struct mtk_eth *eth, u32 mask) in mtk_irq_disable() [all …]
|
| D | mdio.c | 27 struct mtk_eth *eth = netdev_priv(dev); in mtk_phy_link_adjust() local 63 int mtk_connect_phy_node(struct mtk_eth *eth, struct mtk_mac *mac, in mtk_connect_phy_node() 106 static void phy_init(struct mtk_eth *eth, struct mtk_mac *mac, in phy_init() 123 struct mtk_eth *eth = mac->hw; in mtk_phy_connect() local 151 struct mtk_eth *eth = mac->hw; in mtk_phy_disconnect() local 175 struct mtk_eth *eth = mac->hw; in mtk_phy_start() local 194 struct mtk_eth *eth = mac->hw; in mtk_phy_stop() local 217 int mtk_mdio_init(struct mtk_eth *eth) in mtk_mdio_init() 267 void mtk_mdio_cleanup(struct mtk_eth *eth) in mtk_mdio_cleanup()
|
| D | mdio_mt7620.c | 83 struct mtk_eth *eth = bus->priv; in mt7620_mdio_write() local 91 struct mtk_eth *eth = bus->priv; in mt7620_mdio_read() local 144 int mt7620_has_carrier(struct mtk_eth *eth) in mt7620_has_carrier() 155 void mt7620_print_link_state(struct mtk_eth *eth, int port, int link, in mt7620_print_link_state() 168 void mt7620_mdio_link_adjust(struct mtk_eth *eth, int port) in mt7620_mdio_link_adjust()
|
| D | mdio.h | 24 static inline int mtk_mdio_init(struct mtk_eth *eth) { return 0; } in mtk_mdio_init() 25 static inline void mtk_mdio_cleanup(struct mtk_eth *eth) {} in mtk_mdio_cleanup()
|
| D | gsw_mt7621.c | 41 struct mtk_eth *eth = (struct mtk_eth *)_eth; in gsw_interrupt_mt7621() local 72 static void mt7621_hw_init(struct mtk_eth *eth, struct mt7620_gsw *gsw, in mt7621_hw_init() 226 int mtk_gsw_init(struct mtk_eth *eth) in mtk_gsw_init()
|
| D | soc_mt7621.c | 82 static void mt7621_mtk_reset(struct mtk_eth *eth) in mt7621_mtk_reset() 87 static int mt7621_fwd_config(struct mtk_eth *eth) in mt7621_fwd_config()
|
| /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-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-4.19/net/ethernet/ |
| D | eth.c | 86 struct ethhdr *eth = skb_push(skb, ETH_HLEN); in eth_header() local 130 const struct ethhdr *eth = (const struct ethhdr *)data; in eth_get_headlen() local 160 const struct ethhdr *eth; in eth_type_trans() local 214 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() local 230 struct ethhdr *eth; in eth_header_cache() 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-4.19/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_redirect_cpu_kern.c | 112 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
|
| D | xdp_adjust_tail_kern.c | 47 struct ethhdr *eth; in swap_mac() local 138 struct ethhdr *eth = data; in _xdp_icmp() 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
|
| D | test_cls_redirect.h | 43 struct ethhdr eth; member 49 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-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/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-4.19/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-5.10/arch/mips/cavium-octeon/ |
| D | octeon-platform.c | 478 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
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | imx1-apf9328.dts | 63 eth: eth@4,c00000 { label
|