Searched refs:consumer_label (Results 1 - 3 of 3) sorted by relevance

/linux-master/include/uapi/linux/
H A Dgpio.h404 * @consumer_label: a desired consumer label for the selected GPIO line(s)
418 char consumer_label[GPIO_MAX_NAME_SIZE]; member in struct:gpiohandle_request
469 * @consumer_label: a desired consumer label for the selected GPIO line(s)
481 char consumer_label[GPIO_MAX_NAME_SIZE]; member in struct:gpioevent_request
/linux-master/tools/testing/selftests/gpio/
H A Dgpio-mockup-cdev.c69 strcpy(req.consumer_label, CONSUMER);
/linux-master/drivers/gpio/
H A Dgpiolib-cdev.c318 if (handlereq.consumer_label[0] != '\0') {
319 /* label is only initialized if consumer_label is set */
320 lh->label = kstrndup(handlereq.consumer_label,
321 sizeof(handlereq.consumer_label) - 1,
2187 if (eventreq.consumer_label[0] != '\0') {
2188 /* label is only initialized if consumer_label is set */
2189 le->label = kstrndup(eventreq.consumer_label,
2190 sizeof(eventreq.consumer_label) - 1,

Completed in 130 milliseconds