Searched refs:lineinfo (Results 1 – 1 of 1) sorted by relevance
913 struct gpioline_info lineinfo; in gpio_ioctl() local916 if (copy_from_user(&lineinfo, ip, sizeof(lineinfo))) in gpio_ioctl()918 if (lineinfo.line_offset >= gdev->ngpio) in gpio_ioctl()921 desc = &gdev->descs[lineinfo.line_offset]; in gpio_ioctl()923 strncpy(lineinfo.name, desc->name, in gpio_ioctl()924 sizeof(lineinfo.name)); in gpio_ioctl()925 lineinfo.name[sizeof(lineinfo.name)-1] = '\0'; in gpio_ioctl()927 lineinfo.name[0] = '\0'; in gpio_ioctl()930 strncpy(lineinfo.consumer, desc->label, in gpio_ioctl()931 sizeof(lineinfo.consumer)); in gpio_ioctl()[all …]