Searched refs:reqv2 (Results 1 – 1 of 1) sorted by relevance
194 struct gpio_v2_line_request reqv2; in linuxspi_open() local196 memset(&reqv2, 0, sizeof(reqv2)); in linuxspi_open()197 reqv2.offsets[0] = pgm->pinno[PIN_AVR_RESET] & ~PIN_INVERSE; in linuxspi_open()198 strncpy(reqv2.consumer, progname, sizeof(reqv2.consumer) - 1); in linuxspi_open()199 reqv2.config.flags = GPIO_V2_LINE_FLAG_OUTPUT; in linuxspi_open()200 reqv2.config.num_attrs = 1; in linuxspi_open()201 reqv2.config.attrs[0].attr.id = GPIO_V2_LINE_ATTR_ID_OUTPUT_VALUES; in linuxspi_open()203 reqv2.config.attrs[0].mask = 1; in linuxspi_open()204 reqv2.num_lines = 1; in linuxspi_open()206 ret = ioctl(fd_gpiochip, GPIO_V2_GET_LINE_IOCTL, &reqv2); in linuxspi_open()[all …]