Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dbasic_types.h49 #define READEF1BYTE(_ptr) \ argument
50 EF1BYTE(*((u8 *)(_ptr)))
52 #define READEF2BYTE(_ptr) \ argument
53 EF2BYTE(*(_ptr))
54 #define READEF4BYTE(_ptr) \ argument
55 EF4BYTE(*(_ptr))
58 #define WRITEEF1BYTE(_ptr, _val) \ argument
60 (*((u8 *)(_ptr))) = EF1BYTE(_val); \
63 #define WRITEEF2BYTE(_ptr, _val) \ argument
65 (*((u16 *)(_ptr))) = EF2BYTE(_val); \
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
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); \
Dinsn.h108 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN) argument
/kernel/linux/linux-5.10/include/rdma/
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 + \
Dib_verbs.h749 #define INIT_IB_EVENT_HANDLER(_ptr, _device, _handler) \ argument
751 (_ptr)->device = _device; \
752 (_ptr)->handler = _handler; \
753 INIT_LIST_HEAD(&(_ptr)->list); \
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_common_defs.h18 typeof(ptr) _ptr = ptr; \
19 *_ptr = (*_ptr & ~(mask##_MASK)) | \
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
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; \
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
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); \
/kernel/linux/linux-5.10/arch/h8300/kernel/
Dsim-console.c16 register const char *_ptr __asm__("er1") = s; in sim_write()
22 : : "g"(_ptr), "g"(_len):"er0"); in sim_write()
/kernel/linux/linux-5.10/include/drm/
Ddrm_hashtab.h40 #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) argument
/kernel/linux/linux-5.10/drivers/md/bcache/
Dutil.h266 typeof((array)->freelist) _ptr = ptr; \
268 *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \
269 (array)->freelist = _ptr; \
466 typeof(ptr) _ptr = ptr; \
467 _ptr ? container_of(_ptr, type, member) : NULL; \
/kernel/linux/linux-5.10/include/linux/
Dpm.h378 #define pm_ptr(_ptr) (_ptr) argument
380 #define pm_ptr(_ptr) NULL argument
Dacpi.h666 #define ACPI_PTR(_ptr) (_ptr) argument
931 #define ACPI_PTR(_ptr) (NULL) argument
Dof.h416 #define of_match_ptr(_ptr) (_ptr) argument
1005 #define of_match_ptr(_ptr) NULL argument
Dseqlock.h207 __seqprop_##lockname##_ptr(seqcount_##lockname##_t *s) \
/kernel/linux/linux-5.10/tools/arch/x86/include/asm/
Dinsn.h108 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN) argument
/kernel/linux/linux-5.10/drivers/usb/dwc2/
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)
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dmcdi.h283 #define MCDI_FIELD(_ptr, _type, _field) \ argument
286 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\
/kernel/linux/linux-5.10/include/scsi/
Discsi_if.h742 #define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr) argument
/kernel/linux/linux-5.10/fs/ext4/
Dsysfs.c196 #define EXT4_ATTR_PTR(_name,_mode,_id,_ptr) \ argument
202 .explicit_ptr = _ptr, \
/kernel/linux/linux-5.10/kernel/sched/
Dfair.c3060 #define add_positive(_ptr, _val) do { \ argument
3061 typeof(_ptr) ptr = (_ptr); \
3080 #define sub_positive(_ptr, _val) do { \ argument
3081 typeof(_ptr) ptr = (_ptr); \
3096 #define lsub_positive(_ptr, _val) do { \ argument
3097 typeof(_ptr) ptr = (_ptr); \
Dcore.c458 typeof(ptr) _ptr = (ptr); \
460 typeof(*_ptr) _old, _val = *_ptr; \
463 _old = cmpxchg(_ptr, _val, _val | _mask); \
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c32 #define DRV_INNER_WR(_p_hwfn, _p_ptt, _ptr, _offset, _val) \ argument
33 qed_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset), \
36 #define DRV_INNER_RD(_p_hwfn, _p_ptt, _ptr, _offset) \ argument
37 qed_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset))