Lines Matching defs:handlereq
290 struct gpiohandle_request handlereq;
296 if (copy_from_user(&handlereq, ip, sizeof(handlereq)))
298 if ((handlereq.lines == 0) || (handlereq.lines > GPIOHANDLES_MAX))
301 lflags = handlereq.flags;
313 if (handlereq.consumer_label[0] != '\0') {
315 lh->label = kstrndup(handlereq.consumer_label,
316 sizeof(handlereq.consumer_label) - 1,
324 lh->num_descs = handlereq.lines;
327 for (i = 0; i < handlereq.lines; i++) {
328 u32 offset = handlereq.lineoffsets[i];
340 linehandle_flags_to_desc_flags(handlereq.flags, &desc->flags);
351 int val = !!handlereq.default_values[i];
384 handlereq.fd = fd;
385 if (copy_to_user(ip, &handlereq, sizeof(handlereq))) {