Home
last modified time | relevance | path

Searched refs:eth (Results 1 – 5 of 5) sorted by relevance

/lk-master/platform/stm32f7xx/
A Deth.c80 static struct eth_status eth; variable
93 eth.eth_phy = eth_phy; in eth_init()
98 eth.EthHandle.Instance = ETH; in eth_init()
135 eth.DMATxDscrTab = (void *)tcm_ptr; in eth_init()
137 eth.DMARxDscrTab = (void *)tcm_ptr; in eth_init()
140 eth.Tx_Buff = (void *)tcm_ptr; in eth_init()
142 eth.Rx_Buff = (void *)tcm_ptr; in eth_init()
146 HAL_ETH_DMATxDescListInit(&eth.EthHandle, eth.DMATxDscrTab, eth.Tx_Buff, ETH_TXBUFNB); in eth_init()
149 HAL_ETH_DMARxDescListInit(&eth.EthHandle, eth.DMARxDscrTab, eth.Rx_Buff, ETH_RXBUFNB); in eth_init()
152 HAL_ETH_Start(&eth.EthHandle); in eth_init()
[all …]
A Drules.mk42 $(LOCAL_DIR)/eth.c \
/lk-master/lib/minip/
A Dminip.c128 struct eth_hdr *eth; in send_arp_request() local
135 eth = pktbuf_prepend(p, sizeof(struct eth_hdr)); in send_arp_request()
221 struct eth_hdr *eth; in send_ping_reply() local
347 struct eth_hdr *eth; in handle_arp_pkt() local
407 dump_mac_address(eth->src_mac); in dump_eth_packet()
409 dump_mac_address(eth->dst_mac); in dump_eth_packet()
410 printf(" type 0x%hx\n", htons(eth->type)); in dump_eth_packet()
414 struct eth_hdr *eth; in minip_rx_driver_callback() local
421 dump_eth_packet(eth); in minip_rx_driver_callback()
430 switch (htons(eth->type)) { in minip_rx_driver_callback()
[all …]
A Darp.c128 struct eth_hdr *eth; in arp_send_request() local
135 eth = pktbuf_prepend(p, sizeof(struct eth_hdr)); in arp_send_request()
137 minip_build_mac_hdr(eth, bcast_mac, ETH_TYPE_ARP); in arp_send_request()
A Dudp.c115 struct eth_hdr *eth; in udp_send_iovec() local
135 eth = pktbuf_prepend(p, sizeof(struct eth_hdr)); in udp_send_iovec()
144 minip_build_mac_hdr(eth, handle->mac, ETH_TYPE_IPV4); in udp_send_iovec()

Completed in 9 milliseconds