Home
last modified time | relevance | path

Searched refs:_ptr (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/staging/r8188eu/include/
A Dbasic_types.h40 #define READEF1BYTE(_ptr) \ argument
41 EF1BYTE(*((u8 *)(_ptr)))
43 #define READEF2BYTE(_ptr) \ argument
44 EF2BYTE(*(_ptr))
45 #define READEF4BYTE(_ptr) \ argument
46 EF4BYTE(*(_ptr))
49 #define WRITEEF1BYTE(_ptr, _val) \ argument
51 (*((u8 *)(_ptr))) = EF1BYTE(_val) \
54 #define WRITEEF2BYTE(_ptr, _val) \ argument
56 (*((u16 *)(_ptr))) = EF2BYTE(_val) \
[all …]
/linux/drivers/staging/rtl8723bs/include/
A Dbasic_types.h47 #define READEF1BYTE(_ptr) \ argument
48 EF1BYTE(*((u8 *)(_ptr)))
50 #define READEF2BYTE(_ptr) \ argument
51 EF2BYTE(*(_ptr))
52 #define READEF4BYTE(_ptr) \ argument
53 EF4BYTE(*(_ptr))
56 #define WRITEEF1BYTE(_ptr, _val) \ argument
58 (*((u8 *)(_ptr))) = EF1BYTE(_val); \
61 #define WRITEEF2BYTE(_ptr, _val) \ argument
63 (*((u16 *)(_ptr))) = EF2BYTE(_val); \
[all …]
/linux/arch/x86/include/asm/
A Dcmpxchg.h158 #define __raw_try_cmpxchg(_ptr, _pold, _new, size, lock) \ argument
161 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \
162 __typeof__(*(_ptr)) __old = *_old; \
163 __typeof__(*(_ptr)) __new = (_new); \
167 volatile u8 *__ptr = (volatile u8 *)(_ptr); \
179 volatile u16 *__ptr = (volatile u16 *)(_ptr); \
191 volatile u32 *__ptr = (volatile u32 *)(_ptr); \
203 volatile u64 *__ptr = (volatile u64 *)(_ptr); \
A Dinsn.h153 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN) argument
/linux/include/rdma/
A Diba.h58 field_struct *_ptr = ptr; \
59 _iba_set##num_bits((void *)_ptr + (field_offset), field_mask, \
66 field_struct *_ptr = ptr; \
67 (type *)((void *)_ptr + (field_offset)); \
86 const field_struct *_ptr = ptr; \
88 field_mask, _iba_get##num_bits((const void *)_ptr + \
/linux/drivers/net/ethernet/3com/
A Dtyphoon.h365 do { struct cmd_desc *_ptr = (x); \
366 memset(_ptr, 0, sizeof(struct cmd_desc)); \
367 _ptr->flags = TYPHOON_CMD_DESC | TYPHOON_DESC_VALID; \
368 _ptr->cmd = command; \
373 do { struct cmd_desc *_ptr = (x); \
374 memset(_ptr, 0, sizeof(struct cmd_desc)); \
375 _ptr->flags = TYPHOON_CMD_RESPOND | TYPHOON_CMD_DESC; \
376 _ptr->flags |= TYPHOON_DESC_VALID; \
377 _ptr->cmd = command; \
378 _ptr->seqNo = 1; \
/linux/drivers/infiniband/hw/efa/
A Defa_common_defs.h18 typeof(ptr) _ptr = ptr; \
19 *_ptr = (*_ptr & ~(mask##_MASK)) | \
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_common.h62 const field_type *_ptr = ptr; \
63 *((__le32 *)_ptr + (field_h) / 32) |= cpu_to_le32( \
72 const field_type *_ptr = ptr; \
74 *((__le32 *)_ptr + (field_h) / 32) &= \
99 const field_type *_ptr = ptr; \
102 le32_to_cpu(*((__le32 *)_ptr + (field_h) / 32))); \
/linux/tools/testing/selftests/bpf/progs/
A Dnetif_receive_skb.c59 static struct btf_ptr _ptr = { }; \
66 _ptr.ptr = &_ptrdata; \
67 _ptr.type_id = bpf_core_type_id_kernel(_type); \
68 if (_ptr.type_id <= 0) { \
73 &_ptr, sizeof(_ptr), _hflags); \
/linux/arch/h8300/kernel/
A Dsim-console.c16 register const char *_ptr __asm__("er1") = s; in sim_write()
22 : : "g"(_ptr), "g"(_len):"er0"); in sim_write()
/linux/include/drm/
A Ddrm_hashtab.h40 #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) argument
/linux/drivers/md/bcache/
A Dutil.h264 typeof((array)->freelist) _ptr = ptr; \
266 *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \
267 (array)->freelist = _ptr; \
447 typeof(ptr) _ptr = ptr; \
448 _ptr ? container_of(_ptr, type, member) : NULL; \
/linux/lib/zstd/common/
A Dcompiler.h109 const char* const _ptr = (const char*)(p); \
113 PREFETCH_L2(_ptr + _pos); \
/linux/include/linux/atomic/
A Datomic-arch-fallback.h88 #define arch_try_cmpxchg(_ptr, _oldp, _new) \ argument
90 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
91 ___r = arch_cmpxchg((_ptr), ___o, (_new)); \
99 #define arch_try_cmpxchg_acquire(_ptr, _oldp, _new) \ argument
101 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
102 ___r = arch_cmpxchg_acquire((_ptr), ___o, (_new)); \
110 #define arch_try_cmpxchg_release(_ptr, _oldp, _new) \ argument
112 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
113 ___r = arch_cmpxchg_release((_ptr), ___o, (_new)); \
121 #define arch_try_cmpxchg_relaxed(_ptr, _oldp, _new) \ argument
[all …]
/linux/scripts/atomic/
A Dgen-atomic-fallback.sh173 typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \\
174 ___r = arch_cmpxchg${order}((_ptr), ___o, (_new)); \\
/linux/tools/testing/selftests/bpf/prog_tests/
A Dbtf_dump.c290 void *_ptr = &_ptrdata; \
293 _ptr, sizeof(_type), _str, \
310 void *_ptr = &_ptrdata; \
313 _ptr, _type_sz, _str, _expected); \
320 void *_ptr = &_ptrdata; \
323 _ptr, sizeof(_type), _str, \
/linux/include/linux/
A Dpm.h377 #define pm_ptr(_ptr) (_ptr) argument
379 #define pm_ptr(_ptr) NULL argument
A Dacpi.h675 #define ACPI_PTR(_ptr) (_ptr) argument
947 #define ACPI_PTR(_ptr) (NULL) argument
A Dof.h417 #define of_match_ptr(_ptr) (_ptr) argument
1026 #define of_match_ptr(_ptr) NULL argument
A Dseqlock.h207 __seqprop_##lockname##_ptr(seqcount_##lockname##_t *s) \
/linux/tools/arch/x86/include/asm/
A Dinsn.h153 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN) argument
/linux/drivers/usb/dwc2/
A Ddebugfs.c661 #define print_param(_seq, _ptr, _param) \ argument
662 seq_printf((_seq), "%-30s: %d\n", #_param, (_ptr)->_param)
664 #define print_param_hex(_seq, _ptr, _param) \ argument
665 seq_printf((_seq), "%-30s: 0x%x\n", #_param, (_ptr)->_param)
/linux/drivers/net/ethernet/sfc/
A Dmcdi.h283 #define MCDI_FIELD(_ptr, _type, _field) \ argument
286 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\
/linux/fs/ext4/
A Dsysfs.c190 #define EXT4_ATTR_PTR(_name,_mode,_id,_ptr) \ argument
196 .explicit_ptr = _ptr, \
/linux/include/scsi/
A Discsi_if.h742 #define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr) argument

Completed in 87 milliseconds

12