Lines Matching refs:readb

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