Home
last modified time | relevance | path

Searched refs:handlereq (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpiolib-cdev.c290 struct gpiohandle_request handlereq; in linehandle_create() local
296 if (copy_from_user(&handlereq, ip, sizeof(handlereq))) in linehandle_create()
298 if ((handlereq.lines == 0) || (handlereq.lines > GPIOHANDLES_MAX)) in linehandle_create()
301 lflags = handlereq.flags; in linehandle_create()
313 if (handlereq.consumer_label[0] != '\0') { in linehandle_create()
315 lh->label = kstrndup(handlereq.consumer_label, in linehandle_create()
316 sizeof(handlereq.consumer_label) - 1, in linehandle_create()
324 lh->num_descs = handlereq in linehandle_create()
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpiolib-cdev.c344 struct gpiohandle_request handlereq; in linehandle_create() local
350 if (copy_from_user(&handlereq, ip, sizeof(handlereq))) in linehandle_create()
352 if ((handlereq.lines == 0) || (handlereq.lines > GPIOHANDLES_MAX)) in linehandle_create()
355 lflags = handlereq.flags; in linehandle_create()
366 if (handlereq.consumer_label[0] != '\0') { in linehandle_create()
368 lh->label = kstrndup(handlereq.consumer_label, in linehandle_create()
369 sizeof(handlereq.consumer_label) - 1, in linehandle_create()
377 lh->num_descs = handlereq in linehandle_create()
[all...]

Completed in 4 milliseconds