Home
last modified time | relevance | path

Searched refs:bus_recovery_info (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/drivers/i2c/
H A Di2c-core-base.c181 return gpiod_get_value_cansleep(adap->bus_recovery_info->scl_gpiod); in get_scl_gpio_value()
186 gpiod_set_value_cansleep(adap->bus_recovery_info->scl_gpiod, val); in set_scl_gpio_value()
191 return gpiod_get_value_cansleep(adap->bus_recovery_info->sda_gpiod); in get_sda_gpio_value()
196 gpiod_set_value_cansleep(adap->bus_recovery_info->sda_gpiod, val); in set_sda_gpio_value()
201 struct i2c_bus_recovery_info *bri = adap->bus_recovery_info; in i2c_generic_bus_free()
225 struct i2c_bus_recovery_info *bri = adap->bus_recovery_info; in i2c_generic_scl_recovery()
296 if (!adap->bus_recovery_info) in i2c_recover_bus()
300 return adap->bus_recovery_info->recover_bus(adap); in i2c_recover_bus()
306 struct i2c_bus_recovery_info *bri = adap->bus_recovery_info; in i2c_gpio_init_pinctrl_recovery()
353 struct i2c_bus_recovery_info *bri = adap->bus_recovery_info; in i2c_gpio_init_generic_recovery()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-thunderx-pcidrv.c213 i2c->adap.bus_recovery_info = &octeon_i2c_recovery_info; in thunder_i2c_probe_pci()
H A Di2c-octeon-platdrv.c240 i2c->adap.bus_recovery_info = &octeon_i2c_recovery_info; in octeon_i2c_probe()
H A Di2c-davinci.c849 adap->bus_recovery_info = &davinci_i2c_scl_recovery_info; in davinci_i2c_probe()
852 adap->bus_recovery_info = rinfo; in davinci_i2c_probe()
H A Di2c-at91-master.c842 dev->adapter.bus_recovery_info = rinfo; in at91_init_twi_recovery_gpio()
877 dev->adapter.bus_recovery_info = rinfo; in at91_init_twi_recovery_info()
H A Di2c-uniphier.c357 priv->adap.bus_recovery_info = &uniphier_i2c_bus_recovery_info; in uniphier_i2c_probe()
H A Di2c-cadence.c860 if (id->adap.bus_recovery_info) in cdns_i2c_master_xfer()
1308 id->adap.bus_recovery_info = &id->rinfo; in cdns_i2c_probe()
H A Di2c-uniphier-f.c563 priv->adap.bus_recovery_info = &uniphier_fi2c_bus_recovery_info; in uniphier_fi2c_probe()
H A Di2c-imx.c1259 if (!atomic && i2c_imx->adapter.bus_recovery_info) { in i2c_imx_xfer_common()
1430 i2c_imx->adapter.bus_recovery_info = rinfo; in i2c_imx_init_recovery_info()
H A Di2c-fsi.c722 port->adapter.bus_recovery_info = &fsi_i2c_bus_recovery_info; in fsi_i2c_probe()
H A Di2c-st.c861 adap->bus_recovery_info = &st_i2c_recovery_info; in st_i2c_probe()
H A Di2c-mpc.c878 i2c->adap.bus_recovery_info = &fsl_i2c_recovery_info; in fsl_i2c_probe()
H A Di2c-axxia.c789 idev->adapter.bus_recovery_info = &axxia_i2c_recovery_info; in axxia_i2c_probe()
H A Di2c-mv64xxx.c954 drv_data->adapter.bus_recovery_info = rinfo; in mv64xxx_i2c_init_recovery_info()
H A Di2c-designware-master.c986 adap->bus_recovery_info = rinfo; in i2c_dw_init_recovery_info()
H A Di2c-rcar.c1084 adap->bus_recovery_info = &rcar_i2c_bri; in rcar_i2c_probe()
H A Di2c-omap.c1496 adap->bus_recovery_info = &omap_i2c_bus_recovery_info; in omap_i2c_probe()
H A Di2c-pxa.c1406 i2c->adap.bus_recovery_info = bri; in i2c_pxa_init_recovery()
H A Di2c-tegra.c1831 i2c_dev->adapter.bus_recovery_info = &tegra_i2c_recovery_info; in tegra_i2c_probe()
H A Di2c-npcm7xx.c1790 _adap->bus_recovery_info = rinfo; in npcm_i2c_recovery_init()
/openbmc/linux/Documentation/i2c/
H A Dgpio-fault-injection.rst38 core (see 'struct bus_recovery_info'). However, the bus recovery will not
/openbmc/linux/include/linux/
H A Di2c.h765 struct i2c_bus_recovery_info *bus_recovery_info; member