• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/

Lines Matching defs:to

7    This software may be used and distributed according to the terms of
15 * and fixed access to Sonic Sys card which masquerades as a Farallon
17 /* 2002-12-30: Try to support more cards, some clues from NetBSD driver */
60 /* Unfortunately it seems we have to hardcode these for the moment */
61 /* Shouldn't the card know about this? Does anyone know where to read it off the card? Do we trust the data provided by the card? */
139 /* dayna_memcpy to and from card */
140 static void dayna_memcpy_fromcard(struct net_device *dev, void *to,
142 static void dayna_memcpy_tocard(struct net_device *dev, int to,
225 // These correspond to Dayna Sonic cards
261 /* Check up to 32K in 4K increments */
333 /* This is getting to be a habit */
340 printk(KERN_ERR "%s: Unable to get Nubus functional"
411 * has been written to the command register
413 * E8390_PAGE0 + E8390_STOP just to be
541 printk("Don't know how to access card memory!\n");
636 printk ("%s: unable to get IRQ %d.\n", dev->name, dev->irq);
661 printk("Need to reset the NS8390 t=%lu...", jiffies);
671 static void dayna_memcpy_fromcard(struct net_device *dev, void *to, int from, int count)
674 unsigned char *target=to;
695 static void dayna_memcpy_tocard(struct net_device *dev, int to, const void *from, int count)
699 to<<=1; /* word, skip overhead */
700 ptr=(unsigned short *)(dev->mem_start+to);
702 if (to&2) { /* avoid a byte write (stomps on other data) */
842 volatile unsigned short *to = tp;
849 *to++=*from++;
854 unsigned short *to = tp;
861 *to++=*from++;