Home
last modified time | relevance | path

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

/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 …]
/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/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; \
/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))