Home
last modified time | relevance | path

Searched refs:__s (Results 1 – 6 of 6) sorted by relevance

/drivers/remoteproc/
Dremoteproc_elf_helpers.h40 #define ELF_GEN_FIELD_GET_SET(__s, __field, __type) \ argument
41 static inline __type elf_##__s##_get_##__field(u8 class, const void *arg) \
44 return (__type) ((const struct elf32_##__s *) arg)->__field; \
46 return (__type) ((const struct elf64_##__s *) arg)->__field; \
48 static inline void elf_##__s##_set_##__field(u8 class, void *arg, \
52 ((struct elf32_##__s *) arg)->__field = (__type) value; \
54 ((struct elf64_##__s *) arg)->__field = (__type) value; \
87 #define ELF_STRUCT_SIZE(__s) \ in ELF_GEN_FIELD_GET_SET() argument
88 static inline unsigned long elf_size_of_##__s(u8 class) \ in ELF_GEN_FIELD_GET_SET()
91 return sizeof(struct elf32_##__s); \ in ELF_GEN_FIELD_GET_SET()
[all …]
/drivers/usb/host/
Disp116x.h508 #define PIPETYPE(pipe) ({ char *__s; \
509 if (usb_pipecontrol(pipe)) __s = "ctrl"; \
510 else if (usb_pipeint(pipe)) __s = "int"; \
511 else if (usb_pipebulk(pipe)) __s = "bulk"; \
512 else __s = "iso"; \
513 __s;})
/drivers/media/pci/solo6x10/
Dsolo6x10-regs.h99 #define SOLO_PCI_ERR_FSM0(__s) (((__s) >> 16) & 0x0f) argument
100 #define SOLO_PCI_ERR_FSM1(__s) (((__s) >> 20) & 0x0f) argument
101 #define SOLO_PCI_ERR_FSM2(__s) (((__s) >> 24) & 0x1f) argument
/drivers/gpu/drm/i915/display/
Dintel_display.h238 #define for_each_sprite(__dev_priv, __p, __s) \ argument
239 for ((__s) = 0; \
240 (__s) < DISPLAY_RUNTIME_INFO(__dev_priv)->num_sprites[(__p)]; \
241 (__s)++)
/drivers/vdpa/mlx5/core/
Dmr.c14 u64 __s = _s; \
16 _res = (((_n) + (1 << (__s)) - 1) >> (__s)); \
/drivers/gpu/drm/i915/
Di915_perf.c458 #define oa_report_header_64bit(__s) \ argument
459 ((__s)->oa_buffer.format->header == HDR_64_BIT)