| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | item.h | 258 #define __ITEM_NAME(_type, _cname, _iname) \ argument 259 mlxsw_##_type##_##_cname##_##_iname##_item 266 #define MLXSW_ITEM8(_type, _cname, _iname, _offset, _shift, _sizebits) \ argument 267 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \ 271 .name = #_type "_" #_cname "_" #_iname, \ 273 static inline u8 mlxsw_##_type##_##_cname##_##_iname##_get(const char *buf) \ 275 return __mlxsw_item_get8(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \ 277 static inline void mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u8 val)\ 279 __mlxsw_item_set8(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \ 282 #define MLXSW_ITEM8_INDEXED(_type, _cname, _iname, _offset, _shift, _sizebits, \ argument [all …]
|
| D | core_acl_flex_keys.h | 52 #define MLXSW_AFK_ELEMENT_INFO(_type, _element, _offset, _shift, _size) \ argument 55 .type = _type, \ 116 #define MLXSW_AFK_ELEMENT_INST(_type, _element, _offset, \ argument 120 .type = _type, \
|
| /Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_blit.c | 35 #define VMW_FIND_FIRST_DIFF(_type) \ argument 36 static size_t vmw_find_first_diff_ ## _type \ 37 (const _type * dst, const _type * src, size_t size)\ 41 for (i = 0; i < size; i += sizeof(_type)) { \ 56 #define VMW_FIND_LAST_DIFF(_type) \ argument 57 static ssize_t vmw_find_last_diff_ ## _type( \ 58 const _type * dst, const _type * src, size_t size) \ 64 size -= sizeof(_type); \ 92 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument 102 #define VMW_TRY_FIND_FIRST_DIFF(_type) \ argument [all …]
|
| /Linux-v5.4/include/rdma/ |
| D | uverbs_std_types.h | 51 #define uobj_get_read(_type, _id, _attrs) \ argument 52 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \ 56 #define ufd_get_read(_type, _fdnum, _attrs) \ argument 57 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \ 67 #define uobj_get_obj_read(_object, _type, _id, _attrs) \ argument 69 uobj_get_read(_type, _id, _attrs))) 71 #define uobj_get_write(_type, _id, _attrs) \ argument 72 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \ 78 #define uobj_perform_destroy(_type, _id, _attrs) \ argument 79 __uobj_perform_destroy(uobj_get_type(_attrs, _type), \ [all …]
|
| D | uverbs_ioctl.h | 484 #define UVERBS_ATTR_TYPE(_type) \ argument 485 .u.ptr.min_len = sizeof(_type), .u.ptr.len = sizeof(_type) 492 #define UVERBS_ATTR_STRUCT(_type, _last) \ argument 494 UVERBS_ATTR_SIZE(((uintptr_t)(&((_type *)0)->_last + 1)), \ 495 sizeof(_type)) 552 #define UVERBS_ATTR_PTR_IN(_attr_id, _type, ...) \ argument 556 _type, \ 559 #define UVERBS_ATTR_PTR_OUT(_attr_id, _type, ...) \ argument 563 _type, \
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | mips_machine.h | 21 #define MIPS_MACHINE(_type, _id, _name, _setup) \ argument 22 static const char machine_name_##_type[] __initconst \ 24 static const char machine_id_##_type[] __initconst \ 26 static struct mips_machine machine_##_type \ 29 .mach_type = _type, \ 30 .mach_id = machine_id_##_type, \ 31 .mach_name = machine_name_##_type, \
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | percpu.h | 571 #define DEFINE_EARLY_PER_CPU(_type, _name, _initvalue) \ argument 572 DEFINE_PER_CPU(_type, _name) = _initvalue; \ 573 __typeof__(_type) _name##_early_map[NR_CPUS] __initdata = \ 575 __typeof__(_type) *_name##_early_ptr __refdata = _name##_early_map 577 #define DEFINE_EARLY_PER_CPU_READ_MOSTLY(_type, _name, _initvalue) \ argument 578 DEFINE_PER_CPU_READ_MOSTLY(_type, _name) = _initvalue; \ 579 __typeof__(_type) _name##_early_map[NR_CPUS] __initdata = \ 581 __typeof__(_type) *_name##_early_ptr __refdata = _name##_early_map 586 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument 587 DECLARE_PER_CPU(_type, _name); \ [all …]
|
| /Linux-v5.4/tools/perf/ui/ |
| D | hist.c | 277 #define __HPP_COLOR_PERCENT_FN(_type, _field) \ argument 283 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \ 290 #define __HPP_ENTRY_PERCENT_FN(_type, _field) \ argument 291 static int hpp__entry_##_type(struct perf_hpp_fmt *fmt, \ 298 #define __HPP_SORT_FN(_type, _field) \ argument 299 static int64_t hpp__sort_##_type(struct perf_hpp_fmt *fmt __maybe_unused, \ 305 #define __HPP_COLOR_ACC_PERCENT_FN(_type, _field) \ argument 311 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \ 318 #define __HPP_ENTRY_ACC_PERCENT_FN(_type, _field) \ argument 319 static int hpp__entry_##_type(struct perf_hpp_fmt *fmt, \ [all …]
|
| /Linux-v5.4/scripts/gdb/linux/ |
| D | utils.py | 19 self._type = None 23 self._type = None 27 if self._type is None: 28 self._type = gdb.lookup_type(self._name) 29 if self._type is None: 34 return self._type
|
| /Linux-v5.4/drivers/iio/adc/ |
| D | da9150-gpadc.c | 250 #define DA9150_GPADC_CHANNEL(_id, _hw_id, _type, chan_info, \ argument 252 .type = _type, \ 261 #define DA9150_GPADC_CHANNEL_RAW(_id, _hw_id, _type, _ext_name) \ argument 262 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \ 265 #define DA9150_GPADC_CHANNEL_SCALED(_id, _hw_id, _type, _ext_name) \ argument 266 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \ 272 #define DA9150_GPADC_CHANNEL_PROCESSED(_id, _hw_id, _type, _ext_name) \ argument 273 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
|
| /Linux-v5.4/drivers/gpu/drm/msm/adreno/ |
| D | a6xx_gpu_state.h | 123 #define CLUSTER_DBGAHB(_id, _base, _type, _reg) \ argument 124 { .name = #_id, .statetype = _type, .base = _base, \ 172 #define HLSQ_DBG_REGS(_base, _type, _array) \ argument 173 { .val0 = _base, .val1 = _type, .registers = _array, \ 182 #define SHADER(_type, _size) \ argument 183 { .type = _type, .name = #_type, .size = _size }
|
| /Linux-v5.4/arch/arm/include/asm/mach/ |
| D | arch.h | 81 #define MACHINE_START(_type,_name) \ argument 82 static const struct machine_desc __mach_desc_##_type \ 85 .nr = MACH_TYPE_##_type, \
|
| /Linux-v5.4/include/linux/ |
| D | generic-radix-tree.h | 69 #define GENRADIX(_type) \ argument 72 _type type[0] __aligned(1); \ 75 #define DEFINE_GENRADIX(_name, _type) \ argument 76 GENRADIX(_type) _name = __GENRADIX_INITIALIZER
|
| /Linux-v5.4/drivers/clk/pistachio/ |
| D | clk.h | 119 #define PLL(_id, _name, _pname, _type, _reg, _rates) \ argument 123 .type = _type, \ 130 #define PLL_FIXED(_id, _name, _pname, _type, _reg) \ argument 134 .type = _type, \
|
| /Linux-v5.4/drivers/clk/renesas/ |
| D | renesas-cpg-mssr.h | 44 #define DEF_TYPE(_name, _id, _type...) \ argument 45 { .name = _name, .id = _id, .type = _type } 46 #define DEF_BASE(_name, _id, _type, _parent...) \ argument 47 DEF_TYPE(_name, _id, _type, .parent = _parent)
|
| /Linux-v5.4/arch/arc/include/asm/ |
| D | mach_desc.h | 54 #define MACHINE_START(_type, _name) \ argument 55 static const struct machine_desc __mach_desc_##_type \
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/ |
| D | cnic.h | 342 #define CDU_VALID_DATA(_cid, _region, _type) \ argument 343 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 345 #define CDU_CRC8(_cid, _region, _type) \ argument 346 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 348 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type) \ argument 349 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
|
| /Linux-v5.4/include/uapi/rdma/ |
| D | rvt-abi.h | 14 #define RDMA_ATOMIC_UAPI(_type, _name) struct{ _type val; } _name argument
|
| /Linux-v5.4/arch/arm/mach-imx/ |
| D | hardware.h | 103 #define imx_map_entry(soc, name, _type) { \ argument 107 .type = _type, \
|
| /Linux-v5.4/include/drm/ |
| D | drm_hashtab.h | 40 #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) argument
|
| /Linux-v5.4/drivers/iio/common/ssp_sensors/ |
| D | ssp_iio_sensor.h | 5 #define SSP_CHANNEL_AG(_type, _mod, _index) \ argument 7 .type = _type,\
|
| /Linux-v5.4/fs/ceph/ |
| D | xattr.c | 305 #define CEPH_XATTR_NAME(_type, _name) XATTR_CEPH_PREFIX #_type "." #_name argument 306 #define CEPH_XATTR_NAME2(_type, _name, _name2) \ argument 307 XATTR_CEPH_PREFIX #_type "." #_name "." #_name2 309 #define XATTR_NAME_CEPH(_type, _name, _flags) \ argument 311 .name = CEPH_XATTR_NAME(_type, _name), \ 312 .name_size = sizeof (CEPH_XATTR_NAME(_type, _name)), \ 313 .getxattr_cb = ceph_vxattrcb_ ## _type ## _ ## _name, \ 317 #define XATTR_RSTAT_FIELD(_type, _name) \ argument 318 XATTR_NAME_CEPH(_type, _name, VXATTR_FLAG_RSTAT) 319 #define XATTR_LAYOUT_FIELD(_type, _name, _field) \ argument [all …]
|
| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | mcdi.h | 282 #define MCDI_FIELD(_ptr, _type, _field) \ argument 285 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\ 286 MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f, \ 287 (MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f) + \ 288 MC_CMD_ ## _type ## _ ## _field ## _WIDTH - 1) 322 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument 324 _type ## _TYPEDEF, _field2)
|
| /Linux-v5.4/include/linux/usb/ |
| D | renesas_usbhs.h | 114 #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) { \ argument 115 .type = (_type), \
|
| /Linux-v5.4/drivers/net/wireless/ath/ath9k/ |
| D | ar9003_mci.h | 296 #define MCI_GPM_SET_TYPE_OPCODE(_p_gpm, _type, _opcode) do { \ argument 297 *(((u8 *)(_p_gpm)) + MCI_GPM_COEX_B_GPM_TYPE) = (_type) & 0xff; \ 301 #define MCI_GPM_IS_CAL_TYPE(_type) ((_type) <= MCI_GPM_WLAN_CAL_DONE) argument
|