FreeBSD/sys/arm/ti/ti_i2c.c
/**
 *	ti_i2c_read_2 - reads a 16-bit value from one of the I2C registers
 *	@sc: I2C device context
 *	@off: the byte offset within the register bank to read from.
 *
 *
 *	LOCKING:
 *	No locking required
 *
 *	RETURNS:
 *	16-bit value read from the register.
 */
reads a 16-bit value from one of the I2C registers
@sc: I2C device context
@off: the byte offset within the register bank to read from.

No locking required

16-bit value read from the register.
reads a 16 - bit value from one of the I2C registers @sc : I2C device context @off : the byte offset within the register bank to read from . No locking required 16 - bit value read from the register .
static inline uint16_t
ti_i2c_read_2(struct ti_i2c_softc *sc, bus_size_t off)
{
	return (bus_read_2(sc->sc_mem_res, off));
}
static inline uint16_t ti_i2c_read_2 ( struct ti_i2c_softc * sc , bus_size_t off ) { return ( bus_read_2 ( sc -> sc_mem_res , off ) ) ; }
ti_i2c_read_2 - reads a 16-bit value from one of the I2C registers
      @sc: I2C device context
      @off: the byte offset within the register bank to read from.
ti_i2c_read_2 - reads a 16 - bit value from one of the I2C registers @sc : I2C device context @off : the byte offset within the register bank to read from .