Lines Matching defs:buf
128 * @buf: The read buffer
131 * into memory pointed by @buf. It returns 0 on success or a negative
134 static inline int rmi_read(struct rmi_device *d, u16 addr, u8 *buf)
136 return d->xport->ops->read_block(d->xport, addr, buf, 1);
143 * @buf: The read buffer
147 * into memory pointed by @buf. It returns 0 on success or a negative
151 void *buf, size_t len)
153 return d->xport->ops->read_block(d->xport, addr, buf, len);
174 * @buf: The write buffer
177 * Writes a block of byte data from buf using the underlaying transport
181 const void *buf, size_t len)
183 return d->xport->ops->write_block(d->xport, addr, buf, len);