Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dbcm-sf2-eth.h28 struct eth_dma { struct
38 int (*tx_packet)(struct eth_dma *dma, void *packet, int length); argument
39 bool (*check_tx_done)(struct eth_dma *dma); argument
41 int (*check_rx_done)(struct eth_dma *dma, uint8_t *buf); argument
43 int (*enable_dma)(struct eth_dma *dma, int dir); argument
44 int (*disable_dma)(struct eth_dma *dma, int dir); argument
48 struct eth_dma dma;
H A Dbcm-sf2-eth-gmac.c35 static int gmac_disable_dma(struct eth_dma *dma, int dir);
36 static int gmac_enable_dma(struct eth_dma *dma, int dir);
95 static void dma_tx_dump(struct eth_dma *dma) in dma_tx_dump()
127 static void dma_rx_dump(struct eth_dma *dma) in dma_rx_dump()
159 static int dma_tx_init(struct eth_dma *dma) in dma_tx_init()
211 static int dma_rx_init(struct eth_dma *dma) in dma_rx_init()
264 static int dma_init(struct eth_dma *dma) in dma_init()
292 static int dma_deinit(struct eth_dma *dma) in dma_deinit()
312 int gmac_tx_packet(struct eth_dma *dma, void *packet, int length) in gmac_tx_packet()
372 bool gmac_check_tx_done(struct eth_dma *dma) in gmac_check_tx_done()
[all …]
H A Dbcm-sf2-eth.c36 struct eth_dma *dma = &(eth->dma); in bcm_sf2_eth_init()
74 struct eth_dma *dma = &(((struct eth_info *)(dev->priv))->dma); in bcm_sf2_eth_send()
105 struct eth_dma *dma = &(((struct eth_info *)(dev->priv))->dma); in bcm_sf2_eth_receive()
152 struct eth_dma *dma = &(eth->dma); in bcm_sf2_eth_open()
191 struct eth_dma *dma = &(eth->dma); in bcm_sf2_eth_close()