Home
last modified time | relevance | path

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

/linux/Documentation/sphinx/
H A 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/tools/bpf/bpftool/
H A 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/drivers/counter/
H A 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/arch/hexagon/
H A DMakefile11 KBUILD_CFLAGS += -fno-short-enums
/linux/Documentation/core-api/
H A Dnetlink.rst12 Attribute enums
20 Message enums
/linux/Documentation/userspace-api/media/
H A Dca.h.rst.exceptions20 # some typedefs should point to struct/enums
H A Ddmx.h.rst.exceptions50 # some typedefs should point to struct/enums
H A Dfrontend.h.rst.exceptions41 # Those enums are defined at the frontend.h header, and not externally
/linux/Documentation/doc-guide/
H A 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.
/linux/drivers/comedi/drivers/ni_routing/
H A 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/Documentation/userspace-api/media/dvb/
H A Ddvbapi.rst24 - digital TV data types (enums, structs, defines, etc);
/linux/kernel/bpf/
H A Dbtf.c4286 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_check_meta() local
4293 meta_needed = nr_enums * sizeof(*enums); in btf_enum_check_meta()
4317 if (!btf_name_offset_valid(btf, enums[i].name_off)) { in btf_enum_check_meta()
4319 enums[i].name_off); in btf_enum_check_meta()
4324 if (!enums[i].name_off || in btf_enum_check_meta()
4325 !btf_name_valid_identifier(btf, enums[i].name_off)) { in btf_enum_check_meta()
4334 __btf_name_by_offset(btf, enums[i].name_off), in btf_enum_check_meta()
4335 enums[i].val); in btf_enum_check_meta()
4351 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_show() local
4363 if (v != enums[i].val) in btf_enum_show()
[all …]
/linux/drivers/pinctrl/renesas/
H A 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/Documentation/userspace-api/gpio/
H A Dchardev.rst94 This section contains the structs and enums that are referenced by the API v2,
/linux/Documentation/trace/rv/
H A Dda_monitor_synthesis.rst145 [2] dot2k appends the monitor's name suffix to the events enums to
/linux/tools/sched_ext/
H A DREADME.md218 …FLAG_BUILTIN': bpftool generated vmlinux.h is missing high bits for 64bit enums, upgrade clang and…
/linux/Documentation/driver-api/
H A Dioctl.rst187 * Bitfields and enums generally work as one would expect them to,
H A Ddpll.rst408 Configuration pre-defined enums
/linux/Documentation/sound/designs/
H A Dcompress-offload.rst72 have existing enums/structures for each compressed format. This new
/linux/Documentation/userspace-api/netlink/
H A Dspecs.rst208 entry (unlike enums in definitions which start from ``0``) because
/linux/Documentation/crypto/
H A Dasymmetric-keys.rst92 Three enums are defined there for representing public-key cryptography
/linux/Documentation/bpf/
H A Dllvm_reloc.rst335 * for enums:
/linux/Documentation/translations/sp_SP/process/
H A Dcoding-style.rst829 (enums) están en mayúsculas.
835 Se prefieren los enums cuando se definen varias constantes relacionadas.
/linux/Documentation/process/
H A Dcoding-style.rst795 Names of macros defining constants and labels in enums are capitalized.