Lines Matching refs:_get_byte

76 _get_byte(SANE_Byte* array, SANE_Byte offset) {
272 sense->errorCode = _get_byte (data, 0);
273 sense->segment = _get_byte (data, 1);
274 sense->senseKey = _get_byte (data, 2);
276 sense->addLength = _get_byte (data, 7);
278 sense->senseCode = _get_byte (data, 12);
279 sense->senseQualifier = _get_byte (data, 13);
336 frame->index = _get_byte (data, 4);
428 shading[k].type = _get_byte (data, 8 + data[5]*k);
429 shading[k].sendBits = _get_byte (data, 9 + data[5]*k);
430 shading[k].recieveBits = _get_byte (data, 10 + data[5]*k);
431 shading[k].nLines = _get_byte (data, 11 + data[5]*k);
628 parameters->filterOffset1 = _get_byte(data, 6);
629 parameters->filterOffset2 = _get_byte(data, 7);
678 inq->deviceType = _get_byte(data, 0);
679 inq->additionalLength = _get_byte(data, 4);
688 inq->filters = _get_byte(data, 44);
689 inq->colorDepths = _get_byte(data, 45);
690 inq->colorFormat = _get_byte(data, 46);
691 inq->imageFormat = _get_byte(data, 48);
692 inq->scanCapability = _get_byte(data, 49);
693 inq->optionalDevices = _get_byte(data, 50);
694 inq->enhancements = _get_byte(data, 51);
695 inq->gammaBits = _get_byte(data, 52);
696 inq->lastFilter = _get_byte(data, 53);
700 inq->halftones = _get_byte(data, 100);
701 inq->minumumHighlight = _get_byte(data, 101);
702 inq->maximumShadow = _get_byte(data, 102);
703 inq->calibrationEquation = _get_byte(data, 103);
863 mode->passes = _get_byte (data, 4);
864 mode->colorDepth = _get_byte (data, 5);
865 mode->colorFormat = _get_byte (data, 6);
866 mode->byteOrder = _get_byte (data, 8);
867 quality = _get_byte (data, 9);
871 mode->halftonePattern = _get_byte (data, 12);
872 mode->lineThreshold = _get_byte (data, 13);
1048 settings->light = _get_byte (data, 75);
1050 settings->offset[3] = _get_byte (data, 100);
1051 settings->gain[3] = _get_byte (data, 102);
1188 state->buttonPushed = _get_byte(data, 0);
1189 state->warmingUp = _get_byte(data, 5);
1190 state->scanning = _get_byte(data, 6);
1191 /* state->busy = _get_byte(data, 8); */
1192 DBG (DBG_info_scan, "sanei_pieusb_cmd_read_state(): button %d, warmingUp %d, scanning %d, busy? %d\n", state->buttonPushed, state->warmingUp, state->scanning, _get_byte(data, 8));