Lines Matching refs:scl
23 struct gpio_desc *scl; member
57 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val()
71 return gpiod_get_value_cansleep(priv->scl); in i2c_gpio_getscl()
103 WIRE_ATTRIBUTE(scl);
170 int ret, irq = gpiod_to_irq(priv->scl); in i2c_gpio_fi_act_on_scl_irq()
177 ret = gpiod_direction_input(priv->scl); in i2c_gpio_fi_act_on_scl_irq()
192 ret = gpiod_direction_output(priv->scl, 1) ?: ret; in i2c_gpio_fi_act_on_scl_irq()
407 priv->scl = i2c_gpio_get_desc(dev, "scl", 1, gflags); in i2c_gpio_probe()
408 if (IS_ERR(priv->scl)) in i2c_gpio_probe()
409 return PTR_ERR(priv->scl); in i2c_gpio_probe()
411 if (gpiod_cansleep(priv->sda) || gpiod_cansleep(priv->scl)) in i2c_gpio_probe()
461 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()