Home
last modified time | relevance | path

Searched refs:ftmac100 (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dftmac100.c36 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in ftmac100_reset() local
40 writel (FTMAC100_MACCR_SW_RST, &ftmac100->maccr); in ftmac100_reset()
42 while (readl (&ftmac100->maccr) & FTMAC100_MACCR_SW_RST) in ftmac100_reset()
52 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in ftmac100_set_mac() local
58 writel (maddr, &ftmac100->mac_madr); in ftmac100_set_mac()
59 writel (laddr, &ftmac100->mac_ladr); in ftmac100_set_mac()
67 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in _ftmac100_halt() local
69 writel (0, &ftmac100->maccr); in _ftmac100_halt()
77 struct ftmac100 *ftmac100 = (struct ftmac100 *)priv->iobase; in _ftmac100_init() local
93 writel (0, &ftmac100->imr); in _ftmac100_init()
[all …]
H A Dftmac100.h13 struct ftmac100 { struct
H A DMakefile34 obj-$(CONFIG_FTMAC100) += ftmac100.o
/OK3568_Linux_fs/kernel/drivers/net/ethernet/faraday/
H A Dftmac100.c49 struct ftmac100 { struct
71 static int ftmac100_alloc_rx_page(struct ftmac100 *priv, argument
87 static void ftmac100_enable_all_int(struct ftmac100 *priv) in ftmac100_enable_all_int()
92 static void ftmac100_disable_all_int(struct ftmac100 *priv) in ftmac100_disable_all_int()
97 static void ftmac100_set_rx_ring_base(struct ftmac100 *priv, dma_addr_t addr) in ftmac100_set_rx_ring_base()
102 static void ftmac100_set_tx_ring_base(struct ftmac100 *priv, dma_addr_t addr) in ftmac100_set_tx_ring_base()
107 static void ftmac100_txdma_start_polling(struct ftmac100 *priv) in ftmac100_txdma_start_polling()
112 static int ftmac100_reset(struct ftmac100 *priv) in ftmac100_reset()
141 static void ftmac100_set_mac(struct ftmac100 *priv, const unsigned char *mac) in ftmac100_set_mac()
159 static int ftmac100_start_hw(struct ftmac100 *priv) in ftmac100_start_hw()
[all …]
H A DMakefile7 obj-$(CONFIG_FTMAC100) += ftmac100.o