linux/drivers/staging/sm750fb/ddk750_hwi2c.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef DDK750_HWI2C_H__
   3#define DDK750_HWI2C_H__
   4
   5/* hwi2c functions */
   6int sm750_hw_i2c_init(unsigned char bus_speed_mode);
   7void sm750_hw_i2c_close(void);
   8
   9unsigned char sm750_hw_i2c_read_reg(unsigned char addr, unsigned char reg);
  10int sm750_hw_i2c_write_reg(unsigned char addr, unsigned char reg,
  11                           unsigned char data);
  12#endif
  13