Searched refs:ulr (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/gpio/ |
D | gpiolib-cdev.c | 1634 struct gpio_v2_line_request ulr; in linereq_create() local 1642 if (copy_from_user(&ulr, ip, sizeof(ulr))) in linereq_create() 1645 if ((ulr.num_lines == 0) || (ulr.num_lines > GPIO_V2_LINES_MAX)) in linereq_create() 1648 if (memchr_inv(ulr.padding, 0, sizeof(ulr.padding))) in linereq_create() 1651 lc = &ulr.config; in linereq_create() 1652 ret = gpio_v2_line_config_validate(lc, ulr.num_lines); in linereq_create() 1656 lr = kzalloc(struct_size(lr, lines, ulr.num_lines), GFP_KERNEL); in linereq_create() 1662 for (i = 0; i < ulr.num_lines; i++) { in linereq_create() 1668 if (ulr.consumer[0] != '\0') { in linereq_create() 1670 lr->label = kstrndup(ulr.consumer, sizeof(ulr.consumer) - 1, in linereq_create() [all …]
|