Lines Matching refs:byte
75 char low; /* low byte received first */
76 char high; /* high byte */
90 static int iicsmb_sendb(device_t dev, u_char slave, char byte);
91 static int iicsmb_recvb(device_t dev, u_char slave, char *byte);
92 static int iicsmb_writeb(device_t dev, u_char slave, char cmd, char byte);
94 static int iicsmb_readb(device_t dev, u_char slave, char cmd, char *byte);
307 iicsmb_sendb(device_t dev, u_char slave, char byte)
315 error = iicbus_write(parent, &byte, 1, &sent, IICBUS_TIMEOUT);
324 iicsmb_recvb(device_t dev, u_char slave, char *byte)
332 error = iicbus_read(parent, byte, 1, &read, IIC_LAST_READ, IICBUS_TIMEOUT);
341 iicsmb_writeb(device_t dev, u_char slave, char cmd, char byte)
350 error = iicbus_write(parent, &byte, 1, &sent, IICBUS_TIMEOUT);
381 iicsmb_readb(device_t dev, u_char slave, char cmd, char *byte)
395 if ((error = iicbus_read(parent, byte, 1, &read, IIC_LAST_READ, IICBUS_TIMEOUT)))
425 /* first, receive low, then high byte */
446 /* first, send low, then high byte */
459 /* first, receive low, then high byte */