Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/registers/
H A Dgen_header.py72 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 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/doc-guide/
H A Dparse-headers.rst25 enums and defines and create cross-references to a Sphinx book.
133 for symbols defined within enums;
/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);
H A Dfrontend.h.rst.exceptions42 # Those enums are defined at the frontend.h header, and not externally
/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/kernel/bpf/
H A Dbtf.c4432 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_check_meta() local
4439 meta_needed = nr_enums * sizeof(*enums); in btf_enum_check_meta()
4463 if (!btf_name_offset_valid(btf, enums[i].name_off)) { in btf_enum_check_meta()
4465 enums[i].name_off); in btf_enum_check_meta()
4470 if (!enums[i].name_off || in btf_enum_check_meta()
4471 !btf_name_valid_identifier(btf, enums[i].name_off)) { in btf_enum_check_meta()
4480 __btf_name_by_offset(btf, enums[i].name_off), in btf_enum_check_meta()
4481 enums[i].val); in btf_enum_check_meta()
4497 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_show() local
4509 if (v != enums[i].val) in btf_enum_show()
[all …]
/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/translations/zh_CN/
H A Dhow-to.rst98 structs, enums,...). This is known Sphinx bug. For more details, see:
/linux/tools/sched_ext/
H A DREADME.md211 …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,
/linux/Documentation/sound/designs/
H A Dcompress-offload.rst72 have existing enums/structures for each compressed format. This new
/linux/Documentation/kbuild/
H A Dgendwarfksyms.rst200 For enums, all enumerators and their values are included in calculating
/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/kernel/trace/
H A DKconfig1035 used to show what enums/sizeof the kernel tried to convert.