Lines Matching full:sda
22 struct gpio_desc *sda; member
35 * Toggle SDA by changing the output value of the pin. This is only
43 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val()
63 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda()
102 WIRE_ATTRIBUTE(sda);
137 /* ADDR (7 bit) + RD (1 bit) + Client ACK, keep SDA hi (1 bit) */ in fops_incomplete_addr_phase_set()
156 /* 0x00 (8 bit) + Client ACK, keep SDA hi (1 bit) */ in fops_incomplete_write_byte_set()
220 * has really started the transfer. Interrupt on falling SDA did only in fops_lose_arbitration_set()
272 debugfs_create_file_unsafe("sda", 0600, priv->adap.debugfs, priv, &fops_sda); in i2c_gpio_fault_injector_init()
290 device_property_read_bool(dev, "i2c-gpio,sda-open-drain"); in i2c_gpio_get_properties()
296 device_property_read_bool(dev, "i2c-gpio,sda-output-only"); in i2c_gpio_get_properties()
298 device_property_read_bool(dev, "i2c-gpio,sda-has-no-pullup"); in i2c_gpio_get_properties()
371 * If the SCL/SDA lines are marked "open drain" by platform data or in i2c_gpio_probe()
381 priv->sda = i2c_gpio_get_desc(dev, "sda", 0, gflags); in i2c_gpio_probe()
382 if (IS_ERR(priv->sda)) in i2c_gpio_probe()
383 return PTR_ERR(priv->sda); in i2c_gpio_probe()
393 if (gpiod_cansleep(priv->sda) || gpiod_cansleep(priv->scl)) in i2c_gpio_probe()
443 dev_info(dev, "using lines %u (SDA) and %u (SCL%s)\n", in i2c_gpio_probe()
444 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()