Lines Matching defs:ebuf

632   u_char ibuf[36], ebuf[74], mbuf[12];
725 memset (ebuf, 0, sizeof (ebuf));
726 buf_size = sizeof (ebuf);
728 status = get_scan_mode (fd, TRANSPARENCY_UNIT, ebuf, &buf_size);
736 DBG(3, "scan mode trans byte[%d] = %d\n", i, ebuf[i]);
740 memset (ebuf, 0, sizeof (ebuf));
741 buf_size = sizeof (ebuf);
742 status = get_scan_mode (fd, SCAN_CONTROL_CONDITIONS, ebuf, &buf_size);
751 DBG (3, "scan mode byte[%d] = %d\n", (int) i, ebuf[i]);
755 memset (ebuf, 0, sizeof (ebuf));
756 buf_size = sizeof (ebuf);
757 status = inquiry (fd, 1, ebuf, &buf_size);
768 memset (ebuf, 0, sizeof (ebuf));
771 ebuf, &buf_size);
779 DBG (3, "scan mode control byte[%d] = %d\n", i, ebuf[i]);
784 memset (ebuf, 0, sizeof (ebuf));
786 status = get_scan_mode (fd, (u_char)ALL_SCAN_MODE_PAGES, ebuf, &buf_size);
794 DBG(3, "scan mode control byte[%d] = %d\n", i, ebuf[i]);
964 dev->info.xres_default = (ebuf[5] << 8) + ebuf[6];
966 dev->info.xres_range.max = (ebuf[10] << 8) + ebuf[11];
968 dev->info.xres_range.min = (ebuf[14] << 8) + ebuf[15];
970 dev->info.xres_range.quant = ebuf[9] >> 4;
973 dev->info.yres_default = (ebuf[7] << 8) + ebuf[8];
975 dev->info.yres_range.max = (ebuf[12] << 8) + ebuf[13];
977 dev->info.yres_range.min = (ebuf[16] << 8) + ebuf[17];
979 dev->info.yres_range.quant = ebuf[9] & 0x0f;
983 dev->info.x_range.max = (ebuf[20] << 24) + (ebuf[21] << 16)
984 + (ebuf[22] << 8) + ebuf[23] - 1;
991 dev->info.y_range.max = (ebuf[24] << 24) + (ebuf[25] << 16)
992 + (ebuf[26] << 8) + ebuf[27] - 1;
998 dev->info.x_adf_range.max = (ebuf[30] << 24) + (ebuf[31] << 16)
999 + (ebuf[32] << 8) + ebuf[33] - 1;
1001 dev->info.y_adf_range.max = (ebuf[34] << 24) + (ebuf[35] << 16)
1002 + (ebuf[36] << 8) + ebuf[37] - 1;
1826 u_char ebuf[74];
1830 memset (ebuf, 0, sizeof (ebuf));
1832 status = get_film_status (s->fd, ebuf, &buf_size);
1846 DBG (3, "focus point before autofocus : %d\n", ebuf[3]);
1866 memset (ebuf, 0, sizeof (ebuf));
1868 status = get_film_status (s->fd, ebuf, &buf_size);
1883 DBG (3, "focus point after autofocus : %d\n", ebuf[3]);