Lines Matching +full:read +full:- +full:to +full:- +full:read

14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
38 device driver provides generic I/O to any
41 In order to control I2C devices, use
45 .Bl -tag -width ".Dv I2CRPTSTART"
48 Sends the start condition to the slave specified by the
50 element to the bus.
53 element consists of a 7-bit address and a read/write bit
54 (that is, a 7-bit address << 1 | r/w).
55 A read operation is initiated when the read/write bit is set, or a write
62 Sends the repeated start condition to the slave specified by the
64 element to the bus.
72 Sends the stop condition to the bus.
90 Writes data to the
100 element is the number of bytes to write.
104 It must be zero when additional read commands will follow, or non-zero if this
108 element is a pointer to the data to write to the bus.
121 element is the number of bytes to read.
125 It must be zero when additional read commands will follow, or non-zero if this
129 element is a pointer to where to store the data read from the bus.
133 Generic read/write interface.
134 Allows for an arbitrary number of commands to be sent to
145 A read transfer is specified if
152 element specifies the 7-bit address with the read/write bit for the transfer.
153 The read/write bit will be handled by the iicbus stack based on the specified
164 This ioctl is intended to be
171 .Xr read 2
175 The argument is an 8-bit address (that is, a 7-bit address << 1).
176 The read/write bit in the least-significant position is ignored.
177 Any subsequent read or write operation will set or clear that bit as needed.
183 .Bd -literal -offset indent
191 /* Designed to be compatible with linux's struct i2c_msg */
197 #define IIC_M_RD 0x0001 /* read vs write */
210 It is also possible to use
211 .Xr read 2
216 The address used for the read/write operation is the one passed to the most
231 stops any transaction established by a not-yet-terminated
234 Because addressing state is stored on a per-file-descriptor basis, it is
235 permissible for multiple file descriptors to be simultaneously open on the
240 exclusive-ownership requests issued to the underlying iicbus instance.
243 .Xr read 2 ,
252 .An -nosplit