centos man page for struct_i2c_bus_recovery_info

Query: struct_i2c_bus_recovery_info

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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)
Related Man Pages
struct_i2c_driver(9) - centos
struct_regulator_config(9) - centos
gpioiic(4) - netbsd
gpio(4) - netbsd
struct_i2c_driver(9) - suse
Similar Topics in the Unix Linux Community
frecover
P-Series (7029-6C3) firware recovery?
generic way - help required
Recovering OpenServer 5.0.6 onto different hardware
Unable to create windows recovery disc