Lines Matching defs:handlereq
344 struct gpiohandle_request handlereq;
350 if (copy_from_user(&handlereq, ip, sizeof(handlereq)))
352 if ((handlereq.lines == 0) || (handlereq.lines > GPIOHANDLES_MAX))
355 lflags = handlereq.flags;
366 if (handlereq.consumer_label[0] != '\0') {
368 lh->label = kstrndup(handlereq.consumer_label,
369 sizeof(handlereq.consumer_label) - 1,
377 lh->num_descs = handlereq.lines;
380 for (i = 0; i < handlereq.lines; i++) {
381 u32 offset = handlereq.lineoffsets[i];
393 linehandle_flags_to_desc_flags(handlereq.flags, &desc->flags);
404 int val = !!handlereq.default_values[i];
436 handlereq.fd = fd;
437 if (copy_to_user(ip, &handlereq, sizeof(handlereq))) {