Home
last modified time | relevance | path

Searched refs:sda_gpiod (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-davinci.c870 rinfo->sda_gpiod = devm_gpiod_get(&pdev->dev, "sda", GPIOD_IN); in davinci_i2c_probe()
871 if (IS_ERR(rinfo->sda_gpiod)) { in davinci_i2c_probe()
872 r = PTR_ERR(rinfo->sda_gpiod); in davinci_i2c_probe()
Di2c-pxa.c1307 gpiod_set_value(i2c->recovery.sda_gpiod, ibmr & IBMR_SDAS); in i2c_pxa_prepare_recovery()
1389 bri->sda_gpiod = devm_gpiod_get(dev, "sda", GPIOD_OUT_HIGH_OPEN_DRAIN); in i2c_pxa_init_recovery()
1395 if (bri->sda_gpiod == ERR_PTR(-EPROBE_DEFER)) in i2c_pxa_init_recovery()
1398 if (IS_ERR(bri->sda_gpiod)) { in i2c_pxa_init_recovery()
1400 bri->sda_gpiod); in i2c_pxa_init_recovery()
Di2c-imx.c1110 rinfo->sda_gpiod = devm_gpiod_get(&pdev->dev, "sda", GPIOD_IN); in i2c_imx_init_recovery_info()
1113 if (PTR_ERR(rinfo->sda_gpiod) == -EPROBE_DEFER || in i2c_imx_init_recovery_info()
1116 } else if (IS_ERR(rinfo->sda_gpiod) || in i2c_imx_init_recovery_info()
1125 rinfo->sda_gpiod ? ",sda" : ""); in i2c_imx_init_recovery_info()
Di2c-designware-master.c729 rinfo->sda_gpiod = gpio; in i2c_dw_init_recovery_info()
737 rinfo->sda_gpiod ? ",sda" : ""); in i2c_dw_init_recovery_info()
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-base.c147 return gpiod_get_value_cansleep(adap->bus_recovery_info->sda_gpiod); in get_sda_gpio_value()
152 gpiod_set_value_cansleep(adap->bus_recovery_info->sda_gpiod, val); in set_sda_gpio_value()
344 if (!bri->sda_gpiod) { in i2c_gpio_init_generic_recovery()
362 bri->sda_gpiod = gpiod; in i2c_gpio_init_generic_recovery()
399 if (bri->sda_gpiod) { in i2c_init_recovery()
402 if (gpiod_get_direction(bri->sda_gpiod) == 0) in i2c_init_recovery()
/kernel/linux/linux-5.10/include/linux/
Di2c.h632 struct gpio_desc *sda_gpiod; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0022_linux_drivers_i2c.patch1546 + rinfo->sda_gpiod = devm_gpiod_get(&pdev->dev, "sda", GPIOD_IN);
1549 + if (PTR_ERR(rinfo->sda_gpiod) == -EPROBE_DEFER ||
1552 + } else if (IS_ERR(rinfo->sda_gpiod) ||
1561 + rinfo->sda_gpiod ? ",sda" : "");