• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/ip2/

Lines Matching defs:address

52 static int ii2Safe;         // Safe I/O address for delay routine
72 // Function: iiSetAddress(pB, address, delay)
74 // address - the purported I/O address of the board
83 // This routine (roughly) checks for address validity, sets the i2eValid OK and
89 iiSetAddress( i2eBordStrPtr pB, int address, delayFunc_t delay )
97 if ((unsigned int)address <= 0x100
98 || (unsigned int)address >= 0xfff8
99 || (address & 0x7)
106 pB->i2eBase = address;
107 pB->i2eData = address + FIFO_DATA;
108 pB->i2eStatus = address + FIFO_STATUS;
109 pB->i2ePointer = address + FIFO_PTR;
110 pB->i2eXMail = address + FIFO_MAIL;
111 pB->i2eXMask = address + FIFO_MASK;
113 // Initialize i/o address for ii2DelayIO
114 ii2Safe = address + FIFO_NOP;
144 // Magic number should be set, else even the address is suspect
567 // Function: iiWriteBuf16(pB, address, count)
569 // address - address of data to write
577 // Writes 'count' bytes from 'address' to the data fifo specified by the board
584 iiWriteBuf16(i2eBordStrPtr pB, unsigned char *address, int count)
590 I2_OUTSW(pB->i2eData, address, count);
596 // Function: iiWriteBuf8(pB, address, count)
598 // address - address of data to write
606 // Writes 'count' bytes from 'address' to the data fifo specified by the board
613 iiWriteBuf8(i2eBordStrPtr pB, unsigned char *address, int count)
619 I2_OUTSB(pB->i2eData, address, count);
625 // Function: iiReadBuf16(pB, address, count)
627 // address - address to put data read
635 // Reads 'count' bytes into 'address' from the data fifo specified by the board
642 iiReadBuf16(i2eBordStrPtr pB, unsigned char *address, int count)
648 I2_INSW(pB->i2eData, address, count);
654 // Function: iiReadBuf8(pB, address, count)
656 // address - address to put data read
664 // Reads 'count' bytes into 'address' from the data fifo specified by the board
671 iiReadBuf8(i2eBordStrPtr pB, unsigned char *address, int count)
677 I2_INSB(pB->i2eData, address, count);