Lines Matching refs:values
174 * @values: The array of values want to set.
179 int gpiotools_set_values(const int fd, struct gpio_v2_line_values *values)
183 ret = ioctl(fd, GPIO_V2_LINE_SET_VALUES_IOCTL, values);
198 * @values: The array of values get from hardware.
203 int gpiotools_get_values(const int fd, struct gpio_v2_line_values *values)
207 ret = ioctl(fd, GPIO_V2_LINE_GET_VALUES_IOCTL, values);
283 * gpiotools_gets(): Get values from specific lines.
289 * @values: The array of values get from gpiochip.
295 unsigned int num_lines, unsigned int *values)
316 values[i] = gpiotools_test_bit(lv.bits, i);
340 * gpiotools_sets(): Set values to specific lines.
346 * @value: The array of values set to gpiochip, must be
353 unsigned int num_lines, unsigned int *values)
364 gpiotools_assign_bit(&config.attrs[0].attr.values,
365 i, values[i]);