/linux/drivers/sh/intc/ |
H A D | internals.h | 15 #define _INTC_SHIFT(h) (h & 0x1f) argument 16 #define _INTC_WIDTH(h) ((h >> 5) & 0xf) argument 17 #define _INTC_FN(h) ((h >> 9) & 0xf) argument 18 #define _INTC_MODE(h) ((h >> 13) & 0x7) argument 19 #define _INTC_ADDR_E(h) ((h >> 16) & 0xff) argument 20 #define _INTC_ADDR_D(h) ((h >> 24) & 0xff) argument 23 #define IS_SMP(x) (x.smp) argument 24 #define INTC_REG(d, x, c) (d->reg[(x)] + ((d->smp[(x)] & 0xff) * c)) argument 25 #define SMP_NR(d, x) ((d->smp[(x)] >> 8) ? (d->smp[(x)] >> 8) : 1) argument 27 #define IS_SMP(x) 0 argument [all …]
|
/linux/lib/crypto/ |
H A D | sm3.c | 41 #define R(i, a, b, c, d, e, f, g, h, t, w1, w2) \ argument 52 #define R1(a, b, c, d, e, f, g, h, t, w1, w2) \ argument 54 #define R2(a, b, c, d, e, f, g, h, t, w1, w2) \ argument 57 #define FF1(x, y, z) (x ^ y ^ z) argument 58 #define FF2(x, y, z) ((x & y) | (x & z) | (y & z)) argument 60 #define GG1(x, y, z) FF1(x, y, z) argument 61 #define GG2(x, y, z) ((x & y) | (~x & z)) argument 64 #define P0(x) ((x) ^ rol32((x), 9) ^ rol32((x), 17)) argument 65 #define P1(x) ((x) ^ rol32((x), 15) ^ rol32((x), 23)) argument 77 u32 a, b, c, d, e, f, g, h, ss1, ss2; in sm3_transform() local
|
H A D | curve25519-fiat32.c | 53 static __always_inline void fe_frombytes(fe *h, const u8 *s) in fe_frombytes() 64 u32 x = a + b + c; in addcarryx_u25() local 75 u32 x = a + b + c; in addcarryx_u26() local 86 u32 x = a - b - c; in subborrow_u25() local 97 u32 x = a - b - c; in subborrow_u26() local 166 u32 h[10]; in fe_tobytes() local 203 static __always_inline void fe_copy(fe *h, const fe *f) in fe_copy() 208 static __always_inline void fe_copy_lt(fe_loose *h, const fe *f) in fe_copy_lt() 214 static __always_inline void fe_0(fe *h) in fe_0() 220 static __always_inline void fe_1(fe *h) in fe_1() [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | sdt.h | 48 # define _SDT_ASM_1(x) x; argument 52 # define _SDT_ASM_STRING_1(x) .asciz #x; argument 53 # define _SDT_ASM_SUBSTR_1(x) .ascii #x; argument 62 # define _SDT_DEPAREN_8(a,b,c,d,e,f,g,h) a b c d e f g h argument 63 # define _SDT_DEPAREN_9(a,b,c,d,e,f,g,h,i) a b c d e f g h i argument 64 # define _SDT_DEPAREN_10(a,b,c,d,e,f,g,h,i,j) a b c d e f g h i j argument 65 # define _SDT_DEPAREN_11(a,b,c,d,e,f,g,h,i,j,k) a b c d e f g h i j k argument 66 # define _SDT_DEPAREN_12(a,b,c,d,e,f,g,h,i,j,k,l) a b c d e f g h i j k l argument 82 # define _SDT_S(x) #x argument 83 # define _SDT_ASM_1(x) _SDT_S(x) "\n" argument [all …]
|
/linux/include/linux/ |
H A D | list_bl.h | 28 #define LIST_BL_BUG_ON(x) BUG_ON(x) argument 30 #define LIST_BL_BUG_ON(x) argument 44 static inline void INIT_HLIST_BL_NODE(struct hlist_bl_node *h) in INIT_HLIST_BL_NODE() 52 static inline bool hlist_bl_unhashed(const struct hlist_bl_node *h) in hlist_bl_unhashed() 57 static inline struct hlist_bl_node *hlist_bl_first(struct hlist_bl_head *h) in hlist_bl_first() 63 static inline void hlist_bl_set_first(struct hlist_bl_head *h, in hlist_bl_set_first() 72 static inline bool hlist_bl_empty(const struct hlist_bl_head *h) in hlist_bl_empty() 78 struct hlist_bl_head *h) in hlist_bl_add_head()
|
/linux/net/xfrm/ |
H A D | xfrm_state.c | 56 static inline bool xfrm_state_hold_rcu(struct xfrm_state __rcu *x) in xfrm_state_hold_rcu() 125 struct xfrm_state *x; in xfrm_hash_transfer() local 128 unsigned int h; in xfrm_hash_transfer() local 427 void xfrm_set_type_offload(struct xfrm_state *x, bool try_load) in xfrm_set_type_offload() 589 void xfrm_state_free(struct xfrm_state *x) in xfrm_state_free() 595 static void xfrm_state_gc_destroy(struct xfrm_state *x) in xfrm_state_gc_destroy() 623 struct xfrm_state *x; in xfrm_state_gc_task() local 639 struct xfrm_state *x = container_of(me, struct xfrm_state, mtimer); in xfrm_timer_handler() local 731 struct xfrm_state *x; in xfrm_state_alloc() local 764 void xfrm_dev_state_delete(struct xfrm_state *x) in xfrm_dev_state_delete() [all …]
|
/linux/drivers/video/fbdev/ |
H A D | tridentfb.c | 303 #define point(x, y) ((y) << 16 | (x)) argument 329 u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop) in blade_fill_rect() 340 u32 x, u32 y, u32 w, u32 h, u32 c, u32 b) in blade_image_blit() 355 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) in blade_copy_rect() 381 unsigned char x = bpp == 24 ? 3 : (bpp >> 4); in xp_init_accel() local 431 u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop) in xp_fill_rect() 443 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) in xp_copy_rect() 503 u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop) in image_fill_rect() 517 u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) in image_copy_rect() 545 unsigned char x = bpp == 24 ? 3 : (bpp >> 4); in tgui_init_accel() local [all …]
|
/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 46 #define AHASH_MAX(h) ((h)->bucketsize) argument 68 #define ahash_bucket_start(h, htable_bits) \ argument 71 ahash_bucket_end(h,htable_bits) global() argument 91 hbucket(h,i) global() argument 326 mtype_add_cidr(struct ip_set * set,struct htype * h,u8 cidr,u8 n) mtype_add_cidr() argument 353 mtype_del_cidr(struct ip_set * set,struct htype * h,u8 cidr,u8 n) mtype_del_cidr() argument 376 mtype_ahash_memsize(const struct htype * h,const struct htable * t) mtype_ahash_memsize() argument 399 struct htype *h = set->data; mtype_flush() local 452 struct htype *h = set->data; mtype_destroy() local 468 const struct htype *x = a->data; mtype_same_set() local 484 mtype_gc_do(struct ip_set * set,struct htype * h,struct htable * t,u32 r) mtype_gc_do() argument 561 struct htype *h; mtype_gc() local 604 struct htype *h = set->data; mtype_cancel_gc() local 624 struct htype *h = set->data; mtype_resize() local 636 struct mtype_resize_ad *x; mtype_resize() local 810 struct htype *h = set->data; mtype_ext_size() local 842 struct htype *h = set->data; mtype_add() local 999 struct mtype_resize_ad *x; mtype_add() local 1037 struct htype *h = set->data; mtype_del() local 1042 struct mtype_resize_ad *x = NULL; mtype_del() local 1163 struct htype *h = set->data; mtype_test_cidrs() local 1218 struct htype *h = set->data; mtype_test() local 1266 struct htype *h = set->data; mtype_head() local 1331 struct htype *h = set->data; mtype_uref() local 1472 struct htype *h; IPSET_TOKEN() local [all...] |
/linux/tools/testing/selftests/vDSO/ |
H A D | parse_vdso.c | 36 #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x argument 37 #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) argument 38 #define ELF(x) ELF_BITS_XFORM(ELF_BITS, x) argument 72 unsigned long h = 0, g; in elf_hash() local 89 uint32_t h = 5381; in gnu_hash() local
|
/linux/tools/include/asm-generic/bitops/ |
H A D | fls64.h | 19 static __always_inline int fls64(__u64 x) in fls64() 21 __u32 h = x >> 32; in fls64() local 27 static __always_inline int fls64(__u64 x) in fls64()
|
/linux/include/asm-generic/bitops/ |
H A D | fls64.h | 19 static __always_inline __attribute_const__ int fls64(__u64 x) in fls64() 21 __u32 h = x >> 32; in fls64() local 27 static __always_inline __attribute_const__ int fls64(__u64 x) in fls64()
|
/linux/drivers/media/platform/nxp/dw100/ |
H A D | dw100_regs.h | 22 #define DW100_DEWARP_CTRL_INPUT_FORMAT(x) ((x) << 4) argument 23 #define DW100_DEWARP_CTRL_OUTPUT_FORMAT(x) ((x) << 6) argument 34 #define DW100_DEWARP_CTRL_PREFETCH_THRESHOLD(x) ((x) << 18) argument 40 #define DW100_MAP_LUT_SIZE_HEIGHT(h) (((h) & GENMASK(10, 0)) << 16) argument 47 #define DW100_IMG_SIZE_HEIGHT(h) (((h) & GENMASK(12, 0)) << 16) argument 69 #define DW100_SWAP_CONTROL_Y(x) (((x) & GENMASK(3, 0)) << 0) argument 70 #define DW100_SWAP_CONTROL_UV(x) (((x) & GENMASK(3, 0)) << 4) argument 71 #define DW100_SWAP_CONTROL_SRC(x) (((x) & GENMASK(7, 0)) << 0) argument 72 #define DW100_SWAP_CONTROL_DST(x) (((x) & GENMASK(7, 0)) << 8) argument 73 #define DW100_SWAP_CONTROL_SRC2(x) (((x) & GENMASK(7, 0)) << 16) argument [all …]
|
/linux/net/ceph/crush/ |
H A D | mapper.c | 76 int x, int r) in bucket_perm_choose() 136 struct crush_work_bucket *work, int x, int r) in bucket_uniform_choose() 143 int x, int r) in bucket_list_choose() 171 int h = 0; in height() local 179 static int left(int x) in left() 181 int h = height(x); in left() local 185 static int right(int x) in right() 187 int h = height(x); in right() local 191 static int terminal(int x) in terminal() 197 int x, int r) in bucket_tree_choose() [all …]
|
/linux/drivers/video/fbdev/core/ |
H A D | fbcon_rotate.h | 23 static inline int pattern_test_bit(u32 x, u32 y, u32 pitch, const char *pat) in pattern_test_bit() 31 static inline void pattern_set_bit(u32 x, u32 y, u32 pitch, char *pat) in pattern_set_bit() 60 int i, j, h = height, w = width; in rotate_cw() local 78 int i, j, h = height, w = width; in rotate_ccw() local
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_ddp_comp.c | 34 #define DITHER_LSB_ERR_SHIFT_R(x) (((x) & 0x7) << 28) argument 35 #define DITHER_ADD_LSHIFT_R(x) (((x) & 0x7) << 20) argument 38 #define DITHER_LSB_ERR_SHIFT_B(x) (((x) & 0x7) << 28) argument 39 #define DITHER_ADD_LSHIFT_B(x) (((x) & 0x7) << 20) argument 40 #define DITHER_LSB_ERR_SHIFT_G(x) (((x) & 0x7) << 12) argument 41 #define DITHER_ADD_LSHIFT_G(x) (((x) & 0x7) << 4) argument 155 unsigned int h, unsigned int vrefresh, in mtk_dither_config() 191 unsigned int h, unsigned int vrefresh, in mtk_dsc_config() 221 unsigned int h, unsigned int vrefresh, in mtk_od_config() 239 unsigned int h, unsigned int vrefresh, in mtk_postmask_config()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | vid.h | 70 #define PIPEID(x) ((x) << 0) argument 71 #define MEID(x) ((x) << 2) argument 72 #define VMID(x) ((x) << 4) argument 73 #define QUEUEID(x) ((x) << 8) argument 92 #define CP_PACKET_GET_TYPE(h) (((h) >> 30) & 3) argument 93 #define CP_PACKET_GET_COUNT(h) (((h) >> 16) & 0x3FFF) argument 94 #define CP_PACKET0_GET_REG(h) ((h) & 0xFFFF) argument 95 #define CP_PACKET3_GET_OPCODE(h) (((h) >> 8) & 0xFF) argument 114 #define PACKET3_BASE_INDEX(x) ((x) << 0) argument 142 #define WRITE_DATA_DST_SEL(x) ((x) << 8) argument [all …]
|
/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
H A D | topaz_pcie_ipc.h | 45 #define QTN_BDA_VER(x) (((x) >> 4) & 0xFF) argument 52 #define QTN_HOST_ADDR(h, l) ((((u64)h) << 32) | ((u64)l)) argument 56 #define QTN_HOST_ADDR(h, l) ((u32)l) argument 74 #define QTN_GET_LEN(x) (((x) >> 16) & 0xFFFF) argument 75 #define QTN_GET_OFFSET(x) (((x) >> 8) & 0xFF) argument
|
/linux/arch/riscv/include/asm/ |
H A D | swab.h | 14 #define ___constant_swab16(x) ((__u16)( \ argument 18 #define ___constant_swab32(x) ((__u32)( \ argument 24 #define ___constant_swab64(x) ((__u64)( \ argument 69 __u32 h = value >> 32; in __arch_swab64() local
|
/linux/tools/lib/bpf/ |
H A D | bpf_core_read.h | 356 #define ___last1(x) x argument 357 #define ___last2(a, x) x argument 358 #define ___last3(a, b, x) x argument 359 #define ___last4(a, b, c, x) x argument 360 ___last5(a,b,c,d,x) global() argument 361 ___last6(a,b,c,d,e,x) global() argument 362 ___last7(a,b,c,d,e,f,x) global() argument 363 ___last8(a,b,c,d,e,f,g,x) global() argument 364 ___last9(a,b,c,d,e,f,g,h,x) global() argument 365 ___last10(a,b,c,d,e,f,g,h,i,x) global() argument 375 ___nolast9(a,b,c,d,e,f,g,h,_) global() argument 376 ___nolast10(a,b,c,d,e,f,g,h,i,_) global() argument 386 ___arrow8(a,b,c,d,e,f,g,h) global() argument 387 ___arrow9(a,b,c,d,e,f,g,h,i) global() argument 388 ___arrow10(a,b,c,d,e,f,g,h,i,j) global() argument [all...] |
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_core_reloc_mods.c | 17 int a, b, c, d, e, f, g, h; member 25 int x; member 30 int x; member 42 core_reloc_mods_substruct_t h; member
|
/linux/drivers/ata/pata_parport/ |
H A D | friq.c | 31 #define CMD(x) \ argument 38 #define j44(l, h) (((l >> 4) & 0x0f) | (h & 0xf0)) argument 48 int h, l, r; in friq_read_regr() local 71 int h, l, k, ph; in friq_read_block_int() local
|
/linux/arch/powerpc/sysdev/ |
H A D | tsi108_pci.c | 31 #define DBG(x...) printk(x) argument 33 #define DBG(x...) argument 120 #define __tsi108_read_pci_config(x, addr, op) \ argument 364 static int pci_irq_host_xlate(struct irq_domain *h, struct device_node *ct, in pci_irq_host_xlate() 373 static int pci_irq_host_map(struct irq_domain *h, unsigned int virq, in pci_irq_host_map()
|
/linux/drivers/firmware/efi/ |
H A D | earlycon.c | 123 static void efi_earlycon_write_char(u32 *dst, unsigned char c, unsigned int h) in efi_earlycon_write_char() 129 u8 x; in efi_earlycon_write_char() local 159 unsigned int h, count; in efi_earlycon_write() local 166 unsigned int n, x; in efi_earlycon_write() local
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_sprite_regs.h | 49 #define DVS_POS_X(x) REG_FIELD_PREP(DVS_POS_X_MASK, (x)) argument 55 #define DVS_HEIGHT(h) REG_FIELD_PREP(DVS_HEIGHT_MASK, (h)) argument 82 #define DVS_OFFSET_X(x) REG_FIELD_PREP(DVS_OFFSET_X_MASK, (x)) argument 105 #define DVS_SRC_HEIGHT(h) REG_FIELD_PREP(DVS_SRC_HEIGHT_MASK, (h)) argument 159 #define SPRITE_POS_X(x) REG_FIELD_PREP(SPRITE_POS_X_MASK, (x)) argument 165 #define SPRITE_HEIGHT(h) REG_FIELD_PREP(SPRITE_HEIGHT_MASK, (h)) argument 192 #define SPRITE_OFFSET_X(x) REG_FIELD_PREP(SPRITE_OFFSET_X_MASK, (x)) argument 215 #define SPRITE_SRC_HEIGHT(h) REG_FIELD_PREP(SPRITE_SRC_HEIGHT_MASK, (h)) argument 278 #define SP_POS_X(x) REG_FIELD_PREP(SP_POS_X_MASK, (x)) argument 284 #define SP_HEIGHT(h) REG_FIELD_PREP(SP_HEIGHT_MASK, (h)) argument [all …]
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_plane_helper_test.c | 30 unsigned int x; member 33 unsigned int h; member 36 int x; member 39 unsigned int h; member
|