| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | item.h | 259 mlxsw_##_type##_##_cname##_##_iname##_item 271 .name = #_type "_" #_cname "_" #_iname, \ 293 .name = #_type "_" #_cname "_" #_iname, \ 314 .name = #_type "_" #_cname "_" #_iname, \ 336 .name = #_type "_" #_cname "_" #_iname, \ 357 .name = #_type "_" #_cname "_" #_iname, \ 379 .name = #_type "_" #_cname "_" #_iname, \ 400 .name = #_type "_" #_cname "_" #_iname, \ 422 .name = #_type "_" #_cname "_" #_iname, \ 506 &__ITEM_NAME(_type, _cname, _iname), \ [all …]
|
| A D | core_acl_flex_keys.h | 52 #define MLXSW_AFK_ELEMENT_INFO(_type, _element, _offset, _shift, _size) \ argument 55 .type = _type, \ 84 #define MLXSW_AFK_ELEMENT_INST(_type, _element, _offset, \ argument 88 .type = _type, \
|
| /linux/kernel/trace/ |
| A D | trace_export.c | 87 .type = #_type, .name = #_item, \ 88 .size = sizeof(_type), .align = __alignof__(_type), \ 94 .type = #_type, .name = #_item, \ 95 .size = sizeof(_type), .align = 1, \ 99 #define __field(_type, _item) __field_ext(_type, _item, FILTER_OTHER) argument 102 #define __field_fn(_type, _item) __field_ext(_type, _item, FILTER_TRACE_FN) argument 105 #define __field_desc(_type, _container, _item) __field_ext(_type, _item, FILTER_OTHER) argument 108 #define __field_packed(_type, _container, _item) __field_ext_packed(_type, _item, FILTER_OTHER) argument 113 .size = sizeof(_type[_len]), .align = __alignof__(_type), \ 117 #define __array_desc(_type, _container, _item, _len) __array(_type, _item, _len) argument [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_blit.c | 36 #define VMW_FIND_FIRST_DIFF(_type) \ argument 38 (const _type * dst, const _type * src, size_t size)\ 57 #define VMW_FIND_LAST_DIFF(_type) \ argument 59 const _type * dst, const _type * src, size_t size) \ 65 size -= sizeof(_type); \ 93 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument 109 sizeof(_type) - spill <= size) { \ 110 spill = sizeof(_type) - spill; \ 121 if (!spill && !SPILL(src, _type)) { \ 125 ((_type *) dst, (_type *) src, to_copy); \ [all …]
|
| /linux/include/rdma/ |
| A D | uverbs_std_types.h | 24 #define uobj_get_read(_type, _id, _attrs) \ argument 25 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \ 29 #define ufd_get_read(_type, _fdnum, _attrs) \ argument 30 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \ 40 #define uobj_get_obj_read(_object, _type, _id, _attrs) \ argument 42 uobj_get_read(_type, _id, _attrs))) 44 #define uobj_get_write(_type, _id, _attrs) \ argument 45 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \ 52 __uobj_perform_destroy(uobj_get_type(_attrs, _type), \ 59 __uobj_get_destroy(uobj_get_type(_attrs, _type), _uobj_check_id(_id), \ [all …]
|
| A D | uverbs_ioctl.h | 457 #define UVERBS_ATTR_TYPE(_type) \ argument 458 .u.ptr.min_len = sizeof(_type), .u.ptr.len = sizeof(_type) 465 #define UVERBS_ATTR_STRUCT(_type, _last) \ argument 467 UVERBS_ATTR_SIZE(offsetofend(_type, _last), sizeof(_type)) 524 #define UVERBS_ATTR_PTR_IN(_attr_id, _type, ...) \ argument 528 _type, \ 531 #define UVERBS_ATTR_PTR_OUT(_attr_id, _type, ...) \ argument 535 _type, \
|
| /linux/arch/x86/include/asm/ |
| A D | percpu.h | 406 DEFINE_PER_CPU(_type, _name) = _initvalue; \ 420 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument 421 DECLARE_PER_CPU(_type, _name); \ 422 extern __typeof__(_type) *_name##_early_ptr; \ 423 extern __typeof__(_type) _name##_early_map[] 426 DECLARE_PER_CPU_READ_MOSTLY(_type, _name); \ 428 extern __typeof__(_type) _name##_early_map[] 439 DEFINE_PER_CPU(_type, _name) = _initvalue 447 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument 448 DECLARE_PER_CPU(_type, _name) [all …]
|
| /linux/tools/perf/ui/ |
| A D | hist.c | 361 #define __HPP_SORT_FN(_type, _field) \ argument 389 #define __HPP_SORT_ACC_FN(_type, _field) \ argument 409 #define __HPP_SORT_RAW_FN(_type, _field) \ argument 417 #define HPP_PERCENT_FNS(_type, _field) \ argument 418 __HPP_COLOR_PERCENT_FN(_type, _field) \ 419 __HPP_ENTRY_PERCENT_FN(_type, _field) \ 420 __HPP_SORT_FN(_type, _field) 425 __HPP_SORT_ACC_FN(_type, _field) 427 #define HPP_RAW_FNS(_type, _field) \ argument 428 __HPP_ENTRY_RAW_FN(_type, _field) \ [all …]
|
| /linux/arch/mips/include/asm/ |
| A D | sync.h | 177 # define ____SYNC(_type, _reason, _else) \ argument 178 .if (( _type ) != -1) && ( _reason ); \ 181 .rept __SYNC_rpt(_type); \ 182 sync _type; \ 189 # define ____SYNC(_type, _reason, _else) argument
|
| /linux/drivers/regulator/ |
| A D | max77826-regulator.c | 114 #define MAX77826_VOLT_RANGE(_type) \ argument 115 ((MAX77826_ ## _type ## _VOLT_MAX - \ 116 MAX77826_ ## _type ## _VOLT_MIN) / \ 117 MAX77826_ ## _type ## _VOLT_STEP + 1) 119 #define MAX77826_LDO(_id, _type) \ argument 126 .min_uV = MAX77826_ ## _type ## _LDO_VOLT_MIN, \ 127 .uV_step = MAX77826_ ## _type ## _LDO_VOLT_STEP, \ 128 .n_voltages = MAX77826_VOLT_RANGE(_type ## _LDO), \
|
| /linux/drivers/iio/adc/ |
| A 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/include/trace/ |
| A D | trace_events.h | 436 #define __field_ext(_type, _item, _filter_type) { \ argument 437 .type = #_type, .name = #_item, \ 438 .size = sizeof(_type), .align = __alignof__(_type), \ 442 #define __field_struct_ext(_type, _item, _filter_type) { \ argument 443 .type = #_type, .name = #_item, \ 444 .size = sizeof(_type), .align = __alignof__(_type), \ 454 #define __array(_type, _item, _len) { \ argument 455 .type = #_type"["__stringify(_len)"]", .name = #_item, \ 456 .size = sizeof(_type[_len]), .align = __alignof__(_type), \ 460 #define __dynamic_array(_type, _item, _len) { \ argument [all …]
|
| /linux/scripts/gdb/linux/ |
| A 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/tools/testing/selftests/bpf/progs/ |
| A D | netif_receive_skb.c | 52 #define TEST_BTF(_str, _type, _flags, _expected, ...) \ argument 56 static const char _ptrtype[64] = #_type; \ 58 static _type _ptrdata = __VA_ARGS__; \ 67 _ptr.type_id = bpf_core_type_id_kernel(_type); \ 88 #define TEST_BTF_C(_str, _type, _flags, ...) \ argument 89 TEST_BTF(_str, _type, _flags, "(" #_type ")" #__VA_ARGS__, \
|
| /linux/drivers/gpu/drm/msm/adreno/ |
| A 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/drivers/hwmon/ |
| A D | bt1-pvt.h | 160 #define PVT_SENSOR_INFO(_ch, _label, _type, _mode, _thres) \ argument 168 .type = _type, \ 169 .attr_min_alarm = _type## _min, \ 170 .attr_max_alarm = _type## _max, \
|
| /linux/include/linux/ |
| A D | generic-radix-tree.h | 70 #define GENRADIX(_type) \ argument 73 _type type[0] __aligned(1); \ 76 #define DEFINE_GENRADIX(_name, _type) \ argument 77 GENRADIX(_type) _name = __GENRADIX_INITIALIZER
|
| /linux/arch/arm/include/asm/mach/ |
| A 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/drivers/clk/pistachio/ |
| A 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/tools/testing/selftests/bpf/prog_tests/ |
| A D | btf_dump.c | 284 #define TEST_BTF_DUMP_DATA(_b, _d, _prefix, _str, _type, _flags, \ argument 287 char __ptrtype[64] = #_type; \ 289 _type _ptrdata = __VA_ARGS__; \ 293 _ptr, sizeof(_type), _str, \ 298 #define TEST_BTF_DUMP_DATA_C(_b, _d, _prefix, _str, _type, _flags, \ argument 300 TEST_BTF_DUMP_DATA(_b, _d, _prefix, _str, _type, _flags, \ 301 "(" #_type ")" #__VA_ARGS__, __VA_ARGS__) 307 char __ptrtype[64] = #_type; \ 309 _type _ptrdata = __VA_ARGS__; \ 319 _type _ptrdata = __VA_ARGS__; \ [all …]
|
| /linux/drivers/clk/renesas/ |
| A 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)
|
| A D | rzg2l-cpg.h | 85 #define DEF_TYPE(_name, _id, _type...) \ argument 86 { .name = _name, .id = _id, .type = _type } 87 #define DEF_BASE(_name, _id, _type, _parent...) \ argument 88 DEF_TYPE(_name, _id, _type, .parent = _parent)
|
| /linux/drivers/net/ethernet/broadcom/ |
| A 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/arch/arc/include/asm/ |
| A D | mach_desc.h | 54 #define MACHINE_START(_type, _name) \ argument 55 static const struct machine_desc __mach_desc_##_type \
|
| /linux/drivers/net/ethernet/sfc/ |
| A D | mcdi.h | 283 #define MCDI_FIELD(_ptr, _type, _field) \ argument 286 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\ 287 MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f, \ 288 (MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f) + \ 289 MC_CMD_ ## _type ## _ ## _field ## _WIDTH - 1) 323 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument 325 _type ## _TYPEDEF, _field2)
|