cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ddk750_hwi2c.h (373B)


      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