Lines Matching refs:value
103 p5_outb (int fd, uint16_t addr, uint8_t value)
111 rc = ioctl (fd, PPWDATA, &value);
114 mode = value & 0x20;
118 value = value & 0xDF;
119 rc = ioctl (fd, PPWCONTROL, &value);
127 rc = write (fd, &value, 1);
134 rc = write (fd, &value, 1);
138 value);
146 if(fd && addr && value)
152 write_reg (int fd, uint8_t index, uint8_t value)
156 /* both nibbles hold the same value */
158 DBG (DBG_io2, "write_reg(REG%X,0x%x)\n", idx, value);
161 p5_outb (fd, EPPDATA, value);
169 /* both nibbles hold the same value */
240 write_reg2 (int fd, uint8_t index, uint16_t value)
244 data2[0] = value & 0xff;
245 data2[1] = value >> 8;
266 write_reg2 (int fd, uint8_t index, uint16_t value)
268 if(fd && index && value)
466 * @param devicename nam of the real device or the special value 'auto'
1024 DBG (DBG_error, "wait_document: unexpected STATUS value 0x%02x instead of 0xf8", val);