Unix and Linux Discussions Tagged with recovery |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
15,853 |
Ubuntu |
|
|
|
0 |
3,476 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
4,850 |
Ubuntu |
|
|
|
2 |
1,739 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,949 |
Gentoo |
|
|
|
1 |
6,084 |
Red Hat |
|
|
|
2 |
16,085 |
Shell Programming and Scripting |
|
|
|
0 |
971 |
Software Releases - RSS News |
|
|
|
0 |
881 |
Software Releases - RSS News |
|
|
|
0 |
779 |
Software Releases - RSS News |
|
|
|
0 |
874 |
Software Releases - RSS News |
|
|
|
0 |
739 |
Software Releases - RSS News |
|
|
|
0 |
800 |
Software Releases - RSS News |
|
|
|
0 |
746 |
Software Releases - RSS News |
|
|
|
0 |
760 |
Software Releases - RSS News |
|
|
|
0 |
882 |
Software Releases - RSS News |
|
|
|
10 |
7,684 |
AIX |
|
|
|
0 |
854 |
Software Releases - RSS News |
|
|
|
0 |
799 |
Software Releases - RSS News |
|
|
|
2 |
7,418 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,448 |
Software Releases - RSS News |
|
|
|
3 |
6,225 |
Cybersecurity |
|
|
|
2 |
3,355 |
Shell Programming and Scripting |
|
|
|
1 |
4,161 |
Programming |
|
|
|
6 |
8,426 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,762 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,209 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
9,153 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
6,324 |
HP-UX |
|
|
|
1 |
4,268 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
8,237 |
UNIX for Dummies Questions & Answers |
STRUCT
I2C_BUS_RECOV(9) I2C and SMBus Subsystem STRUCT I2C_BUS_RECOV(9)
NAME
struct_i2c_bus_recovery_info - I2C bus recovery information
SYNOPSIS
struct i2c_bus_recovery_info {
int (* recover_bus) (struct i2c_adapter *);
int (* get_scl) (struct i2c_adapter *);
void (* set_scl) (struct i2c_adapter *, int val);
int (* get_sda) (struct i2c_adapter *);
void (* prepare_recovery) (struct i2c_bus_recovery_info *bri);
void (* unprepare_recovery) (struct i2c_bus_recovery_info *bri);
int scl_gpio;
int sda_gpio;
};
MEMBERS
recover_bus
Recover routine. Either pass driver's recover_bus routine, or i2c_generic_scl_recovery or i2c_generic_gpio_recovery.
get_scl
This gets current value of SCL line. Mandatory for generic SCL recovery. Used internally for generic GPIO recovery.
set_scl
This sets/clears SCL line. Mandatory for generic SCL recovery. Used internally for generic GPIO recovery.
get_sda
This gets current value of SDA line. Optional for generic SCL recovery. Used internally, if sda_gpio is a valid GPIO, for generic GPIO
recovery.
prepare_recovery
This will be called before starting recovery. Platform may configure padmux here for SDA/SCL line or something else they want.
unprepare_recovery
This will be called after completing recovery. Platform may configure padmux here for SDA/SCL line or something else they want.
scl_gpio
gpio number of the SCL line. Only required for GPIO recovery.
sda_gpio
gpio number of the SDA line. Only required for GPIO recovery.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT I2C_BUS_RECOV(9)