• 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/

Lines Matching refs:board

108  * more specific functions dependent on the board being configured.
196 * Table of functions for each board to handle memory. Mantaining parallelism
216 ch->board->globalwinon(ch);
221 ch->board->rxwinon(ch);
226 ch->board->txwinon(ch);
231 ch->board->memoff(ch);
235 ch->board->assertgwinon(ch);
240 ch->board->assertmemoff(ch);
256 outb_p(FEPWIN, (int)ch->board->port + 1);
261 outb_p(ch->rxwin, (int)ch->board->port + 1);
266 outb_p(ch->txwin, (int)ch->board->port + 1);
271 outb_p(0, (int)ch->board->port + 1);
288 outb_p(FEPWIN, (int)ch->board->port + 1);
293 outb_p(ch->rxwin, (int)ch->board->port + 1);
298 outb_p(ch->txwin, (int)ch->board->port + 1);
303 outb_p(0, (int)ch->board->port);
304 outb_p(0, (int)ch->board->port + 1);
320 outb_p(FEPMEM, ch->board->port);
325 outb_p(FEPMEM, ch->board->port);
330 outb_p(FEPMEM, ch->board->port);
335 outb_p(0, ch->board->port);
340 epcaassert(inb(ch->board->port) & FEPMEM, "Global memory off");
345 epcaassert(!(inb(ch->board->port) & FEPMEM), "Memory on");
530 /* Make a pointer to the channel data structure found on the board. */
770 /* Check status of board configured in system. */
779 printk(KERN_ERR "epca: pc_open: Invalid board type specified in kernel options.\n");
783 printk(KERN_ERR "epca: pc_open: Invalid board memory address specified in kernel options.\n");
785 printk(KERN_ERR "epca; pc_open: Invalid board port address specified in kernel options.\n");
787 printk(KERN_ERR "epca: pc_open: Invalid board status specified in kernel options.\n");
789 printk(KERN_ERR "epca: pc_open: Invalid board altpin specified in kernel options;\n");
963 * copy board structure defined by digiConfig into drivers board
965 * handle defining num_cards as well as copying the data into the board
1110 * of memory on the board is variable so the memory_seg is also
1124 /* Is it a 64K board */
1128 /* Is it a 128K board */
1132 /* Is is a 256K board */
1136 /* Is it a 512K board */
1190 * If this is a PCI board, get the port info. Remember PCI cards do not
1193 * DIGI_GETINFO before the board has booted will get an invalid number
1270 ch->board = &boards[crd];
1569 if (ch->board->status == DISABLED)
1582 memaddr = ch->board->re_map_membase;
1699 * only drive the board at 76800. Since the rate 230400 is also found
1709 * CLOCAL isn't used by the board this can be ignored as long as the
1778 * Command sets channels iflag structure on the board. Such
1788 * Set the board mint value for this channel. This will cause hardware
1801 * Hard flow control has been selected but the board is not
1937 di.board = brd;
1968 * initialization of the board(s). This routine is
2405 struct board_info board;
2414 * changing his board configuration without rebuilding the kernel.
2419 memset(&board, 0, sizeof(board));
2426 board.status = ints[index];
2432 if (board.status == 2) {
2439 if (board.status > 2) {
2440 printk(KERN_ERR "epca_setup: Invalid board status 0x%x\n",
2441 board.status);
2449 board.type = ints[index];
2450 if (board.type >= PCIXEM) {
2451 printk(KERN_ERR "epca_setup: Invalid board type 0x%x\n", board.type);
2459 board.altpin = ints[index];
2460 if (board.altpin > 1) {
2461 printk(KERN_ERR "epca_setup: Invalid board altpin 0x%x\n", board.altpin);
2470 board.numports = ints[index];
2471 if (board.numports < 2 || board.numports > 256) {
2472 printk(KERN_ERR "epca_setup: Invalid board numports 0x%x\n", board.numports);
2477 nbdevs += board.numports;
2482 board.port = ints[index];
2484 printk(KERN_ERR "epca_setup: Invalid io port 0x%x\n", (unsigned int)board.port);
2493 board.membase = ints[index];
2496 (unsigned int)board.membase);
2527 board.status = 0;
2529 board.status = 1;
2545 * legitamate board type set it here.
2548 board.type = loop;
2550 printk(KERN_ERR "epca_setup: Invalid board type: %s\n", str);
2561 board.altpin = 0;
2563 board.altpin = 1;
2600 board.numports = simple_strtoul(str, NULL, 0);
2601 nbdevs += board.numports;
2617 board.port = simple_strtoul(str, NULL, 16);
2632 board.membase = simple_strtoul(str, NULL, 16);
2648 /* Copies our local copy of board into boards */
2649 memcpy((void *)&boards[num_cards], (void *)&board, sizeof(board));
2651 printk(KERN_INFO "PC/Xx: Added board %i, %s %i ports at 0x%4.4X base 0x%6.6X\n",
2652 num_cards, board_desc[board.type],
2653 board.numports, (int)board.port, (unsigned int) board.membase);