Searched refs:ag71xx (Results 1 - 10 of 10) sorted by relevance

/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/
H A DMakefile5 ag71xx-y += ag71xx_main.o
6 ag71xx-y += ag71xx_ethtool.o
7 ag71xx-y += ag71xx_phy.o
8 ag71xx-y += ag71xx_mdio.o
9 ag71xx-y += ag71xx_ar7240.o
11 ag71xx-$(CONFIG_AG71XX_DEBUG_FS) += ag71xx_debugfs.o
12 ag71xx-$(CONFIG_AG71XX_AR8216_SUPPORT) += ag71xx_ar8216.o
14 obj-$(CONFIG_AG71XX) += ag71xx.o
H A Dag71xx_ar8216.c14 #include "ag71xx.h"
21 void ag71xx_add_ar8216_header(struct ag71xx *ag, struct sk_buff *skb)
28 int ag71xx_remove_ar8216_header(struct ag71xx *ag, struct sk_buff *skb,
H A Dag71xx.h40 #define AG71XX_DRV_NAME "ag71xx"
150 struct ag71xx { struct
187 void ag71xx_link_adjust(struct ag71xx *ag);
192 int ag71xx_phy_connect(struct ag71xx *ag);
193 void ag71xx_phy_disconnect(struct ag71xx *ag);
194 void ag71xx_phy_start(struct ag71xx *ag);
195 void ag71xx_phy_stop(struct ag71xx *ag);
197 static inline struct ag71xx_platform_data *ag71xx_get_pdata(struct ag71xx *ag)
373 static inline void ag71xx_check_reg_offset(struct ag71xx *ag, unsigned reg)
386 static inline void ag71xx_wr(struct ag71xx *a
[all...]
H A Dag71xx_ethtool.c14 #include "ag71xx.h"
19 struct ag71xx *ag = netdev_priv(dev);
31 struct ag71xx *ag = netdev_priv(dev);
43 struct ag71xx *ag = netdev_priv(dev);
52 struct ag71xx *ag = netdev_priv(dev);
59 struct ag71xx *ag = netdev_priv(dev);
67 struct ag71xx *ag = netdev_priv(dev);
86 struct ag71xx *ag = netdev_priv(dev);
H A Dag71xx_main.c14 #include "ag71xx.h"
40 static int ag71xx_tx_packets(struct ag71xx *ag, bool flush);
47 static void ag71xx_dump_dma_regs(struct ag71xx *ag)
62 static void ag71xx_dump_regs(struct ag71xx *ag)
88 static inline void ag71xx_dump_intr(struct ag71xx *ag, char *label, u32 intr)
135 static void ag71xx_ring_tx_clean(struct ag71xx *ag)
167 static void ag71xx_ring_tx_init(struct ag71xx *ag)
192 static void ag71xx_ring_rx_clean(struct ag71xx *ag)
209 static int ag71xx_buffer_offset(struct ag71xx *ag)
225 static int ag71xx_buffer_size(struct ag71xx *a
[all...]
H A Dag71xx_phy.c14 #include "ag71xx.h"
18 struct ag71xx *ag = netdev_priv(dev);
45 void ag71xx_phy_start(struct ag71xx *ag)
59 void ag71xx_phy_stop(struct ag71xx *ag)
77 static int ag71xx_phy_connect_fixed(struct ag71xx *ag)
103 static int ag71xx_phy_connect_multi(struct ag71xx *ag)
196 int ag71xx_phy_connect(struct ag71xx *ag)
227 void ag71xx_phy_disconnect(struct ag71xx *ag)
H A Dag71xx_debugfs.c16 #include "ag71xx.h"
26 void ag71xx_debugfs_update_int_stats(struct ag71xx *ag, u32 status)
51 struct ag71xx *ag = file->private_data;
74 void ag71xx_debugfs_update_napi_stats(struct ag71xx *ag, int rx, int tx)
100 struct ag71xx *ag = file->private_data;
156 struct ag71xx *ag,
216 struct ag71xx *ag = file->private_data;
231 struct ag71xx *ag = file->private_data;
243 void ag71xx_debugfs_exit(struct ag71xx *ag)
248 int ag71xx_debugfs_init(struct ag71xx *a
[all...]
H A Dag71xx_ar7240.c19 #include "ag71xx.h"
1064 static struct ar7240sw *ar7240_probe(struct ag71xx *ag)
1151 struct ag71xx *ag = container_of(work, struct ag71xx, link_work.work);
1182 void ag71xx_ar7240_start(struct ag71xx *ag)
1197 void ag71xx_ar7240_stop(struct ag71xx *ag)
1202 int ag71xx_ar7240_init(struct ag71xx *ag)
1219 void ag71xx_ar7240_cleanup(struct ag71xx *ag)
/openwrt/package/boot/uboot-ar71xx/files/drivers/net/
H A Dag71xx.h86 struct ag71xx { struct
105 void ag71xx_link_adjust(struct ag71xx *ag);
107 int ag71xx_phy_connect(struct ag71xx *ag);
108 void ag71xx_phy_disconnect(struct ag71xx *ag);
109 void ag71xx_phy_start(struct ag71xx *ag);
110 void ag71xx_phy_stop(struct ag71xx *ag);
271 static inline void ag71xx_wr(struct ag71xx *ag, unsigned reg, u32 value)
278 static inline u32 ag71xx_rr(struct ag71xx *ag, unsigned reg)
283 static inline void ag71xx_sb(struct ag71xx *ag, unsigned reg, u32 mask)
293 static inline void ag71xx_cb(struct ag71xx *a
[all...]
H A Dag71xx.c22 #include "ag71xx.h"
31 static struct ag71xx agtable[] = {
52 DBG("ag71xx: ring %p, desc size %u rounded to %u\n",
80 DBG("ag71xx: ring %p, desc %d at %p\n",
92 static void ag71xx_ring_tx_init(struct ag71xx *ag)
108 static void ag71xx_ring_rx_clean(struct ag71xx *ag)
125 static int ag71xx_ring_rx_init(struct ag71xx *ag)
134 DBG("ag71xx: RX desc at %p, next is %08x\n",
149 static int ag71xx_rings_init(struct ag71xx *ag)
238 static void ag71xx_hw_set_macaddr(struct ag71xx *a
[all...]

Completed in 89 milliseconds