Lines Matching refs:handlereq
350 struct gpiohandle_request handlereq; in linehandle_create() local
356 if (copy_from_user(&handlereq, ip, sizeof(handlereq))) in linehandle_create()
358 if ((handlereq.lines == 0) || (handlereq.lines > GPIOHANDLES_MAX)) in linehandle_create()
361 lflags = handlereq.flags; in linehandle_create()
372 if (handlereq.consumer_label[0] != '\0') { in linehandle_create()
374 lh->label = kstrndup(handlereq.consumer_label, in linehandle_create()
375 sizeof(handlereq.consumer_label) - 1, in linehandle_create()
383 lh->num_descs = handlereq.lines; in linehandle_create()
386 for (i = 0; i < handlereq.lines; i++) { in linehandle_create()
387 u32 offset = handlereq.lineoffsets[i]; in linehandle_create()
399 linehandle_flags_to_desc_flags(handlereq.flags, &desc->flags); in linehandle_create()
410 int val = !!handlereq.default_values[i]; in linehandle_create()
442 handlereq.fd = fd; in linehandle_create()
443 if (copy_to_user(ip, &handlereq, sizeof(handlereq))) { in linehandle_create()