Searched refs:sda_gpiod (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-davinci.c | 859 rinfo->sda_gpiod = devm_gpiod_get(&pdev->dev, "sda", GPIOD_IN); in davinci_i2c_probe() 860 if (IS_ERR(rinfo->sda_gpiod)) { in davinci_i2c_probe() 861 r = PTR_ERR(rinfo->sda_gpiod); in davinci_i2c_probe()
|
H A D | i2c-pxa.c | 1305 gpiod_set_value(i2c->recovery.sda_gpiod, ibmr & IBMR_SDAS); in i2c_pxa_prepare_recovery() 1387 bri->sda_gpiod = devm_gpiod_get(dev, "sda", GPIOD_OUT_HIGH_OPEN_DRAIN); in i2c_pxa_init_recovery() 1393 if (bri->sda_gpiod == ERR_PTR(-EPROBE_DEFER)) in i2c_pxa_init_recovery() 1396 if (IS_ERR(bri->sda_gpiod)) { in i2c_pxa_init_recovery() 1398 bri->sda_gpiod); in i2c_pxa_init_recovery()
|
H A D | i2c-imx.c | 1410 rinfo->sda_gpiod = devm_gpiod_get(&pdev->dev, "sda", GPIOD_IN); in i2c_imx_init_recovery_info() 1413 if (PTR_ERR(rinfo->sda_gpiod) == -EPROBE_DEFER || in i2c_imx_init_recovery_info() 1416 } else if (IS_ERR(rinfo->sda_gpiod) || in i2c_imx_init_recovery_info() 1425 rinfo->sda_gpiod ? ",sda" : ""); in i2c_imx_init_recovery_info()
|
H A D | i2c-designware-master.c | 970 rinfo->sda_gpiod = gpio; in i2c_dw_init_recovery_info() 989 rinfo->sda_gpiod ? ",sda" : ""); in i2c_dw_init_recovery_info()
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-core-base.c | 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() 390 if (!bri->sda_gpiod) { in i2c_gpio_init_generic_recovery() 408 bri->sda_gpiod = gpiod; in i2c_gpio_init_generic_recovery() 446 if (bri->sda_gpiod) { in i2c_init_recovery() 449 if (gpiod_get_direction(bri->sda_gpiod) == 0) in i2c_init_recovery()
|
/openbmc/linux/include/linux/ |
H A D | i2c.h | 674 struct gpio_desc *sda_gpiod; member
|