Lines Matching defs:result
394 sense_handler (__sane_unused__ int scsi_fd, unsigned char *result, __sane_unused__ void *arg) /* is called by sanei_scsi */
402 sensekey = get_RS_sense_key (result);
403 asc = get_RS_ASC (result);
404 ascq = get_RS_ASCQ (result);
406 len = 7 + get_RS_additional_length (result);
408 if (get_RS_error_code (result) != 0x70)
416 if (get_RS_ILI (result) != 0)
574 if (get_RS_SKSV (result) != 0)
576 if (get_RS_CD (result) == 0)
588 get_RS_field_pointer (result));
1646 long *result = NULL;
1687 /* allocate buffers for the receive data, the result buffers, and for the send data */
1707 /* read the cal data a line at a time, and accumulate into the result arrays */
1746 /* which result buffer does this line belong to? */
1750 result = red_result;
1752 result = green_result;
1754 result = blue_result;
1756 result = neutral_result;
1774 result = neutral_result;
1778 /* now add the values in this line to the result array */
1781 result[i] += *rcv_ptr++;
1784 result[i] += (*rcv_ptr++) << 8;
1833 result = red_result;
1837 result = green_result;
1841 result = blue_result;
1845 result = neutral_result;
1850 result = neutral_result;
1858 x = result[i] / rcv_lines;
1878 /* put result into send buffer */