| /linux/Documentation/userspace-api/netlink/ |
| H A D | c-code-gen.rst | 36 ``max-by-define`` selects if max values for enums are defined as a 59 (which are enabled by default for attribute enums). These max 68 Attribute enums are traditionally unnamed in netlink headers. 78 Attribute enums end with two special values ``__$pfx-MAX`` and ``$pfx-MAX`` 93 Similarly to attribute enums operation enums end with special count and max
|
| H A D | specs.rst | 208 entry (unlike enums in definitions which start from ``0``) because
|
| /linux/tools/bpf/bpftool/ |
| H A D | btf_dumper.c | 151 const struct btf_enum *enums = btf_enum(t); in btf_dumper_enum() local 173 if (value == enums[i].val) { in btf_dumper_enum() 176 enums[i].name_off)); in btf_dumper_enum() 189 const struct btf_enum64 *enums = btf_enum64(t); in btf_dumper_enum64() local 199 if (val_lo32 == enums[i].val_lo32 && val_hi32 == enums[i].val_hi32) { in btf_dumper_enum64() 202 enums[i].name_off)); in btf_dumper_enum64()
|
| /linux/drivers/gpu/drm/msm/registers/ |
| H A D | gen_header.py | 72 elif self.type not in builtin_types and self.type not in parser.enums: 478 self.enums = {} 531 varset = self.enums[attrs["varset"]] 689 self.current_varset = self.enums[attrs["varset"]] 695 self.enums[attrs["name"]] = self.current_enum 711 index_type = self.enums[attrs["index"]] if "index" in attrs else None 798 enums = [] 803 enums.append(e) 809 for e in enums + bitsets + regs:
|
| /linux/drivers/counter/ |
| H A D | counter-sysfs.c | 222 static int counter_find_enum(u32 *const enum_item, const u32 *const enums, in counter_find_enum() argument 229 *enum_item = enums[index]; in counter_find_enum() 265 err = counter_find_enum(&data, avail->enums, avail->num_items, in counter_comp_u32_store() 269 err = counter_find_enum(&data, avail->enums, avail->num_items, in counter_comp_u32_store() 397 err = counter_find_enum(&data, element->avail->enums, in counter_comp_array_u32_store() 479 static ssize_t enums_available_show(const u32 *const enums, in enums_available_show() argument 487 len += sysfs_emit_at(buf, len, "%s\n", strs[enums[index]]); in enums_available_show() 525 return enums_available_show(avail->enums, avail->num_items, in counter_comp_available_show()
|
| /linux/arch/hexagon/ |
| H A D | Makefile | 11 KBUILD_CFLAGS += -fno-short-enums
|
| /linux/tools/net/sunrpc/xdrgen/templates/C/enum/decoder/ |
| H A D | enum.j2 | 18 /* Compiler may optimize to a range check for dense enums */
|
| H A D | enum_be.j2 | 20 /* Compiler may optimize to a range check for dense enums */
|
| /linux/Documentation/core-api/ |
| H A D | netlink.rst | 12 Attribute enums 20 Message enums
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | ca.h.rst.exceptions | 20 # some typedefs should point to struct/enums
|
| H A D | dvbapi.rst | 24 - digital TV data types (enums, structs, defines, etc);
|
| H A D | frontend.h.rst.exceptions | 42 # Those enums are defined at the frontend.h header, and not externally
|
| /linux/Documentation/doc-guide/ |
| H A D | parse-headers.rst | 25 enums and defines and create cross-references to a Sphinx book. 133 for symbols defined within enums;
|
| H A D | kernel-doc.rst | 194 ``enum`` to describe unions or enums. ``member`` is used to mean ``struct`` 204 Members of structs, unions and enums should be documented the same way 490 kernel-doc for functions, structures, unions, enums, typedefs or variables.
|
| /linux/include/linux/ |
| H A D | counter.h | 484 const u32 *enums; member 492 .enums = (_enums), \
|
| /linux/drivers/comedi/drivers/ni_routing/ |
| H A D | README | 19 gain any sense of intuition of which values, or even enums one should use 21 name enums such that a user might know which enums should be used for
|
| /linux/drivers/pinctrl/renesas/ |
| H A D | core.c | 848 const u16 *enums, unsigned int n) in sh_pfc_check_reg_enums() argument 853 if (enums[i] && sh_pfc_check_enum(drvname, enums[i])) in sh_pfc_check_reg_enums() 855 enums[i]); in sh_pfc_check_reg_enums()
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 4441 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_check_meta() local 4448 meta_needed = nr_enums * sizeof(*enums); in btf_enum_check_meta() 4472 if (!btf_name_offset_valid(btf, enums[i].name_off)) { in btf_enum_check_meta() 4474 enums[i].name_off); in btf_enum_check_meta() 4479 if (!enums[i].name_off || in btf_enum_check_meta() 4480 !btf_name_valid_identifier(btf, enums[i].name_off)) { in btf_enum_check_meta() 4489 __btf_name_by_offset(btf, enums[i].name_off), in btf_enum_check_meta() 4490 enums[i].val); in btf_enum_check_meta() 4506 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_show() local 4518 if (v != enums[i].val) in btf_enum_show() [all …]
|
| /linux/Documentation/userspace-api/gpio/ |
| H A D | chardev.rst | 94 This section contains the structs and enums that are referenced by the API v2,
|
| /linux/Documentation/translations/zh_CN/ |
| H A D | how-to.rst | 98 structs, enums,...). This is known Sphinx bug. For more details, see:
|
| /linux/Documentation/filesystems/ |
| H A D | mount_api.rst | 597 const struct fs_parameter_enum *enums; 612 .enums = afs_param_enums, 709 const struct fs_parameter_enum *enums;
|
| /linux/Documentation/trace/rv/ |
| H A D | monitor_synthesis.rst | 267 [2] rvgen appends the monitor's name suffix to the events enums to
|
| /linux/tools/sched_ext/ |
| H A D | README.md | 211 …FLAG_BUILTIN': bpftool generated vmlinux.h is missing high bits for 64bit enums, upgrade clang and…
|
| /linux/Documentation/driver-api/ |
| H A D | ioctl.rst | 187 * Bitfields and enums generally work as one would expect them to,
|
| /linux/Documentation/sound/designs/ |
| H A D | compress-offload.rst | 72 have existing enums/structures for each compressed format. This new
|