Home
last modified time | relevance | path

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

/drivers/staging/r8188eu/include/
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 …]
/drivers/staging/rtl8723bs/include/
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 …]
/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; \
/drivers/infiniband/hw/efa/
Defa_common_defs.h18 typeof(ptr) _ptr = ptr; \
19 *_ptr = (*_ptr & ~(mask##_MASK)) | \
/drivers/infiniband/hw/hns/
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))); \
/drivers/md/bcache/
Dutil.h264 typeof((array)->freelist) _ptr = ptr; \
266 *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \
267 (array)->freelist = _ptr; \
464 typeof(ptr) _ptr = ptr; \
465 _ptr ? container_of(_ptr, type, member) : NULL; \
/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)
/drivers/net/ethernet/sfc/
Dmcdi.h283 #define MCDI_FIELD(_ptr, _type, _field) \ argument
286 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\
/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))