Lines Matching defs:class
15 * fw_elf_get_class - Get elf class
18 * Note that we use and elf32_hdr to access the class since the start of the
19 * struct is the same for both elf class
21 * Return: elf class of the firmware
30 static inline void elf_hdr_init_ident(struct elf32_hdr *hdr, u8 class)
33 hdr->e_ident[EI_CLASS] = class;
41 static inline __type elf_##__s##_get_##__field(u8 class, const void *arg) \
43 if (class == ELFCLASS32) \
48 static inline void elf_##__s##_set_##__field(u8 class, void *arg, \
51 if (class == ELFCLASS32) \
84 static inline unsigned long elf_size_of_##__s(u8 class) \
86 if (class == ELFCLASS32)\