Lines Matching defs:state
12 * __lsdc_gpio_i2c_set - set the state of a gpio pin indicated by mask
14 * @state: "0" for low, "1" for high
16 static void __lsdc_gpio_i2c_set(struct lsdc_i2c * const li2c, int mask, int state)
24 if (state) {
65 /* Then get level state from this pin */
73 static void lsdc_gpio_i2c_set_sda(void *i2c, int state)
76 /* set state on the li2c->sda pin */
77 return __lsdc_gpio_i2c_set(li2c, li2c->sda, state);
80 static void lsdc_gpio_i2c_set_scl(void *i2c, int state)
83 /* set state on the li2c->scl pin */
84 return __lsdc_gpio_i2c_set(li2c, li2c->scl, state);