Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dbcm-sf2-eth.h27 struct eth_dma { struct
37 int (*tx_packet)(struct eth_dma *dma, void *packet, int length); argument
38 bool (*check_tx_done)(struct eth_dma *dma); argument
40 int (*check_rx_done)(struct eth_dma *dma, uint8_t *buf); argument
42 int (*enable_dma)(struct eth_dma *dma, int dir); argument
43 int (*disable_dma)(struct eth_dma *dma, int dir); argument
47 struct eth_dma dma;
Dbcm-sf2-eth-gmac.c34 static int gmac_disable_dma(struct eth_dma *dma, int dir);
35 static int gmac_enable_dma(struct eth_dma *dma, int dir);
94 static void dma_tx_dump(struct eth_dma *dma) in dma_tx_dump()
126 static void dma_rx_dump(struct eth_dma *dma) in dma_rx_dump()
158 static int dma_tx_init(struct eth_dma *dma) in dma_tx_init()
210 static int dma_rx_init(struct eth_dma *dma) in dma_rx_init()
263 static int dma_init(struct eth_dma *dma) in dma_init()
291 static int dma_deinit(struct eth_dma *dma) in dma_deinit()
311 int gmac_tx_packet(struct eth_dma *dma, void *packet, int length) in gmac_tx_packet()
371 bool gmac_check_tx_done(struct eth_dma *dma) in gmac_check_tx_done()
[all …]
Dbcm-sf2-eth.c35 struct eth_dma *dma = &(eth->dma); in bcm_sf2_eth_init()
73 struct eth_dma *dma = &(((struct eth_info *)(dev->priv))->dma); in bcm_sf2_eth_send()
104 struct eth_dma *dma = &(((struct eth_info *)(dev->priv))->dma); in bcm_sf2_eth_receive()
151 struct eth_dma *dma = &(eth->dma); in bcm_sf2_eth_open()
190 struct eth_dma *dma = &(eth->dma); in bcm_sf2_eth_close()