Lines Matching refs:readb
133 if((readb(loc + CONF_END_TEST) != 0x00) || in ac_register_board()
134 (readb(loc + CONF_END_TEST + 1) != 0x55) || in ac_register_board()
135 (readb(loc + CONF_END_TEST + 2) != 0xAA) || in ac_register_board()
136 (readb(loc + CONF_END_TEST + 3) != 0xFF)) in ac_register_board()
140 boardno = readb(loc + NUMCARD_OWNER_TO_PC); in ac_register_board()
160 byte_reset_it = readb(loc + RAM_IT_TO_PC); in ac_register_board()
313 boardname[serial] = readb(apbs[i].RamIO + TYPE_CARD + serial); in applicom_init()
320 (int)(readb(apbs[i].RamIO + VERS) >> 4), in applicom_init()
321 (int)(readb(apbs[i].RamIO + VERS) & 0xF)); in applicom_init()
323 serial = (readb(apbs[i].RamIO + SERIAL_NUMBER) << 16) + in applicom_init()
324 (readb(apbs[i].RamIO + SERIAL_NUMBER + 1) << 8) + in applicom_init()
325 (readb(apbs[i].RamIO + SERIAL_NUMBER + 2) ); in applicom_init()
423 if(readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY) > 2) { in ac_write()
424 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_write()
427 IndexCard,(int)readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY)); in ac_write()
437 while (readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY) != 0) { in ac_write()
438 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_write()
476 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_write()
490 st_loc->tic_owner_to_pc = readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC); in do_ac_read()
491 st_loc->numcard_owner_to_pc = readb(apbs[IndexCard].RamIO + NUMCARD_OWNER_TO_PC); in do_ac_read()
498 *(to++) = readb(from++); in do_ac_read()
503 writeb(readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC), in do_ac_read()
508 Dummy = readb(apbs[IndexCard].RamIO + VERS); in do_ac_read()
563 tmp = readb(apbs[i].RamIO + DATA_TO_PC_READY); in ac_read()
585 Dummy = readb(apbs[i].RamIO + VERS); in ac_read()
592 i,(int)readb(apbs[i].RamIO + DATA_TO_PC_READY)); in ac_read()
598 Dummy = readb(apbs[i].RamIO + VERS); in ac_read()
641 if(readb(apbs[i].RamIO + RAM_IT_TO_PC) == 0) { in ac_interrupt()
650 if (readb(apbs[i].RamIO + DATA_TO_PC_READY) > 2) { in ac_interrupt()
652 i+1,(int)readb(apbs[i].RamIO + DATA_TO_PC_READY)); in ac_interrupt()
656 if((readb(apbs[i].RamIO + DATA_FROM_PC_READY) > 2) && in ac_interrupt()
657 (readb(apbs[i].RamIO + DATA_FROM_PC_READY) != 6)) { in ac_interrupt()
660 i+1,(int)readb(apbs[i].RamIO + DATA_FROM_PC_READY)); in ac_interrupt()
664 if (readb(apbs[i].RamIO + DATA_TO_PC_READY) == 2) { /* mailbox sent by the card ? */ in ac_interrupt()
670 if (readb(apbs[i].RamIO + DATA_FROM_PC_READY) == 0) { /* ram i/o free for write by pc ? */ in ac_interrupt()
675 Dummy = readb(apbs[i].RamIO + VERS); in ac_interrupt()
677 if(readb(apbs[i].RamIO + RAM_IT_TO_PC)) { in ac_interrupt()
729 ((unsigned char *)adgl)[i]=readb(pmem++); in ac_ioctl()
736 adgl->conf_end_test[i] = readb(pmem++); in ac_ioctl()
738 adgl->error_code[i] = readb(pmem++); in ac_ioctl()
740 adgl->parameter_error[i] = readb(pmem++); in ac_ioctl()
742 adgl->vers = readb(pmem); in ac_ioctl()
745 adgl->reserv1[i] = readb(pmem++); in ac_ioctl()
747 (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER) << 16) + in ac_ioctl()
748 (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER + 1) << 8) + in ac_ioctl()
749 (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER + 2) ); in ac_ioctl()
765 byte_reset_it = readb(apbs[i].RamIO + RAM_IT_TO_PC); in ac_ioctl()
775 adgl->tic_owner_to_pc = readb(pmem++); in ac_ioctl()
776 adgl->numcard_owner_to_pc = readb(pmem); in ac_ioctl()
800 boardname[serial] = readb(apbs[i].RamIO + TYPE_CARD + serial); in ac_ioctl()
805 (int)(readb(apbs[i].RamIO + VERS) >> 4), in ac_ioctl()
806 (int)(readb(apbs[i].RamIO + VERS) & 0xF), in ac_ioctl()
810 serial = (readb(apbs[i].RamIO + SERIAL_NUMBER) << 16) + in ac_ioctl()
811 (readb(apbs[i].RamIO + SERIAL_NUMBER + 1) << 8) + in ac_ioctl()
812 (readb(apbs[i].RamIO + SERIAL_NUMBER + 2) ); in ac_ioctl()
836 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_ioctl()