Lines Matching refs:linfo
132 struct gpio_v2_line_info linfo; in list_device() local
134 memset(&linfo, 0, sizeof(linfo)); in list_device()
135 linfo.offset = i; in list_device()
137 ret = ioctl(fd, GPIO_V2_GET_LINEINFO_IOCTL, &linfo); in list_device()
143 fprintf(stdout, "\tline %2d:", linfo.offset); in list_device()
144 if (linfo.name[0]) in list_device()
145 fprintf(stdout, " \"%s\"", linfo.name); in list_device()
148 if (linfo.consumer[0]) in list_device()
149 fprintf(stdout, " \"%s\"", linfo.consumer); in list_device()
152 if (linfo.flags) { in list_device()
154 print_attributes(&linfo); in list_device()