Lines Matching defs:enet
82 static u32 enet_read(struct bcm4908_enet *enet, u16 offset) in enet_read()
87 static void enet_write(struct bcm4908_enet *enet, u16 offset, u32 value) in enet_write()
92 static void enet_maskset(struct bcm4908_enet *enet, u16 offset, u32 mask, u32 set) in enet_maskset()
103 static void enet_set(struct bcm4908_enet *enet, u16 offset, u32 set) in enet_set()
108 static u32 enet_umac_read(struct bcm4908_enet *enet, u16 offset) in enet_umac_read()
113 static void enet_umac_write(struct bcm4908_enet *enet, u16 offset, u32 value) in enet_umac_write()
118 static void enet_umac_set(struct bcm4908_enet *enet, u16 offset, u32 set) in enet_umac_set()
127 static void bcm4908_enet_set_mtu(struct bcm4908_enet *enet, int mtu) in bcm4908_enet_set_mtu()
136 static void bcm4908_enet_dma_ring_intrs_on(struct bcm4908_enet *enet, in bcm4908_enet_dma_ring_intrs_on()
142 static void bcm4908_enet_dma_ring_intrs_off(struct bcm4908_enet *enet, in bcm4908_enet_dma_ring_intrs_off()
148 static void bcm4908_enet_dma_ring_intrs_ack(struct bcm4908_enet *enet, in bcm4908_enet_dma_ring_intrs_ack()
158 static int bcm4908_dma_alloc_buf_descs(struct bcm4908_enet *enet, in bcm4908_dma_alloc_buf_descs()
185 static void bcm4908_enet_dma_free(struct bcm4908_enet *enet) in bcm4908_enet_dma_free()
203 static int bcm4908_enet_dma_alloc(struct bcm4908_enet *enet) in bcm4908_enet_dma_alloc()
234 static void bcm4908_enet_dma_reset(struct bcm4908_enet *enet) in bcm4908_enet_dma_reset()
255 static int bcm4908_enet_dma_alloc_rx_buf(struct bcm4908_enet *enet, unsigned int idx) in bcm4908_enet_dma_alloc_rx_buf()
288 static void bcm4908_enet_dma_ring_init(struct bcm4908_enet *enet, in bcm4908_enet_dma_ring_init()
309 static void bcm4908_enet_dma_uninit(struct bcm4908_enet *enet) in bcm4908_enet_dma_uninit()
326 static int bcm4908_enet_dma_init(struct bcm4908_enet *enet) in bcm4908_enet_dma_init()
348 static void bcm4908_enet_dma_tx_ring_enable(struct bcm4908_enet *enet, in bcm4908_enet_dma_tx_ring_enable()
354 static void bcm4908_enet_dma_tx_ring_disable(struct bcm4908_enet *enet, in bcm4908_enet_dma_tx_ring_disable()
360 static void bcm4908_enet_dma_rx_ring_enable(struct bcm4908_enet *enet, in bcm4908_enet_dma_rx_ring_enable()
366 static void bcm4908_enet_dma_rx_ring_disable(struct bcm4908_enet *enet, in bcm4908_enet_dma_rx_ring_disable()
390 static void bcm4908_enet_gmac_init(struct bcm4908_enet *enet) in bcm4908_enet_gmac_init()
425 struct bcm4908_enet *enet = dev_id; in bcm4908_enet_irq_handler() local
440 struct bcm4908_enet *enet = netdev_priv(netdev); in bcm4908_enet_open() local
490 struct bcm4908_enet *enet = netdev_priv(netdev); in bcm4908_enet_stop() local
512 struct bcm4908_enet *enet = netdev_priv(netdev); in bcm4908_enet_start_xmit() local
571 struct bcm4908_enet *enet = container_of(rx_ring, struct bcm4908_enet, rx_ring); in bcm4908_enet_poll_rx() local
632 struct bcm4908_enet *enet = container_of(tx_ring, struct bcm4908_enet, tx_ring); in bcm4908_enet_poll_tx() local
671 struct bcm4908_enet *enet = netdev_priv(netdev); in bcm4908_enet_change_mtu() local
690 struct bcm4908_enet *enet; in bcm4908_enet_probe() local
750 struct bcm4908_enet *enet = platform_get_drvdata(pdev); in bcm4908_enet_remove() local