Lines Matching refs:read
69 /* res contains the read word */
82 if (read(file, buf, 1) != 1) {
85 /* buf[0] contains the read byte */
89 the means of read() and write() calls. In particular, so-called combined
90 transactions (mixing read and write messages in the same transaction)
124 Do combined read/write transaction without stop in between.
134 The function will write or read data to or from that buffers depending
143 You can do plain i2c transactions by using read(2) and write(2) calls.
160 All these transactions return -1 on failure; you can read errno to see
162 'read' transactions return the read value, except for read_block, which
163 returns the number of values read. The block buffers need not be longer