]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/linux/i2c-pnx.h
2 * Header file for I2C support on PNX010x/4008.
4 * Author: Dennis Kovalev <dkovalev@ru.mvista.com>
6 * 2004-2006 (c) MontaVista Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
15 struct platform_device
;
19 int ret
; /* Return value */
20 int mode
; /* Interface mode */
21 struct completion complete
; /* I/O completion */
22 struct timer_list timer
; /* Timeout */
23 u8
* buf
; /* Data buffer */
24 int len
; /* Length of data buffer */
27 struct i2c_pnx_algo_data
{
29 struct i2c_pnx_mif mif
;
32 struct i2c_pnx_data
*i2c_pnx
;
33 struct i2c_adapter adapter
;
42 #endif /* __I2C_PNX_H__ */