Searched refs:ag (Results 1 - 8 of 8) sorted by relevance

/netgear-R7800-V1.0.2.28/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/
H A Dag71xx_phy.c18 struct ag71xx *ag = netdev_priv(dev); local
19 struct phy_device *phydev = ag->phy_dev;
23 spin_lock_irqsave(&ag->lock, flags);
26 if (ag->duplex != phydev->duplex
27 || ag->speed != phydev->speed) {
32 if (phydev->link != ag->link)
35 ag->link = phydev->link;
36 ag->duplex = phydev->duplex;
37 ag->speed = phydev->speed;
40 ag71xx_link_adjust(ag);
45 ag71xx_phy_start(struct ag71xx *ag) argument
59 ag71xx_phy_stop(struct ag71xx *ag) argument
77 ag71xx_phy_connect_fixed(struct ag71xx *ag) argument
103 ag71xx_phy_connect_multi(struct ag71xx *ag) argument
196 ag71xx_phy_connect(struct ag71xx *ag) argument
227 ag71xx_phy_disconnect(struct ag71xx *ag) argument
[all...]
H A Dag71xx_main.c36 static void ag71xx_dump_dma_regs(struct ag71xx *ag) argument
39 ag->dev->name,
40 ag71xx_rr(ag, AG71XX_REG_TX_CTRL),
41 ag71xx_rr(ag, AG71XX_REG_TX_DESC),
42 ag71xx_rr(ag, AG71XX_REG_TX_STATUS));
45 ag->dev->name,
46 ag71xx_rr(ag, AG71XX_REG_RX_CTRL),
47 ag71xx_rr(ag, AG71XX_REG_RX_DESC),
48 ag71xx_rr(ag, AG71XX_REG_RX_STATUS));
51 static void ag71xx_dump_regs(struct ag71xx *ag) argument
77 ag71xx_dump_intr(struct ag71xx *ag, char *label, u32 intr) argument
132 ag71xx_ring_tx_clean(struct ag71xx *ag) argument
179 ag71xx_ring_tx_init(struct ag71xx *ag) argument
203 ag71xx_ring_rx_clean(struct ag71xx *ag) argument
226 ag71xx_ring_rx_init(struct ag71xx *ag) argument
266 ag71xx_rings_init(struct ag71xx *ag) argument
284 ag71xx_rings_cleanup(struct ag71xx *ag) argument
294 ag71xx_speed_str(struct ag71xx *ag) argument
308 ag71xx_hw_set_macaddr(struct ag71xx *ag, unsigned char *mac) argument
321 ag71xx_dma_reset(struct ag71xx *ag) argument
388 ag71xx_hw_stop(struct ag71xx *ag) argument
396 ag71xx_hw_setup(struct ag71xx *ag) argument
425 ag71xx_hw_init(struct ag71xx *ag) argument
457 ag71xx_fast_reset(struct ag71xx *ag) argument
486 ag71xx_hw_start(struct ag71xx *ag) argument
495 ag71xx_link_adjust(struct ag71xx *ag) argument
582 struct ag71xx *ag = netdev_priv(dev); local
631 struct ag71xx *ag = netdev_priv(dev); local
658 struct ag71xx *ag = netdev_priv(dev); local
731 struct ag71xx *ag = netdev_priv(dev); local
774 struct ag71xx *ag = netdev_priv(dev); local
781 struct ag71xx *ag = netdev_priv(dev); local
791 struct ag71xx *ag = container_of(work, struct ag71xx, restart_work); local
803 ag71xx_check_dma_stuck(struct ag71xx *ag, unsigned long timestamp) argument
826 ag71xx_tx_packets(struct ag71xx *ag, struct net_device *dev) argument
893 ag71xx_rx_packets(struct ag71xx *ag, struct net_device *dev, int limit) argument
1020 struct ag71xx *ag = container_of(napi, struct ag71xx, napi); local
1077 struct ag71xx *ag = netdev_priv(dev); local
1247 struct ag71xx *ag; local
1385 struct ag71xx *ag = netdev_priv(dev); local
[all...]
H A Dag71xx_ethtool.c20 struct ag71xx *ag = netdev_priv(dev); local
21 struct phy_device *phydev = ag->phy_dev;
32 struct ag71xx *ag = netdev_priv(dev); local
33 struct phy_device *phydev = ag->phy_dev;
44 struct ag71xx *ag = netdev_priv(dev); local
46 strcpy(info->driver, ag->pdev->dev.driver->name);
48 strcpy(info->bus_info, dev_name(&ag->pdev->dev));
53 struct ag71xx *ag = netdev_priv(dev); local
55 return ag->msg_enable;
60 struct ag71xx *ag local
68 struct ag71xx *ag = netdev_priv(dev); local
100 struct ag71xx *ag = netdev_priv(dev); local
145 struct ag71xx *ag = netdev_priv(netdev); local
[all...]
H A Dag71xx_debugfs.c26 void ag71xx_debugfs_update_int_stats(struct ag71xx *ag, u32 status) argument
29 ag->debug.int_stats.total++;
31 ag->debug.int_stats.tx_ps++;
33 ag->debug.int_stats.tx_ur++;
35 ag->debug.int_stats.tx_be++;
37 ag->debug.int_stats.rx_pr++;
39 ag->debug.int_stats.rx_of++;
41 ag->debug.int_stats.rx_be++;
49 "%20s: %10lu\n", _label, ag->debug.int_stats._field);
51 struct ag71xx *ag local
74 ag71xx_debugfs_update_napi_stats(struct ag71xx *ag, int rx, int tx) argument
100 struct ag71xx *ag = file->private_data; local
154 read_file_ring(struct file *file, char __user *user_buf, size_t count, loff_t *ppos, struct ag71xx *ag, struct ag71xx_ring *ring, unsigned desc_reg) argument
213 struct ag71xx *ag = file->private_data; local
228 struct ag71xx *ag = file->private_data; local
240 ag71xx_debugfs_exit(struct ag71xx *ag) argument
245 ag71xx_debugfs_init(struct ag71xx *ag) argument
[all...]
H A Dag71xx_ar8216.c21 void ag71xx_add_ar8216_header(struct ag71xx *ag, struct sk_buff *skb) argument
28 int ag71xx_remove_ar8216_header(struct ag71xx *ag, struct sk_buff *skb, argument
H A Dag71xx.h185 void ag71xx_link_adjust(struct ag71xx *ag);
190 int ag71xx_phy_connect(struct ag71xx *ag);
191 void ag71xx_phy_disconnect(struct ag71xx *ag);
192 void ag71xx_phy_start(struct ag71xx *ag);
193 void ag71xx_phy_stop(struct ag71xx *ag);
195 static inline struct ag71xx_platform_data *ag71xx_get_pdata(struct ag71xx *ag) argument
197 return ag->pdev->dev.platform_data;
354 static inline void ag71xx_check_reg_offset(struct ag71xx *ag, unsigned reg) argument
367 static inline void ag71xx_wr(struct ag71xx *ag, unsigned reg, u32 value) argument
371 ag71xx_check_reg_offset(ag, re
379 ag71xx_rr(struct ag71xx *ag, unsigned reg) argument
389 ag71xx_sb(struct ag71xx *ag, unsigned reg, u32 mask) argument
401 ag71xx_cb(struct ag71xx *ag, unsigned reg, u32 mask) argument
413 ag71xx_int_enable(struct ag71xx *ag, u32 ints) argument
418 ag71xx_int_disable(struct ag71xx *ag, u32 ints) argument
427 ag71xx_has_ar8216(struct ag71xx *ag) argument
432 ag71xx_add_ar8216_header(struct ag71xx *ag, struct sk_buff *skb) argument
437 ag71xx_remove_ar8216_header(struct ag71xx *ag, struct sk_buff *skb, int pktlen) argument
443 ag71xx_has_ar8216(struct ag71xx *ag) argument
459 ag71xx_debugfs_init(struct ag71xx *ag) argument
460 ag71xx_debugfs_exit(struct ag71xx *ag) argument
461 ag71xx_debugfs_update_int_stats(struct ag71xx *ag, u32 status) argument
463 ag71xx_debugfs_update_napi_stats(struct ag71xx *ag, int rx, int tx) argument
[all...]
H A Dag71xx_ar7240.c1130 static struct ar7240sw *ar7240_probe(struct ag71xx *ag) argument
1132 struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag);
1133 struct mii_bus *mii = ag->mii_bus;
1146 ag->dev->name, phy_id1, phy_id2);
1177 ag->dev->name);
1190 ag->dev->name, ctrl);
1198 if (register_switch(&as->swdev, ag->dev) < 0)
1201 pr_info("%s: Found an %s\n", ag->dev->name, swdev->name);
1217 struct ag71xx *ag = container_of(work, struct ag71xx, link_work.work); local
1218 struct ar7240sw *as = ag
1248 ag71xx_ar7240_start(struct ag71xx *ag) argument
1263 ag71xx_ar7240_stop(struct ag71xx *ag) argument
1268 ag71xx_ar7240_init(struct ag71xx *ag) argument
1285 ag71xx_ar7240_cleanup(struct ag71xx *ag) argument
[all...]
/netgear-R7800-V1.0.2.28/target/linux/s3c24xx/files-2.6.30/drivers/ar6000/wmi/
H A Dwmi_doc.h1831 11ag = 0x03
1838 11ag

Completed in 50 milliseconds