lineinfo         1063 drivers/gpio/gpiolib.c 		struct gpioline_info lineinfo;
lineinfo         1066 drivers/gpio/gpiolib.c 		if (copy_from_user(&lineinfo, ip, sizeof(lineinfo)))
lineinfo         1068 drivers/gpio/gpiolib.c 		if (lineinfo.line_offset >= gdev->ngpio)
lineinfo         1071 drivers/gpio/gpiolib.c 		desc = &gdev->descs[lineinfo.line_offset];
lineinfo         1073 drivers/gpio/gpiolib.c 			strncpy(lineinfo.name, desc->name,
lineinfo         1074 drivers/gpio/gpiolib.c 				sizeof(lineinfo.name));
lineinfo         1075 drivers/gpio/gpiolib.c 			lineinfo.name[sizeof(lineinfo.name)-1] = '\0';
lineinfo         1077 drivers/gpio/gpiolib.c 			lineinfo.name[0] = '\0';
lineinfo         1080 drivers/gpio/gpiolib.c 			strncpy(lineinfo.consumer, desc->label,
lineinfo         1081 drivers/gpio/gpiolib.c 				sizeof(lineinfo.consumer));
lineinfo         1082 drivers/gpio/gpiolib.c 			lineinfo.consumer[sizeof(lineinfo.consumer)-1] = '\0';
lineinfo         1084 drivers/gpio/gpiolib.c 			lineinfo.consumer[0] = '\0';
lineinfo         1091 drivers/gpio/gpiolib.c 		lineinfo.flags = 0;
lineinfo         1097 drivers/gpio/gpiolib.c 		    !pinctrl_gpio_can_use_line(chip->base + lineinfo.line_offset))
lineinfo         1098 drivers/gpio/gpiolib.c 			lineinfo.flags |= GPIOLINE_FLAG_KERNEL;
lineinfo         1100 drivers/gpio/gpiolib.c 			lineinfo.flags |= GPIOLINE_FLAG_IS_OUT;
lineinfo         1102 drivers/gpio/gpiolib.c 			lineinfo.flags |= GPIOLINE_FLAG_ACTIVE_LOW;
lineinfo         1104 drivers/gpio/gpiolib.c 			lineinfo.flags |= (GPIOLINE_FLAG_OPEN_DRAIN |
lineinfo         1107 drivers/gpio/gpiolib.c 			lineinfo.flags |= (GPIOLINE_FLAG_OPEN_SOURCE |
lineinfo         1110 drivers/gpio/gpiolib.c 		if (copy_to_user(ip, &lineinfo, sizeof(lineinfo)))