Lines Matching refs:readb
136 if((readb(loc + CONF_END_TEST) != 0x00) || in ac_register_board()
137 (readb(loc + CONF_END_TEST + 1) != 0x55) || in ac_register_board()
138 (readb(loc + CONF_END_TEST + 2) != 0xAA) || in ac_register_board()
139 (readb(loc + CONF_END_TEST + 3) != 0xFF)) in ac_register_board()
143 boardno = readb(loc + NUMCARD_OWNER_TO_PC); in ac_register_board()
163 byte_reset_it = readb(loc + RAM_IT_TO_PC); in ac_register_board()
316 boardname[serial] = readb(apbs[i].RamIO + TYPE_CARD + serial); in applicom_init()
323 (int)(readb(apbs[i].RamIO + VERS) >> 4), in applicom_init()
324 (int)(readb(apbs[i].RamIO + VERS) & 0xF)); in applicom_init()
326 serial = (readb(apbs[i].RamIO + SERIAL_NUMBER) << 16) + in applicom_init()
327 (readb(apbs[i].RamIO + SERIAL_NUMBER + 1) << 8) + in applicom_init()
328 (readb(apbs[i].RamIO + SERIAL_NUMBER + 2) ); in applicom_init()
426 if(readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY) > 2) { in ac_write()
427 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_write()
430 IndexCard,(int)readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY)); in ac_write()
440 while (readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY) != 0) { in ac_write()
441 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_write()
479 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_write()
493 st_loc->tic_owner_to_pc = readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC); in do_ac_read()
494 st_loc->numcard_owner_to_pc = readb(apbs[IndexCard].RamIO + NUMCARD_OWNER_TO_PC); in do_ac_read()
501 *(to++) = readb(from++); in do_ac_read()
506 writeb(readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC), in do_ac_read()
511 Dummy = readb(apbs[IndexCard].RamIO + VERS); in do_ac_read()
566 tmp = readb(apbs[i].RamIO + DATA_TO_PC_READY); in ac_read()
588 Dummy = readb(apbs[i].RamIO + VERS); in ac_read()
595 i,(int)readb(apbs[i].RamIO + DATA_TO_PC_READY)); in ac_read()
601 Dummy = readb(apbs[i].RamIO + VERS); in ac_read()
644 if(readb(apbs[i].RamIO + RAM_IT_TO_PC) == 0) { in ac_interrupt()
653 if (readb(apbs[i].RamIO + DATA_TO_PC_READY) > 2) { in ac_interrupt()
655 i+1,(int)readb(apbs[i].RamIO + DATA_TO_PC_READY)); in ac_interrupt()
659 if((readb(apbs[i].RamIO + DATA_FROM_PC_READY) > 2) && in ac_interrupt()
660 (readb(apbs[i].RamIO + DATA_FROM_PC_READY) != 6)) { in ac_interrupt()
663 i+1,(int)readb(apbs[i].RamIO + DATA_FROM_PC_READY)); in ac_interrupt()
667 if (readb(apbs[i].RamIO + DATA_TO_PC_READY) == 2) { /* mailbox sent by the card ? */ in ac_interrupt()
673 if (readb(apbs[i].RamIO + DATA_FROM_PC_READY) == 0) { /* ram i/o free for write by pc ? */ in ac_interrupt()
678 Dummy = readb(apbs[i].RamIO + VERS); in ac_interrupt()
680 if(readb(apbs[i].RamIO + RAM_IT_TO_PC)) { in ac_interrupt()
732 ((unsigned char *)adgl)[i]=readb(pmem++); in ac_ioctl()
739 adgl->conf_end_test[i] = readb(pmem++); in ac_ioctl()
741 adgl->error_code[i] = readb(pmem++); in ac_ioctl()
743 adgl->parameter_error[i] = readb(pmem++); in ac_ioctl()
745 adgl->vers = readb(pmem); in ac_ioctl()
748 adgl->reserv1[i] = readb(pmem++); in ac_ioctl()
750 (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER) << 16) + in ac_ioctl()
751 (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER + 1) << 8) + in ac_ioctl()
752 (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER + 2) ); in ac_ioctl()
768 byte_reset_it = readb(apbs[i].RamIO + RAM_IT_TO_PC); in ac_ioctl()
778 adgl->tic_owner_to_pc = readb(pmem++); in ac_ioctl()
779 adgl->numcard_owner_to_pc = readb(pmem); in ac_ioctl()
803 boardname[serial] = readb(apbs[i].RamIO + TYPE_CARD + serial); in ac_ioctl()
808 (int)(readb(apbs[i].RamIO + VERS) >> 4), in ac_ioctl()
809 (int)(readb(apbs[i].RamIO + VERS) & 0xF), in ac_ioctl()
813 serial = (readb(apbs[i].RamIO + SERIAL_NUMBER) << 16) + in ac_ioctl()
814 (readb(apbs[i].RamIO + SERIAL_NUMBER + 1) << 8) + in ac_ioctl()
815 (readb(apbs[i].RamIO + SERIAL_NUMBER + 2) ); in ac_ioctl()
839 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_ioctl()