Lines Matching refs:reply
256 static unsigned char KodakEsp_v[] = {0x1b,'s','v',0,0,0,0,0}; /* reply to version?? */
939 /* gets 8 byte reply, checks reply is an Ack and returns appropriate status */
960 /* Sends 8 byte data to scanner and returns reply and appropriate status. */
993 Sends 8 byte data to scanner, gets 8 byte reply, checks reply is an Ack
1035 Tries to get 64 byte reply
1060 unsigned char reply[8];
1068 /* preset the reply, so I can see if it gets changed */
1069 reply[0] = 0; reply[1] = 1; reply[2] = 2; reply[3] = 3; reply[4] = 4; reply[5] = 5; reply[6] = 6; reply[7] = 7;
1071 if((status = kodakaio_txrx(s, KodakEsp_V, reply))!= SANE_STATUS_GOOD) {
1076 if (strncmp((char *) reply, (char *) KodakEsp_v, 3)!=0) {
1077 kodakaio_com_str(reply, fmt_buf);
1094 unsigned char reply[8];
1100 if (kodakaio_txrxack(s, KodakEsp_F, reply)!= SANE_STATUS_GOOD) {
1101 DBG(1, "%s: Did not get a good reply to KodakEsp_F\n", __func__);
1106 if (kodakaio_txrxack(s, KodakEsp_E, reply)!= SANE_STATUS_GOOD) {
1107 DBG(1, "%s: Did not get a good reply to KodakEsp_E\n", __func__);
1127 unsigned char reply[8];
1130 if (kodakaio_txrxack(s, KodakEsp_F, reply)!= SANE_STATUS_GOOD)
1135 if (kodakaio_txrxack(s, KodakEsp_UnLock, reply)!= SANE_STATUS_GOOD)
1143 if (kodakaio_txrxack(s, KodakEsp_UnLock, reply)!= SANE_STATUS_GOOD)
1571 unsigned char reply[8];
1579 if (kodakaio_txrxack(s, KodakEsp_Lock, reply)!= SANE_STATUS_GOOD) {