/linux-6.6.21/drivers/md/bcache/ |
D | sysfs.h | 86 #define var_printf(_var, fmt) sysfs_printf(_var, fmt, var(_var)) argument 87 #define var_print(_var) sysfs_print(_var, var(_var)) argument 88 #define var_hprint(_var) sysfs_hprint(_var, var(_var)) argument
|
/linux-6.6.21/arch/x86/include/asm/ |
D | percpu.h | 101 #define percpu_to_op(size, qual, op, _var, _val) \ argument 105 typeof(_var) pto_tmp__; \ 110 : [var] "+m" (_var) \ 114 #define percpu_unary_op(size, qual, op, _var) \ argument 117 : [var] "+m" (_var)); \ 142 #define percpu_from_op(size, qual, op, _var) \ argument 147 : [var] "m" (_var)); \ 148 (typeof(_var))(unsigned long) pfo_val__; \ 151 #define percpu_stable_op(size, op, _var) \ argument 156 : [var] "p" (&(_var))); \ [all …]
|
D | rmwcc.h | 13 #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ argument 17 : : [var] "m" (_var), ## __VA_ARGS__ \ 29 #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ argument 33 : [var] "+m" (_var), CC_OUT(cc) (c) \
|
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-common.h | 1448 #define GET_BITS(_var, _index, _width) \ argument 1449 (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) 1451 #define SET_BITS(_var, _index, _width, _val) \ argument 1453 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ 1454 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ 1457 #define GET_BITS_LE(_var, _index, _width) \ argument 1458 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) 1460 #define SET_BITS_LE(_var, _index, _width, _val) \ argument 1462 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \ 1463 (_var) |= cpu_to_le32((((_val) & \ [all …]
|
D | xgbe-ethtool.c | 130 #define XGMAC_MMC_STAT(_string, _var) \ argument 132 sizeof_field(struct xgbe_mmc_stats, _var), \ 133 offsetof(struct xgbe_prv_data, mmc_stats._var), \ 136 #define XGMAC_EXT_STAT(_string, _var) \ argument 138 sizeof_field(struct xgbe_ext_stats, _var), \ 139 offsetof(struct xgbe_prv_data, ext_stats._var), \
|
/linux-6.6.21/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac.h | 110 typeof(var) _var = le32_to_cpu((var)); \ 111 ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \ 115 typeof(var) _var = (var); \ 120 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \ 124 typeof(var) _var = (var); \ 129 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \ 130 cpu_to_le32(_var); \
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | util.h | 27 #define MT76_INCR(_var, _size) \ argument 28 (_var = (((_var) + 1) % (_size)))
|
/linux-6.6.21/include/linux/ |
D | dynamic_debug.h | 102 #define DECLARE_DYNDBG_CLASSMAP(_var, _maptype, _base, ...) \ argument 103 static const char *_var##_classnames[] = { __VA_ARGS__ }; \ 105 __section("__dyndbg_classes") _var = { \ 111 .class_names = _var##_classnames, \
|
D | device.h | 227 #define DEVICE_ULONG_ATTR(_name, _mode, _var) \ argument 229 { __ATTR(_name, _mode, device_show_ulong, device_store_ulong), &(_var) } 239 #define DEVICE_INT_ATTR(_name, _mode, _var) \ argument 241 { __ATTR(_name, _mode, device_show_int, device_store_int), &(_var) } 251 #define DEVICE_BOOL_ATTR(_name, _mode, _var) \ argument 253 { __ATTR(_name, _mode, device_show_bool, device_store_bool), &(_var) }
|
D | perf_event.h | 1838 #define PMU_EVENT_ATTR(_name, _var, _id, _show) \ argument 1839 static struct perf_pmu_events_attr _var = { \ 1844 #define PMU_EVENT_ATTR_STRING(_name, _var, _str) \ argument 1845 static struct perf_pmu_events_attr _var = { \
|
/linux-6.6.21/arch/x86/events/intel/ |
D | uncore.h | 236 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument 237 static ssize_t __uncore_##_var##_show(struct device *dev, \ 244 static struct device_attribute format_attr_##_var = \ 245 __ATTR(_name, 0444, __uncore_##_var##_show, NULL)
|
D | cstate.c | 114 #define DEFINE_CSTATE_FORMAT_ATTR(_var, _name, _format) \ argument 115 static ssize_t __cstate_##_var##_show(struct device *dev, \ 122 static struct device_attribute format_attr_##_var = \ 123 __ATTR(_name, 0444, __cstate_##_var##_show, NULL)
|
/linux-6.6.21/arch/x86/events/amd/ |
D | uncore.c | 304 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument 305 static ssize_t __uncore_##_var##_show(struct device *dev, \ 312 static struct device_attribute format_attr_##_var = \ 313 __ATTR(_name, 0444, __uncore_##_var##_show, NULL)
|
/linux-6.6.21/drivers/platform/chrome/ |
D | chromeos_acpi.c | 21 #define DEV_ATTR(_var, _name) \ argument 22 static struct device_attribute dev_attr_##_var = \
|
/linux-6.6.21/drivers/perf/ |
D | fsl_imx8_ddr_perf.c | 179 #define PERF_EXT_ATTR_ENTRY(_name, _func, _var) \ argument 181 __ATTR(_name, 0444, _func, NULL), (void *)_var \ 184 #define PERF_FILTER_EXT_ATTR_ENTRY(_name, _var) \ argument 185 PERF_EXT_ATTR_ENTRY(_name, ddr_perf_filter_cap_show, _var)
|
D | thunderx2_pmu.c | 124 #define TX2_PMU_FORMAT_ATTR(_var, _name, _format) \ argument 126 __tx2_pmu_##_var##_show(struct device *dev, \ 134 static struct device_attribute format_attr_##_var = \ 135 __ATTR(_name, 0444, __tx2_pmu_##_var##_show, NULL)
|
D | arm_spe_pmu.c | 153 #define SPE_EXT_ATTR_ENTRY(_name, _func, _var) \ argument 155 { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_var } \ 158 #define SPE_CAP_EXT_ATTR_ENTRY(_name, _var) \ argument 159 SPE_EXT_ATTR_ENTRY(_name, arm_spe_pmu_cap_show, _var)
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 93 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument
|
/linux-6.6.21/arch/x86/events/ |
D | perf_event.h | 704 #define hybrid_var(_pmu, _var) \ argument 706 typeof(&_var) __Fp = &_var; \ 709 __Fp = &hybrid_pmu(_pmu)->_var; \
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | btf_dump.c | 339 #define TEST_BTF_DUMP_VAR(_b, _d, _prefix, _str, _var, _type, _flags, \ argument 345 (void) btf_dump_data(_b, _d, _var, _prefix, _flags, \
|
/linux-6.6.21/drivers/edac/ |
D | edac_mc_sysfs.c | 137 #define DEVICE_CHANNEL(_name, _mode, _show, _store, _var) \ argument 139 { __ATTR(_name, _mode, _show, _store), (_var) }
|