Lines Matching full:values
106 * @values: The array of values want to set.
111 int gpiotools_set_values(const int fd, struct gpio_v2_line_values *values) in gpiotools_set_values() argument
115 ret = ioctl(fd, GPIO_V2_LINE_SET_VALUES_IOCTL, values); in gpiotools_set_values()
130 * @values: The array of values get from hardware.
135 int gpiotools_get_values(const int fd, struct gpio_v2_line_values *values) in gpiotools_get_values() argument
139 ret = ioctl(fd, GPIO_V2_LINE_GET_VALUES_IOCTL, values); in gpiotools_get_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) in gpiotools_gets() argument
227 values[i] = gpiotools_test_bit(lv.bits, i); in gpiotools_gets()
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) in gpiotools_sets() argument
275 gpiotools_assign_bit(&config.attrs[0].attr.values, in gpiotools_sets()
276 i, values[i]); in gpiotools_sets()