Searched refs:_type (Results 1 – 4 of 4) sorted by relevance
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | efx_mcdi.h | 312 #define MCDI_IN(_emr, _type, _ofst) \ argument 313 ((_type *)((_emr).emr_in_buf + (_ofst))) 315 #define MCDI_IN2(_emr, _type, _ofst) \ argument 316 MCDI_IN(_emr, _type, MC_CMD_ ## _ofst ## _OFST) 319 MCDI_IN(_emr, _type, MC_CMD_ ## _ofst ## _OFST + \ 474 #define MCDI_OUT(_emr, _type, _ofst) \ argument 475 ((_type *)((_emr).emr_out_buf + (_ofst))) 477 #define MCDI_OUT2(_emr, _type, _ofst) \ argument 478 MCDI_OUT(_emr, _type, MC_CMD_ ## _ofst ## _OFST) 534 #define MCDI_STRUCT_MEMBER(_buf, _type, _ofst) \ argument [all …]
|
| H A D | efx.h | 26 #define EFX_FIELD_OFFSET(_type, _field) \ argument 27 ((size_t)&(((_type *)0)->_field)) 33 #define EFX_P2ROUNDUP(_type, _value, _align) \ argument 34 (-(-(_type)(_value) & -(_type)(_align))) 37 #define EFX_P2ALIGN(_type, _value, _align) \ argument 38 ((_type)(_value) & -(_type)(_align)) 41 #define EFX_IS_P2ALIGNED(_type, _value, _align) \ argument 42 ((((_type)(_value)) & ((_type)(_align) - 1)) == 0)
|
| /dpdk/drivers/bus/fslmc/portal/ |
| H A D | dpaa2_hw_pvt.h | 433 #define DPAA2_MODIFY_IOVA_TO_VADDR(_mem, _type) \ argument 434 {_mem = (_type)(dpaa2_mem_ptov((size_t)(_mem))); } 441 #define DPAA2_MODIFY_IOVA_TO_VADDR(_mem, _type) argument
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | ecore_reg.h | 5986 #define CDU_VALID_DATA(_cid, _region, _type) \ argument 5987 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 5988 #define CDU_CRC8(_cid, _region, _type) \ argument 5989 (ecore_calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 5990 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type) \ argument 5991 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f)) 5992 #define CDU_RSRVD_VALUE_TYPE_B(_crc, _type) \ argument 5993 (0x80 | ((_type)&0xf << 3) | ((CDU_CRC8(_cid, _region, _type)) & 0x7))
|