Home
last modified time | relevance | path

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

12345678

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c58 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 …]
H A Dmtk_eth_path.c43 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()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dsh_eth.c58 struct sh_eth_dev *eth = dev->priv; in sh_eth_send() local
116 struct sh_eth_dev *eth = dev->priv; in sh_eth_recv() local
156 static int sh_eth_reset(struct sh_eth_dev *eth) in sh_eth_reset()
187 static int sh_eth_tx_desc_init(struct sh_eth_dev *eth) in sh_eth_tx_desc_init()
238 static int sh_eth_rx_desc_init(struct sh_eth_dev *eth) in sh_eth_rx_desc_init()
311 static void sh_eth_tx_desc_free(struct sh_eth_dev *eth) in sh_eth_tx_desc_free()
322 static void sh_eth_rx_desc_free(struct sh_eth_dev *eth) in sh_eth_rx_desc_free()
338 static int sh_eth_desc_init(struct sh_eth_dev *eth) in sh_eth_desc_init()
358 static int sh_eth_phy_config(struct sh_eth_dev *eth) in sh_eth_phy_config()
374 static int sh_eth_config(struct sh_eth_dev *eth, bd_t *bd) in sh_eth_config()
[all …]
H A Dravb.c141 struct ravb_priv *eth = dev_get_priv(dev); in ravb_send() local
174 struct ravb_priv *eth = dev_get_priv(dev); in ravb_recv() local
200 struct ravb_priv *eth = dev_get_priv(dev); in ravb_free_pkt() local
217 struct ravb_priv *eth = dev_get_priv(dev); in ravb_reset() local
227 static void ravb_base_desc_init(struct ravb_priv *eth) in ravb_base_desc_init()
244 static void ravb_tx_desc_init(struct ravb_priv *eth) in ravb_tx_desc_init()
268 static void ravb_rx_desc_init(struct ravb_priv *eth) in ravb_rx_desc_init()
300 struct ravb_priv *eth = dev_get_priv(dev); in ravb_phy_config() local
332 struct ravb_priv *eth = dev_get_priv(dev); in ravb_write_hwaddr() local
345 static int ravb_mac_init(struct ravb_priv *eth) in ravb_mac_init()
[all …]
H A Dbcm-sf2-eth.c35 struct eth_info *eth = (struct eth_info *)(dev->priv); in bcm_sf2_eth_init() local
140 struct eth_info *eth = (struct eth_info *)(dev->priv); in bcm_sf2_eth_write_hwaddr() local
151 struct eth_info *eth = (struct eth_info *)(dev->priv); in bcm_sf2_eth_open() local
190 struct eth_info *eth = (struct eth_info *)(dev->priv); in bcm_sf2_eth_close() local
203 struct eth_info *eth; in bcm_sf2_eth_register() local
H A Dfec_mxc.c89 static int fec_mdio_read(struct ethernet_regs *eth, uint8_t phyaddr, in fec_mdio_read()
127 static void fec_mii_setspeed(struct ethernet_regs *eth) in fec_mii_setspeed()
154 static int fec_mdio_write(struct ethernet_regs *eth, uint8_t phyaddr, in fec_mdio_write()
202 struct ethernet_regs *eth = fec->bus->priv; in miiphy_restart_aneg() local
234 struct ethernet_regs *eth = fec->bus->priv; in miiphy_wait_aneg() local
1000 struct ethernet_regs *eth = priv->eth; in fec_get_miibus() local
H A Dsandbox-raw.c49 struct ethernet_hdr *eth = packet; in sb_eth_raw_send() local
110 struct ethernet_hdr *eth = (void *)net_rx_packets[0]; in sb_eth_raw_recv() local
H A Dnetconsole.c174 struct udevice *eth; in nc_send_packet() local
300 struct udevice *eth; in nc_stdio_tstc() local
/OK3568_Linux_fs/kernel/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
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
/OK3568_Linux_fs/kernel/samples/bpf/
H A 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
H A Dxdp_redirect_cpu_kern.c115 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
H A Dxdp_adjust_tail_kern.c50 struct ethhdr *eth; in swap_mac() local
141 struct ethhdr *eth = data; in _xdp_icmp() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dxdping_kern.c63 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
H A Dtest_cls_redirect.h43 struct ethhdr eth; member
49 struct ethhdr eth; member
H A Dload_bytes_relative.c23 struct ethhdr eth; in load_bytes_relative() local
H A Dtest_queue_stack_map.h34 struct ethhdr *eth = (struct ethhdr *)(data); in _test() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c42 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
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dnetwork_helpers.h22 struct ethhdr eth; member
30 struct ethhdr eth; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Dsta_rx.c39 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local
90 struct ethhdr *eth; in mwifiex_process_rx_packet() local
/OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/
H A Docteon-platform.c481 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
/OK3568_Linux_fs/u-boot/drivers/usb/eth/
H A Dasix.c499 static int asix_init(struct eth_device *eth, bd_t *bd) in asix_init()
506 static int asix_send(struct eth_device *eth, void *packet, int length) in asix_send()
513 static int asix_recv(struct eth_device *eth) in asix_recv()
579 static void asix_halt(struct eth_device *eth) in asix_halt()
584 static int asix_write_hwaddr(struct eth_device *eth) in asix_write_hwaddr()
712 struct eth_device *eth) in asix_eth_get_info()
H A Dmcs7830.c587 static int mcs7830_init(struct eth_device *eth, bd_t *bd) in mcs7830_init()
603 static int mcs7830_send(struct eth_device *eth, void *packet, int length) in mcs7830_send()
618 static int mcs7830_recv(struct eth_device *eth) in mcs7830_recv()
641 static void mcs7830_halt(struct eth_device *eth) in mcs7830_halt()
655 static int mcs7830_write_mac(struct eth_device *eth) in mcs7830_write_mac()
819 struct eth_device *eth) in mcs7830_eth_get_info()
H A Dsmsc95xx.c717 static int smsc95xx_init(struct eth_device *eth, bd_t *bd) in smsc95xx_init()
727 static int smsc95xx_send(struct eth_device *eth, void *packet, int length) in smsc95xx_send()
734 static int smsc95xx_recv(struct eth_device *eth) in smsc95xx_recv()
802 static void smsc95xx_halt(struct eth_device *eth) in smsc95xx_halt()
807 static int smsc95xx_write_hwaddr(struct eth_device *eth) in smsc95xx_write_hwaddr()
915 struct eth_device *eth) in smsc95xx_eth_get_info()
H A Dasix88179.c511 static int asix_init(struct eth_device *eth, bd_t *bd) in asix_init()
519 static int asix_write_hwaddr(struct eth_device *eth) in asix_write_hwaddr()
526 static int asix_send(struct eth_device *eth, void *packet, int length) in asix_send()
534 static int asix_recv(struct eth_device *eth) in asix_recv()
601 static void asix_halt(struct eth_device *eth) in asix_halt()
721 struct eth_device *eth) in ax88179_eth_get_info()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dimx1-apf9328.dts57 eth: eth@4,c00000 { label

12345678