Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpio/
Dgpiolib-cdev.c300 struct gpiohandle_request handlereq; in linehandle_create() local
306 if (copy_from_user(&handlereq, ip, sizeof(handlereq))) in linehandle_create()
308 if ((handlereq.lines == 0) || (handlereq.lines > GPIOHANDLES_MAX)) in linehandle_create()
311 lflags = handlereq.flags; in linehandle_create()
322 if (handlereq.consumer_label[0] != '\0') { in linehandle_create()
324 lh->label = kstrndup(handlereq.consumer_label, in linehandle_create()
325 sizeof(handlereq.consumer_label) - 1, in linehandle_create()
333 lh->num_descs = handlereq.lines; in linehandle_create()
336 for (i = 0; i < handlereq.lines; i++) { in linehandle_create()
337 u32 offset = handlereq.lineoffsets[i]; in linehandle_create()
[all …]