Searched refs:lineinfo (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/gpio/ |
D | gpiolib-cdev.c | 2402 struct gpioline_info lineinfo; in lineinfo_get_v1() local 2405 if (copy_from_user(&lineinfo, ip, sizeof(lineinfo))) in lineinfo_get_v1() 2409 desc = gpiochip_get_desc(cdev->gdev->chip, lineinfo.line_offset); in lineinfo_get_v1() 2417 if (test_and_set_bit(lineinfo.line_offset, cdev->watched_lines)) in lineinfo_get_v1() 2422 gpio_v2_line_info_to_v1(&lineinfo_v2, &lineinfo); in lineinfo_get_v1() 2424 if (copy_to_user(ip, &lineinfo, sizeof(lineinfo))) { in lineinfo_get_v1() 2426 clear_bit(lineinfo.line_offset, cdev->watched_lines); in lineinfo_get_v1() 2438 struct gpio_v2_line_info lineinfo; in lineinfo_get() local 2440 if (copy_from_user(&lineinfo, ip, sizeof(lineinfo))) in lineinfo_get() 2443 if (memchr_inv(lineinfo.padding, 0, sizeof(lineinfo.padding))) in lineinfo_get() [all …]
|