• 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:aiop

221  *  array keeps track of the line number assigned to a given board/aiop/channel.
231 static unsigned char GetLineNumber(int ctrl, int aiop, int ch);
232 static unsigned char SetLineNumber(int ctrl, int aiop, int ch);
443 clear_bit((info->aiop * 8) + info->chan, (void *) &xmit_flags[info->board]);
471 clear_bit((info->aiop * 8) + info->chan, (void *) &xmit_flags[info->board]);
556 int ctrl, aiop, ch, line;
579 for (aiop = 0; CtlMask; aiop++) {
580 bit = ctlp->AiopIntrBits[aiop];
583 AiopMask = sGetAiopIntStatus(ctlp, aiop);
591 line = GetLineNumber(ctrl, aiop, ch);
603 * 1, ... (32 total possible). The variable i has the aiop and ch
609 aiop = (i & 0x18) >> 3;
611 line = GetLineNumber(ctrl, aiop, ch);
628 * Inputs: board, aiop, chan numbers
630 static void init_r_port(int board, int aiop, int chan, struct pci_dev *pci_dev)
638 line = SetLineNumber(board, aiop, chan);
654 info->aiop = aiop;
674 if (sInitChan(ctlp, &info->channel, aiop, chan) == 0) {
676 board, aiop, chan);
1030 clear_bit((info->aiop * 8) + info->chan, (void *) &xmit_flags[info->board]);
1047 clear_bit((info->aiop * 8) + info->chan, (void *) &xmit_flags[info->board]);
1456 set_bit((info->aiop * 8) + info->chan,
1537 clear_bit((info->aiop * 8) + info->chan, (void *) &xmit_flags[info->board]);
1590 set_bit((info->aiop * 8) + info->chan, (void *) &xmit_flags[info->board]);
1683 set_bit((info->aiop * 8) + info->chan, (void *) &xmit_flags[info->board]);
1780 int num_aiops, aiop, max_num_aiops, num_chan, chan;
2069 for (aiop = 0; aiop < max_num_aiops; aiop++)
2070 aiopio[aiop] = rcktpt_io_addr[i] + (aiop * 0x40);
2073 for (aiop = 0; aiop < max_num_aiops; aiop++)
2074 ctlp->AiopNumChan[aiop] = ports_per_aiop;
2089 for (aiop = 0; aiop < num_aiops; aiop++) {
2090 sResetAiopByNum(ctlp, aiop);
2093 init_r_port(i, aiop, chan, dev);
2141 int aiop, chan;
2190 for (aiop = 0; aiop < MAX_AIOPS_PER_BOARD; aiop++)
2191 aiopio[aiop] = rcktpt_io_addr[i] + (aiop * 0x400);
2209 for (aiop = 0; aiop < num_aiops; aiop++) {
2210 sResetAiopByNum(ctlp, aiop);
2211 sEnAiop(ctlp, aiop);
2212 num_chan = sGetAiopNumChan(ctlp, aiop);
2215 init_r_port(i, aiop, chan, NULL);
3168 /* Returns the line number given the controller (board), aiop and channel number */
3169 static unsigned char GetLineNumber(int ctrl, int aiop, int ch)
3171 return lineNumbers[(ctrl << 5) | (aiop << 3) | ch];
3175 * Stores the line number associated with a given controller (board), aiop
3179 static unsigned char SetLineNumber(int ctrl, int aiop, int ch)
3181 lineNumbers[(ctrl << 5) | (aiop << 3) | ch] = nextLineNumber++;