Lines Matching defs:values
106 * @values: The array of values want to set.
111 int gpiotools_set_values(const int fd, struct gpio_v2_line_values *values)
115 ret = ioctl(fd, GPIO_V2_LINE_SET_VALUES_IOCTL, values);
130 * @values: The array of values get from hardware.
135 int gpiotools_get_values(const int fd, struct gpio_v2_line_values *values)
139 ret = ioctl(fd, GPIO_V2_LINE_GET_VALUES_IOCTL, values);
194 * gpiotools_gets() - Get values from specific lines.
200 * @values: The array of values get from gpiochip.
206 unsigned int num_lines, unsigned int *values)
227 values[i] = gpiotools_test_bit(lv.bits, i);
251 * gpiotools_sets() - Set values to specific lines.
257 * @values: The array of values set to gpiochip, must be
264 unsigned int num_lines, unsigned int *values)
275 gpiotools_assign_bit(&config.attrs[0].attr.values,
276 i, values[i]);