mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
28 lines
679 B
C
28 lines
679 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License version 2 as published by the Free Software Foundation.
|
|
*
|
|
* Copyright (C) 2003 Ladislav Michl <ladis@linux-mips.org>
|
|
*/
|
|
|
|
#ifndef I2C_ALGO_SGI_H
|
|
#define I2C_ALGO_SGI_H 1
|
|
|
|
#include <linux/i2c.h>
|
|
|
|
struct i2c_algo_sgi_data {
|
|
void *data; /* private data for lowlevel routines */
|
|
unsigned (*getctrl)(void *data);
|
|
void (*setctrl)(void *data, unsigned val);
|
|
unsigned (*rdata)(void *data);
|
|
void (*wdata)(void *data, unsigned val);
|
|
|
|
int xfer_timeout;
|
|
int ack_timeout;
|
|
};
|
|
|
|
int i2c_sgi_add_bus(struct i2c_adapter *);
|
|
int i2c_sgi_del_bus(struct i2c_adapter *);
|
|
|
|
#endif /* I2C_ALGO_SGI_H */
|