Home
last modified time | relevance | path

Searched refs:enums (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/Documentation/sphinx/
Dparse-headers.pl27 my %enums;
101 $enums{$s} = "enum :c:type:`$s`\\ ";
165 delete $enums{$1} if (exists($enums{$1}));
216 $enums{$old} = $new if (exists($enums{$old}));
231 print Data::Dumper->Dump([\%enums], [qw(*enums)]) if (%enums);
290 foreach my $r (keys %enums) {
291 my $s = $enums{$r};
/linux-6.12.1/Documentation/userspace-api/netlink/
Dc-code-gen.rst36 ``max-by-define`` selects if max values for enums are defined as a
59 (which are enabled by default for attribute enums).
66 Attribute enums are traditionally unnamed in netlink headers.
76 Attribute enums end with two special values ``__$pfx-MAX`` and ``$pfx-MAX``
91 Similarly to attribute enums operation enums end with special count and max
Dspecs.rst208 entry (unlike enums in definitions which start from ``0``) because
/linux-6.12.1/tools/bpf/bpftool/
Dbtf_dumper.c151 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-6.12.1/drivers/gpu/drm/msm/registers/
Dgen_header.py72 elif not self.type in builtin_types and not self.type in parser.enums:
442 self.enums = {}
498 varset = self.enums[attrs["varset"]]
651 self.current_varset = self.enums[attrs["varset"]]
657 self.enums[attrs["name"]] = self.current_enum
673 index_type = self.enums[attrs["index"]] if "index" in attrs else None
756 enums = []
761 enums.append(e)
767 for e in enums + bitsets + regs:
/linux-6.12.1/drivers/counter/
Dcounter-sysfs.c222 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-6.12.1/arch/hexagon/
DMakefile11 KBUILD_CFLAGS += -fno-short-enums
/linux-6.12.1/tools/net/sunrpc/xdrgen/
Dxdr_ast.py18 enums = set() variable
297 if name in enums:
323 enums.add(enum_name)
/linux-6.12.1/Documentation/userspace-api/media/
Dca.h.rst.exceptions20 # some typedefs should point to struct/enums
Ddmx.h.rst.exceptions50 # some typedefs should point to struct/enums
Dfrontend.h.rst.exceptions41 # Those enums are defined at the frontend.h header, and not externally
/linux-6.12.1/Documentation/core-api/
Dnetlink.rst12 Attribute enums
20 Message enums
/linux-6.12.1/Documentation/doc-guide/
Dparse-headers.rst26 enums and defines and create cross-references to a Sphinx book.
73 enums and enum symbols and create cross-references for all of them.
Dkernel-doc.rst190 ``enum`` to describe unions or enums. ``member`` is used to mean struct
200 Members of structs, unions and enums should be documented the same way
466 kernel-doc for functions, structures, unions, enums, or typedefs. This could be
/linux-6.12.1/include/linux/
Dcounter.h484 const u32 *enums; member
492 .enums = (_enums), \
/linux-6.12.1/Documentation/userspace-api/media/dvb/
Ddvbapi.rst24 - digital TV data types (enums, structs, defines, etc);
/linux-6.12.1/drivers/comedi/drivers/ni_routing/
DREADME19 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-6.12.1/kernel/bpf/
Dbtf.c4267 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_check_meta() local
4274 meta_needed = nr_enums * sizeof(*enums); in btf_enum_check_meta()
4298 if (!btf_name_offset_valid(btf, enums[i].name_off)) { in btf_enum_check_meta()
4300 enums[i].name_off); in btf_enum_check_meta()
4305 if (!enums[i].name_off || in btf_enum_check_meta()
4306 !btf_name_valid_identifier(btf, enums[i].name_off)) { in btf_enum_check_meta()
4315 __btf_name_by_offset(btf, enums[i].name_off), in btf_enum_check_meta()
4316 enums[i].val); in btf_enum_check_meta()
4332 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_show() local
4344 if (v != enums[i].val) in btf_enum_show()
[all …]
/linux-6.12.1/drivers/pinctrl/renesas/
Dcore.c848 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-6.12.1/Documentation/userspace-api/gpio/
Dchardev.rst94 This section contains the structs and enums that are referenced by the API v2,
/linux-6.12.1/Documentation/trace/rv/
Dda_monitor_synthesis.rst145 [2] dot2k appends the monitor's name suffix to the events enums to
/linux-6.12.1/Documentation/filesystems/
Dmount_api.rst591 const struct fs_parameter_enum *enums;
606 .enums = afs_param_enums,
704 const struct fs_parameter_enum *enums;
/linux-6.12.1/tools/sched_ext/
DREADME.md218 …FLAG_BUILTIN': bpftool generated vmlinux.h is missing high bits for 64bit enums, upgrade clang and…
/linux-6.12.1/Documentation/driver-api/
Dioctl.rst187 * Bitfields and enums generally work as one would expect them to,
/linux-6.12.1/Documentation/sound/designs/
Dcompress-offload.rst72 have existing enums/structures for each compressed format. This new

12