IndexCard 360 drivers/char/applicom.c unsigned int IndexCard; /* Index board number 0 -> 7 */ IndexCard 389 drivers/char/applicom.c IndexCard = NumCard - 1; IndexCard 391 drivers/char/applicom.c if (IndexCard >= MAX_BOARD) IndexCard 393 drivers/char/applicom.c IndexCard = array_index_nospec(IndexCard, MAX_BOARD); IndexCard 395 drivers/char/applicom.c if (!apbs[IndexCard].RamIO) IndexCard 400 drivers/char/applicom.c IndexCard+1); IndexCard 424 drivers/char/applicom.c spin_lock_irqsave(&apbs[IndexCard].mutex, flags); IndexCard 427 drivers/char/applicom.c if(readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY) > 2) { IndexCard 428 drivers/char/applicom.c Dummy = readb(apbs[IndexCard].RamIO + VERS); IndexCard 429 drivers/char/applicom.c spin_unlock_irqrestore(&apbs[IndexCard].mutex, flags); IndexCard 431 drivers/char/applicom.c IndexCard,(int)readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY)); IndexCard 438 drivers/char/applicom.c add_wait_queue(&apbs[IndexCard].FlagSleepSend, &wait); IndexCard 441 drivers/char/applicom.c while (readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY) != 0) { IndexCard 442 drivers/char/applicom.c Dummy = readb(apbs[IndexCard].RamIO + VERS); IndexCard 445 drivers/char/applicom.c spin_unlock_irqrestore(&apbs[IndexCard].mutex, flags); IndexCard 448 drivers/char/applicom.c remove_wait_queue(&apbs[IndexCard].FlagSleepSend, IndexCard 452 drivers/char/applicom.c spin_lock_irqsave(&apbs[IndexCard].mutex, flags); IndexCard 458 drivers/char/applicom.c remove_wait_queue(&apbs[IndexCard].FlagSleepSend, &wait); IndexCard 460 drivers/char/applicom.c writeb(1, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); IndexCard 467 drivers/char/applicom.c void __iomem *to = apbs[IndexCard].RamIO + RAM_FROM_PC; IndexCard 474 drivers/char/applicom.c writeb(0x20, apbs[IndexCard].RamIO + TIC_OWNER_FROM_PC); IndexCard 475 drivers/char/applicom.c writeb(0xff, apbs[IndexCard].RamIO + NUMCARD_OWNER_FROM_PC); IndexCard 476 drivers/char/applicom.c writeb(TicCard, apbs[IndexCard].RamIO + TIC_DES_FROM_PC); IndexCard 477 drivers/char/applicom.c writeb(NumCard, apbs[IndexCard].RamIO + NUMCARD_DES_FROM_PC); IndexCard 478 drivers/char/applicom.c writeb(2, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); IndexCard 479 drivers/char/applicom.c writeb(1, apbs[IndexCard].RamIO + RAM_IT_FROM_PC); IndexCard 480 drivers/char/applicom.c Dummy = readb(apbs[IndexCard].RamIO + VERS); IndexCard 481 drivers/char/applicom.c spin_unlock_irqrestore(&apbs[IndexCard].mutex, flags); IndexCard 485 drivers/char/applicom.c static int do_ac_read(int IndexCard, char __user *buf, IndexCard 488 drivers/char/applicom.c void __iomem *from = apbs[IndexCard].RamIO + RAM_TO_PC; IndexCard 494 drivers/char/applicom.c st_loc->tic_owner_to_pc = readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC); IndexCard 495 drivers/char/applicom.c st_loc->numcard_owner_to_pc = readb(apbs[IndexCard].RamIO + NUMCARD_OWNER_TO_PC); IndexCard 504 drivers/char/applicom.c writeb(1, apbs[IndexCard].RamIO + ACK_FROM_PC_READY); IndexCard 505 drivers/char/applicom.c writeb(1, apbs[IndexCard].RamIO + TYP_ACK_FROM_PC); IndexCard 506 drivers/char/applicom.c writeb(IndexCard+1, apbs[IndexCard].RamIO + NUMCARD_ACK_FROM_PC); IndexCard 507 drivers/char/applicom.c writeb(readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC), IndexCard 508 drivers/char/applicom.c apbs[IndexCard].RamIO + TIC_ACK_FROM_PC); IndexCard 509 drivers/char/applicom.c writeb(2, apbs[IndexCard].RamIO + ACK_FROM_PC_READY); IndexCard 510 drivers/char/applicom.c writeb(0, apbs[IndexCard].RamIO + DATA_TO_PC_READY); IndexCard 511 drivers/char/applicom.c writeb(2, apbs[IndexCard].RamIO + RAM_IT_FROM_PC); IndexCard 512 drivers/char/applicom.c Dummy = readb(apbs[IndexCard].RamIO + VERS); IndexCard 703 drivers/char/applicom.c unsigned char IndexCard; IndexCard 719 drivers/char/applicom.c IndexCard = adgl->num_card-1; IndexCard 721 drivers/char/applicom.c if (cmd != 6 && IndexCard >= MAX_BOARD) IndexCard 723 drivers/char/applicom.c IndexCard = array_index_nospec(IndexCard, MAX_BOARD); IndexCard 725 drivers/char/applicom.c if (cmd != 6 && !apbs[IndexCard].RamIO) IndexCard 731 drivers/char/applicom.c pmem = apbs[IndexCard].RamIO; IndexCard 738 drivers/char/applicom.c pmem = apbs[IndexCard].RamIO + CONF_END_TEST; IndexCard 745 drivers/char/applicom.c pmem = apbs[IndexCard].RamIO + VERS; IndexCard 747 drivers/char/applicom.c pmem = apbs[IndexCard].RamIO + TYPE_CARD; IndexCard 751 drivers/char/applicom.c (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER) << 16) + IndexCard 752 drivers/char/applicom.c (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER + 1) << 8) + IndexCard 753 drivers/char/applicom.c (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER + 2) ); IndexCard 759 drivers/char/applicom.c pmem = apbs[IndexCard].RamIO + CONF_END_TEST; IndexCard 763 drivers/char/applicom.c apbs[IndexCard].RamIO + DATA_FROM_PC_READY); IndexCard 765 drivers/char/applicom.c writeb(1, apbs[IndexCard].RamIO + RAM_IT_FROM_PC); IndexCard 774 drivers/char/applicom.c pmem = apbs[IndexCard].RamIO + TIC_DES_FROM_PC; IndexCard 778 drivers/char/applicom.c pmem = apbs[IndexCard].RamIO + TIC_OWNER_TO_PC; IndexCard 785 drivers/char/applicom.c writeb(adgl->num_card, apbs[IndexCard].RamIO + NUMCARD_OWNER_TO_PC); IndexCard 786 drivers/char/applicom.c writeb(adgl->num_card, apbs[IndexCard].RamIO + NUMCARD_DES_FROM_PC); IndexCard 787 drivers/char/applicom.c writeb(adgl->num_card, apbs[IndexCard].RamIO + NUMCARD_ACK_FROM_PC); IndexCard 788 drivers/char/applicom.c writeb(4, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); IndexCard 789 drivers/char/applicom.c writeb(1, apbs[IndexCard].RamIO + RAM_IT_FROM_PC); IndexCard 840 drivers/char/applicom.c Dummy = readb(apbs[IndexCard].RamIO + VERS); IndexCard 848 drivers/char/applicom.c (int)IndexCard + 1);