Unix and Linux Discussions Tagged with recovery |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
15,699 |
Ubuntu |
|
|
|
0 |
3,467 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
4,830 |
Ubuntu |
|
|
|
2 |
1,732 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,925 |
Gentoo |
|
|
|
1 |
6,064 |
Red Hat |
|
|
|
2 |
16,080 |
Shell Programming and Scripting |
|
|
|
0 |
971 |
Software Releases - RSS News |
|
|
|
0 |
881 |
Software Releases - RSS News |
|
|
|
0 |
779 |
Software Releases - RSS News |
|
|
|
0 |
872 |
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,677 |
AIX |
|
|
|
0 |
854 |
Software Releases - RSS News |
|
|
|
0 |
799 |
Software Releases - RSS News |
|
|
|
2 |
7,413 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,448 |
Software Releases - RSS News |
|
|
|
3 |
6,217 |
Cybersecurity |
|
|
|
2 |
3,354 |
Shell Programming and Scripting |
|
|
|
1 |
4,146 |
Programming |
|
|
|
6 |
8,415 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,756 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,201 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
9,101 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
6,298 |
HP-UX |
|
|
|
1 |
4,256 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
8,208 |
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)