xref: /linux/drivers/media/pci/mantis/mantis_i2c.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 	Mantis PCI bridge driver
4 
5 	Copyright (C) Manu Abraham (abraham.manu@gmail.com)
6 
7 */
8 
9 #ifndef __MANTIS_I2C_H
10 #define __MANTIS_I2C_H
11 
12 #define I2C_STOP		(1 <<  0)
13 #define I2C_READ		(1 <<  1)
14 
15 extern int mantis_i2c_init(struct mantis_pci *mantis);
16 extern int mantis_i2c_exit(struct mantis_pci *mantis);
17 
18 #endif /* __MANTIS_I2C_H */
19