Lines Matching defs:read_byte
220 read_byte (int fd, byte addr, byte * val)
225 DBG (14, "read_byte(fd, 0x%02x, &result); /* got %02x */\n", addr, *val);
328 status = read_byte (fd, addr + i, &val);
355 status = read_byte (fd, addr, &result);
382 status = read_byte (fd, addr, &result);
530 read_byte (fd, 0x0b, &result); /* wants 0d */
531 read_byte (fd, 0x0c, &result); /* wants 4c */
532 read_byte (fd, 0x0d, &result); /* wants 2f */
737 read_byte (fd, 0x69, &result); /* wants 02 */
761 read_byte (fd, STATUS, &result); /* wants 2f or 2d */
770 read_byte (fd, STATUS, &result); /* wants 0c or 2c */
771 read_byte (fd, STATUS, &result); /* wants 0c */
808 read_byte (fd, STATUS, &result); /* wants 0e */
811 read_byte (fd, STATUS, &result); /* wants 0c */
813 read_byte (fd, CLOCK_DIV, &result); /* wants 04 */
815 read_byte (fd, STEP_SIZE, &result); /* wants 04 */
817 read_byte (fd, 0x47, &result); /* wants 1a */
819 read_byte (fd, FAST_STEP, &result); /* wants 01 */
821 read_byte (fd, 0x49, &result); /* wants 04 */
823 read_byte (fd, SKIP_STEPS, &result); /* wants 00 */
825 read_byte (fd, 0x4b, &result); /* wants 00 */
827 read_byte (fd, BUFFER_LIMIT, &result); /* wants 57 */
829 read_byte (fd, BUFFER_RESUME, &result); /* wants 02 */
831 read_byte (fd, REVERSE_STEPS, &result); /* wants 00 */
857 read_byte (fd, MICROSTEP, &result); /* wants 13, active */
911 read_byte (fd, STATUS, &result); /* wants 0c */
927 read_byte (fd, STATUS, &result); /* wants 0c */
957 read_byte (fd, IMAGE_DATA_AVAIL, &result); /* wants 42,4c */
963 read_byte (fd, 0x69, &result); /* wants 02 */
1257 read_byte (fd, STATUS, &result); /* wants 2f or 2d */
1266 read_byte (fd, 0x69, &result); /* wants 0a */
1268 read_byte (fd, STATUS, &result); /* wants 0e */
1269 read_byte (fd, PAPER_SENSOR, &result); /* wants 2b */
1279 read_byte (fd, STATUS, &result); /* wants 0e */
1282 read_byte (fd, STATUS, &result); /* wants 0c */
1414 read_byte (fd, PAPER_SENSOR, &result); /* wants 2b */
1424 read_byte (fd, PAPER_SENSOR, &result); /* wants 0b */