Lines Matching refs:ns83820
31 #define DRV_NAME "ns83820"
332 struct ns83820 {
375 static inline struct ns83820 *PRIV(struct net_device *dev)
384 struct ns83820 *dev = PRIV(ndev);
406 struct ns83820 *dev = PRIV(ndev);
431 static inline void build_rx_desc(struct ns83820 *dev, __le32 *desc, dma_addr_t link, dma_addr_t buf, u32 cmdsts, u32 extsts)
441 static inline int ns83820_add_rx_skb(struct ns83820 *dev, struct sk_buff *skb)
475 struct ns83820 *dev = PRIV(ndev);
519 struct ns83820 *dev = container_of(work, struct ns83820, tq_refill);
527 static inline void clear_rx_desc(struct ns83820 *dev, unsigned i)
534 struct ns83820 *dev = PRIV(ndev);
641 struct ns83820 *dev = PRIV(ndev);
697 static void ns83820_cleanup_rx(struct ns83820 *dev)
731 struct ns83820 *dev = PRIV(ndev);
752 struct ns83820 *dev = PRIV(ndev);
865 struct ns83820 *dev = PRIV(ndev);
880 static inline void kick_tx(struct ns83820 *dev)
892 struct ns83820 *dev = PRIV(ndev);
953 static void ns83820_cleanup_tx(struct ns83820 *dev)
983 struct ns83820 *dev = PRIV(ndev);
1111 static void ns83820_update_stats(struct ns83820 *dev)
1132 struct ns83820 *dev = PRIV(ndev);
1146 struct ns83820 *dev = PRIV(ndev);
1209 struct ns83820 *dev = PRIV(ndev);
1287 struct ns83820 *dev = PRIV(ndev);
1288 strcpy(info->driver, "ns83820");
1295 struct ns83820 *dev = PRIV(ndev);
1308 static void ns83820_mib_isr(struct ns83820 *dev)
1320 struct ns83820 *dev = PRIV(ndev);
1334 struct ns83820 *dev = PRIV(ndev);
1438 static void ns83820_do_reset(struct ns83820 *dev, u32 which)
1450 struct ns83820 *dev = PRIV(ndev);
1478 struct ns83820 *dev = PRIV(ndev);
1516 struct ns83820 *dev = PRIV(ndev);
1538 struct ns83820 *dev = PRIV(ndev);
1579 static void ns83820_getmac(struct ns83820 *dev, u8 *mac)
1606 struct ns83820 *dev = PRIV(ndev);
1632 struct ns83820 *dev = PRIV(ndev);
1670 static void ns83820_mii_write_bit(struct ns83820 *dev, int bit)
1700 static int ns83820_mii_read_bit(struct ns83820 *dev)
1724 static unsigned ns83820_mii_read_reg(struct ns83820 *dev, unsigned phy, unsigned reg)
1758 static unsigned ns83820_mii_write_reg(struct ns83820 *dev, unsigned phy, unsigned reg, unsigned data)
1791 struct ns83820 *dev = PRIV(ndev);
1852 struct ns83820 *dev;
1868 ndev = alloc_etherdev(sizeof(struct ns83820));
1930 printk("%s: ns83820.c: 0x22c: %08x, subsystem: %04x:%04x\n",
2100 printk(KERN_INFO "%s: ns83820 v" VERSION ": DP83820 v%u.%u: %pM io=0x%08lx irq=%d f=%s\n",
2114 printk(KERN_INFO "ns83820: unable to register netdev: %d\n", err);
2144 struct ns83820 *dev = PRIV(ndev); /* ok even if NULL */
2171 .name = "ns83820",
2180 printk(KERN_INFO "ns83820.c: National Semiconductor DP83820 10/100/1000 driver.\n");