Lines Matching defs:result
1828 read_info_block(Epson_Scanner * s, EpsonDataRec * result)
1834 e2_recv(s, result, s->block ? 6 : 4, &status);
1838 if (result->code != STX) {
1839 DBG(1, "error: got %02x, expected STX\n", result->code);
1844 if (result->status & STATUS_FER) {
1847 DBG(1, "fatal error, status = %02x\n", result->status);
2078 EpsonDataRec result;
2093 status = read_info_block(s, &result);
2098 buf_len = result.buf[1] << 8 | result.buf[0];
2099 buf_len *= (result.buf[3] << 8 | result.buf[2]);
2105 if (get_color(result.status) == 0x01)
2114 if (result.status & STATUS_AREA_END) {