Searched refs:eth_dma (Results 1 – 3 of 3) sorted by relevance
27 struct eth_dma { struct37 int (*tx_packet)(struct eth_dma *dma, void *packet, int length); argument38 bool (*check_tx_done)(struct eth_dma *dma); argument40 int (*check_rx_done)(struct eth_dma *dma, uint8_t *buf); argument42 int (*enable_dma)(struct eth_dma *dma, int dir); argument43 int (*disable_dma)(struct eth_dma *dma, int dir); argument47 struct eth_dma dma;
34 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 …]
35 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()