Home
last modified time | relevance | path

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

/bsp/microchip/common/board/
A Dsam_gmac.c85 static inline void rt_sam_gmac_init(struct rt_sam_eth *gmac_dev) in rt_sam_gmac_init() argument
92 mac_async_set_filter(gmac_dev->macif, 0, &filter); in rt_sam_gmac_init()
93 mac_async_register_callback(gmac_dev->macif, MAC_ASYNC_RECEIVE_CB, (FUNC_PTR)rt_sam_gmac_rxcb); in rt_sam_gmac_init()
160 struct rt_sam_eth *gmac_dev = (struct rt_sam_eth *)dev->user_data; in rt_sam_eth_tx() local
171 mac_async_write(gmac_dev->macif, p->payload, p->tot_len); in rt_sam_eth_tx()
186 mac_async_write(gmac_dev->macif, tbuf, p->tot_len); in rt_sam_eth_tx()
210 struct rt_sam_eth *gmac_dev = (struct rt_sam_eth *)dev->user_data; in rt_sam_eth_rx() local
214 len = mac_async_read_len(gmac_dev->macif); /* Obtain the size of the packet */ in rt_sam_eth_rx()
234 mac_async_read(gmac_dev->macif, p->payload, p->len); in rt_sam_eth_rx()
244 mac_async_read(gmac_dev->macif, NULL, 0); in rt_sam_eth_rx()

Completed in 3 milliseconds