Lines Matching defs:value
134 int value;
136 value = gpio->read(gpio->client);
137 return (value < 0) ? value : !!(value & (1 << offset));
144 int value = gpio->read(gpio->client);
146 if (value < 0)
147 return value;
150 *bits |= value & *mask;
155 static int pcf857x_output(struct gpio_chip *chip, unsigned int offset, int value)
162 if (value)
172 static void pcf857x_set(struct gpio_chip *chip, unsigned int offset, int value)
174 pcf857x_output(chip, offset, value);
356 * value ... without knowing the last value written since the chip
361 * may cause transient glitching since it can't know the last value