Lines Matching full:sda
22 struct gpio_desc *sda; member
36 * Toggle SDA by changing the output value of the pin. This is only
44 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val()
64 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda()
104 WIRE_ATTRIBUTE(sda);
139 /* ADDR (7 bit) + RD (1 bit) + Client ACK, keep SDA hi (1 bit) */ in fops_incomplete_addr_phase_set()
158 /* 0x00 (8 bit) + Client ACK, keep SDA hi (1 bit) */ in fops_incomplete_write_byte_set()
222 * really started the transfer. Interrupt on falling SDA did only in fops_lose_arbitration_set()
289 debugfs_create_file_unsafe("sda", 0600, priv->debug_dir, priv, &fops_sda); in i2c_gpio_fault_injector_init()
315 device_property_read_bool(dev, "i2c-gpio,sda-open-drain"); in i2c_gpio_get_properties()
321 device_property_read_bool(dev, "i2c-gpio,sda-output-only"); in i2c_gpio_get_properties()
323 device_property_read_bool(dev, "i2c-gpio,sda-has-no-pullup"); in i2c_gpio_get_properties()
396 * If the SCL/SDA lines are marked "open drain" by platform data or in i2c_gpio_probe()
406 priv->sda = i2c_gpio_get_desc(dev, "sda", 0, gflags); in i2c_gpio_probe()
407 if (IS_ERR(priv->sda)) in i2c_gpio_probe()
408 return PTR_ERR(priv->sda); in i2c_gpio_probe()
418 if (gpiod_cansleep(priv->sda) || gpiod_cansleep(priv->scl)) in i2c_gpio_probe()
468 dev_info(dev, "using lines %u (SDA) and %u (SCL%s)\n", in i2c_gpio_probe()
469 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()