Lines Matching refs:addr
127 * @addr: The address to read from
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);
142 * @addr: The start address to read from
150 static inline int rmi_read_block(struct rmi_device *d, u16 addr,
153 return d->xport->ops->read_block(d->xport, addr, buf, len);
159 * @addr: The address to write to
165 static inline int rmi_write(struct rmi_device *d, u16 addr, u8 data)
167 return d->xport->ops->write_block(d->xport, addr, &data, 1);
173 * @addr: The start address to write to
180 static inline int rmi_write_block(struct rmi_device *d, u16 addr,
183 return d->xport->ops->write_block(d->xport, addr, buf, len);