Debian Codegraph @

util/inteltool/gpio_names/gpio_groups.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #ifndef GPIO_NAMES_GPIO_GROUPS_H
4 #define GPIO_NAMES_GPIO_GROUPS_H
5
6 struct gpio_group {
7 const char *display;
8 size_t pad_count;
9 size_t func_count;
10 /*
11 * This field is necessary for EBG, since the pad configuration registers
12 * within a community are no longer contiguous.
13 */
14 uint32_t pad_offset;
15 const char *const *pad_names; /* indexed by 'pad * func_count + func' */
16 };
17
18 struct gpio_community {
19 const char *name;
20 uint8_t pcr_port_id;
21 size_t group_count;
22 const struct gpio_group *const *groups;
23 };
24
25 #endif