Lines Matching defs:config
111 * @config: The new config for requested gpio. Reference
112 * "linux/gpio.h" for config details.
127 struct gpio_v2_line_config *config,
152 req.config = *config;
300 struct gpio_v2_line_config config;
303 memset(&config, 0, sizeof(config));
304 config.flags = GPIO_V2_LINE_FLAG_INPUT;
306 &config, CONSUMER);
356 struct gpio_v2_line_config config;
358 memset(&config, 0, sizeof(config));
359 config.flags = GPIO_V2_LINE_FLAG_OUTPUT;
360 config.num_attrs = 1;
361 config.attrs[0].attr.id = GPIO_V2_LINE_ATTR_ID_OUTPUT_VALUES;
363 gpiotools_set_bit(&config.attrs[0].mask, i);
364 gpiotools_assign_bit(&config.attrs[0].attr.values,
368 &config, CONSUMER);