File: ddk750_hwi2c.h

package info (click to toggle)
linux 6.1.137-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,496,408 kB
  • sloc: ansic: 23,468,339; asm: 266,595; sh: 110,522; makefile: 49,887; python: 36,990; perl: 36,834; cpp: 6,056; yacc: 4,908; lex: 2,725; awk: 1,440; ruby: 25; sed: 5
file content (12 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef DDK750_HWI2C_H__
#define DDK750_HWI2C_H__

/* hwi2c functions */
int sm750_hw_i2c_init(unsigned char bus_speed_mode);
void sm750_hw_i2c_close(void);

unsigned char sm750_hw_i2c_read_reg(unsigned char addr, unsigned char reg);
int sm750_hw_i2c_write_reg(unsigned char addr, unsigned char reg,
			   unsigned char data);
#endif