Lines Matching refs:readb

132 	if((readb(loc + CONF_END_TEST)     != 0x00) ||  in ac_register_board()
133 (readb(loc + CONF_END_TEST + 1) != 0x55) || in ac_register_board()
134 (readb(loc + CONF_END_TEST + 2) != 0xAA) || in ac_register_board()
135 (readb(loc + CONF_END_TEST + 3) != 0xFF)) in ac_register_board()
139 boardno = readb(loc + NUMCARD_OWNER_TO_PC); in ac_register_board()
159 byte_reset_it = readb(loc + RAM_IT_TO_PC); in ac_register_board()
315 boardname[serial] = readb(apbs[i].RamIO + TYPE_CARD + serial); in applicom_init()
322 (int)(readb(apbs[i].RamIO + VERS) >> 4), in applicom_init()
323 (int)(readb(apbs[i].RamIO + VERS) & 0xF)); in applicom_init()
325 serial = (readb(apbs[i].RamIO + SERIAL_NUMBER) << 16) + in applicom_init()
326 (readb(apbs[i].RamIO + SERIAL_NUMBER + 1) << 8) + in applicom_init()
327 (readb(apbs[i].RamIO + SERIAL_NUMBER + 2) ); in applicom_init()
425 if(readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY) > 2) { in ac_write()
426 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_write()
429 IndexCard,(int)readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY)); in ac_write()
439 while (readb(apbs[IndexCard].RamIO + DATA_FROM_PC_READY) != 0) { in ac_write()
440 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_write()
478 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_write()
492 st_loc->tic_owner_to_pc = readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC); in do_ac_read()
493 st_loc->numcard_owner_to_pc = readb(apbs[IndexCard].RamIO + NUMCARD_OWNER_TO_PC); in do_ac_read()
500 *(to++) = readb(from++); in do_ac_read()
505 writeb(readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC), in do_ac_read()
510 Dummy = readb(apbs[IndexCard].RamIO + VERS); in do_ac_read()
565 tmp = readb(apbs[i].RamIO + DATA_TO_PC_READY); in ac_read()
587 Dummy = readb(apbs[i].RamIO + VERS); in ac_read()
594 i,(int)readb(apbs[i].RamIO + DATA_TO_PC_READY)); in ac_read()
600 Dummy = readb(apbs[i].RamIO + VERS); in ac_read()
643 if(readb(apbs[i].RamIO + RAM_IT_TO_PC) == 0) { in ac_interrupt()
652 if (readb(apbs[i].RamIO + DATA_TO_PC_READY) > 2) { in ac_interrupt()
654 i+1,(int)readb(apbs[i].RamIO + DATA_TO_PC_READY)); in ac_interrupt()
658 if((readb(apbs[i].RamIO + DATA_FROM_PC_READY) > 2) && in ac_interrupt()
659 (readb(apbs[i].RamIO + DATA_FROM_PC_READY) != 6)) { in ac_interrupt()
662 i+1,(int)readb(apbs[i].RamIO + DATA_FROM_PC_READY)); in ac_interrupt()
666 if (readb(apbs[i].RamIO + DATA_TO_PC_READY) == 2) { /* mailbox sent by the card ? */ in ac_interrupt()
672 if (readb(apbs[i].RamIO + DATA_FROM_PC_READY) == 0) { /* ram i/o free for write by pc ? */ in ac_interrupt()
677 Dummy = readb(apbs[i].RamIO + VERS); in ac_interrupt()
679 if(readb(apbs[i].RamIO + RAM_IT_TO_PC)) { in ac_interrupt()
731 ((unsigned char *)adgl)[i]=readb(pmem++); in ac_ioctl()
738 adgl->conf_end_test[i] = readb(pmem++); in ac_ioctl()
740 adgl->error_code[i] = readb(pmem++); in ac_ioctl()
742 adgl->parameter_error[i] = readb(pmem++); in ac_ioctl()
744 adgl->vers = readb(pmem); in ac_ioctl()
747 adgl->reserv1[i] = readb(pmem++); in ac_ioctl()
749 (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER) << 16) + in ac_ioctl()
750 (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER + 1) << 8) + in ac_ioctl()
751 (readb(apbs[IndexCard].RamIO + SERIAL_NUMBER + 2) ); in ac_ioctl()
767 byte_reset_it = readb(apbs[i].RamIO + RAM_IT_TO_PC); in ac_ioctl()
777 adgl->tic_owner_to_pc = readb(pmem++); in ac_ioctl()
778 adgl->numcard_owner_to_pc = readb(pmem); in ac_ioctl()
802 boardname[serial] = readb(apbs[i].RamIO + TYPE_CARD + serial); in ac_ioctl()
807 (int)(readb(apbs[i].RamIO + VERS) >> 4), in ac_ioctl()
808 (int)(readb(apbs[i].RamIO + VERS) & 0xF), in ac_ioctl()
812 serial = (readb(apbs[i].RamIO + SERIAL_NUMBER) << 16) + in ac_ioctl()
813 (readb(apbs[i].RamIO + SERIAL_NUMBER + 1) << 8) + in ac_ioctl()
814 (readb(apbs[i].RamIO + SERIAL_NUMBER + 2) ); in ac_ioctl()
838 Dummy = readb(apbs[IndexCard].RamIO + VERS); in ac_ioctl()