Home
last modified time | relevance | path

Searched refs:macb (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/cadence/
Dmacb.c97 static struct macb_dma_desc *macb_rx_desc(struct macb *bp, unsigned int index) in macb_rx_desc()
102 static void *macb_rx_buffer(struct macb *bp, unsigned int index) in macb_rx_buffer()
108 static u32 hw_readl_native(struct macb *bp, int offset) in hw_readl_native()
113 static void hw_writel_native(struct macb *bp, int offset, u32 value) in hw_writel_native()
118 static u32 hw_readl(struct macb *bp, int offset) in hw_readl()
123 static void hw_writel(struct macb *bp, int offset, u32 value) in hw_writel()
158 static void macb_set_hwaddr(struct macb *bp) in macb_set_hwaddr()
177 static void macb_get_hwaddr(struct macb *bp) in macb_get_hwaddr()
220 struct macb *bp = bus->priv; in macb_mdio_read()
241 struct macb *bp = bus->priv; in macb_mdio_write()
[all …]
Dmacb.h750 struct macb;
753 int (*mog_alloc_rx_buffers)(struct macb *bp);
754 void (*mog_free_rx_buffers)(struct macb *bp);
755 void (*mog_init_rings)(struct macb *bp);
756 int (*mog_rx)(struct macb *bp, int budget);
769 struct macb *bp;
785 struct macb { struct
790 u32 (*macb_reg_readl)(struct macb *bp, int offset); argument
791 void (*macb_reg_writel)(struct macb *bp, int offset, u32 value); argument
813 struct macb_stats macb; argument
[all …]
DMakefile5 obj-$(CONFIG_MACB) += macb.o
DKconfig32 will be called macb.