Lines Matching defs:byte
221 pcf8574_get(struct pcf8574_unit *unitp, uchar_t *byte) {
247 *byte = i2c_tran_pointer->i2c_rbuf[0];
254 pcf8574_set(struct pcf8574_unit *unitp, uchar_t byte) {
268 i2c_tran_pointer->i2c_wbuf[0] = byte;
295 uchar_t byte;
325 err = pcf8574_get(unitp, &byte);
333 ioctl_port.value = byte;
343 byte));
383 err = pcf8574_get(unitp, &byte);
391 D1CMN_ERR((CE_NOTE, "%s: byte returned from device is %x\n",
392 unitp->pcf8574_name, byte));
393 ioctl_bit.bit_value = (boolean_t)PCF8574_BIT_READ_MASK(byte,
395 D1CMN_ERR((CE_NOTE, "%s: byte now contains %x\n",
396 unitp->pcf8574_name, byte));
425 err = pcf8574_get(unitp, &byte);
433 D1CMN_ERR((CE_NOTE, "%s: byte returned from device is %x\n",
434 unitp->pcf8574_name, byte));
435 byte = PCF8574_BIT_WRITE_MASK(byte, ioctl_bit.bit_num,
437 D1CMN_ERR((CE_NOTE, "%s: byte after shifting is %x\n",
438 unitp->pcf8574_name, byte));
440 err = pcf8574_set(unitp, byte);