Searched refs:ulr (Results 1 – 1 of 1) sorted by relevance
/drivers/gpio/ |
D | gpiolib-cdev.c | 1306 struct gpio_v2_line_request ulr; in linereq_create() local 1314 if (copy_from_user(&ulr, ip, sizeof(ulr))) in linereq_create() 1317 if ((ulr.num_lines == 0) || (ulr.num_lines > GPIO_V2_LINES_MAX)) in linereq_create() 1320 if (memchr_inv(ulr.padding, 0, sizeof(ulr.padding))) in linereq_create() 1323 lc = &ulr.config; in linereq_create() 1324 ret = gpio_v2_line_config_validate(lc, ulr.num_lines); in linereq_create() 1328 lr = kzalloc(struct_size(lr, lines, ulr.num_lines), GFP_KERNEL); in linereq_create() 1335 for (i = 0; i < ulr.num_lines; i++) { in linereq_create() 1341 if (ulr.consumer[0] != '\0') { in linereq_create() 1343 lr->label = kstrndup(ulr.consumer, sizeof(ulr.consumer) - 1, in linereq_create() [all …]
|