Searched refs:eth_dma (Results 1 – 3 of 3) sorted by relevance
28 struct eth_dma { struct38 int (*tx_packet)(struct eth_dma *dma, void *packet, int length); argument39 bool (*check_tx_done)(struct eth_dma *dma); argument41 int (*check_rx_done)(struct eth_dma *dma, uint8_t *buf); argument43 int (*enable_dma)(struct eth_dma *dma, int dir); argument44 int (*disable_dma)(struct eth_dma *dma, int dir); argument48 struct eth_dma dma;
35 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 …]
36 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()