| /linux/drivers/md/bcache/ |
| H A 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/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-common.h | 1391 #define GET_BITS(_var, _index, _width) \ argument 1392 (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) 1394 #define SET_BITS(_var, _index, _width, _val) \ argument 1396 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ 1397 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ 1400 #define GET_BITS_LE(_var, _index, _width) \ argument 1401 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) 1403 #define SET_BITS_LE(_var, _index, _width, _val) \ argument 1405 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \ 1406 (_var) |= cpu_to_le32((((_val) & \ [all …]
|
| /linux/include/linux/ |
| H A D | pm_runtime.h | 630 #define PM_RUNTIME_ACQUIRE(_dev, _var) \ argument 631 ACQUIRE(pm_runtime_active_try, _var)(_dev) 633 #define PM_RUNTIME_ACQUIRE_AUTOSUSPEND(_dev, _var) \ argument 634 ACQUIRE(pm_runtime_active_auto_try, _var)(_dev) 636 #define PM_RUNTIME_ACQUIRE_IF_ENABLED(_dev, _var) \ argument 637 ACQUIRE(pm_runtime_active_try_enabled, _var)(_dev) 639 #define PM_RUNTIME_ACQUIRE_IF_ENABLED_AUTOSUSPEND(_dev, _var) \ argument 640 ACQUIRE(pm_runtime_active_auto_try_enabled, _var)(_dev)
|
| H A D | dynamic_debug.h | 103 #define DECLARE_DYNDBG_CLASSMAP(_var, _maptype, _base, ...) \ argument 104 static const char *_var##_classnames[] = { __VA_ARGS__ }; \ 106 __section("__dyndbg_classes") _var = { \ 112 .class_names = _var##_classnames, \
|
| H A D | device.h | 340 #define DEVICE_ULONG_ATTR(_name, _mode, _var) \ argument 342 { __DEVICE_ATTR(_name, _mode, device_show_ulong, device_store_ulong), &(_var) } 352 #define DEVICE_INT_ATTR(_name, _mode, _var) \ argument 354 { __DEVICE_ATTR(_name, _mode, device_show_int, device_store_int), &(_var) } 364 #define DEVICE_BOOL_ATTR(_name, _mode, _var) \ argument 366 { __DEVICE_ATTR(_name, _mode, device_show_bool, device_store_bool), &(_var) } 377 #define DEVICE_STRING_ATTR_RO(_name, _mode, _var) \ argument 379 { __DEVICE_ATTR(_name, (_mode) & ~0222, device_show_string, NULL), (_var) }
|
| H A D | perf_event.h | 2063 #define PMU_EVENT_ATTR(_name, _var, _id, _show) \ 2064 static struct perf_pmu_events_attr _var = { \ argument 2069 #define PMU_EVENT_ATTR_STRING(_name, _var, _str) \ 2070 static struct perf_pmu_events_attr _var = { \ argument
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A 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/drivers/clk/sophgo/ |
| H A D | clk-cv18xx-pll.h | 24 #define for_each_pll_limit_range(_var, _restrict) \ argument 25 for (_var = (_restrict)->min; _var <= (_restrict)->max; _var++)
|
| H A D | clk-sg2044-pll.c | 56 #define for_each_pll_limit_range(_var, _limit) \ argument 57 for (_var = (_limit)->min; _var <= (_limit)->max; _var++)
|
| /linux/drivers/clk/ |
| H A D | clk-k230.c | 55 #define K230_CLK_RATE_FORMAT_PNAME(_var, _id, \ argument 61 static struct k230_clk_rate _var = { \ 76 .hw.init = CLK_HW_INIT_FW_NAME(#_var, \ 82 #define K230_CLK_RATE_FORMAT(_var, _id, \ argument 88 static struct k230_clk_rate _var = { \ 103 .hw.init = CLK_HW_INIT_HW(#_var, \ 109 #define K230_CLK_GATE_FORMAT_PNAME(_var, _id, \ argument 112 static struct k230_clk_gate _var = { \ 118 .hw.init = CLK_HW_INIT_FW_NAME(#_var, \ 123 #define K230_CLK_GATE_FORMAT(_var, _id, \ argument [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | rmwcc.h | 9 #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ argument 13 : [var] "+m" (_var), "=@cc" #cc (c) \
|
| /linux/drivers/platform/chrome/ |
| H A D | chromeos_acpi.c | 21 #define DEV_ATTR(_var, _name) \ argument 22 static struct device_attribute dev_attr_##_var = \
|
| /linux/drivers/perf/ |
| H A D | arm_spe_pmu.c | 175 #define SPE_EXT_ATTR_ENTRY(_name, _func, _var) \ argument 177 { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_var } \ 180 #define SPE_CAP_EXT_ATTR_ENTRY(_name, _var) \ argument 181 SPE_EXT_ATTR_ENTRY(_name, arm_spe_pmu_cap_show, _var) 182 #define SPE_CAP_EXT_ATTR_ENTRY_HEX(_name, _var) \ argument 183 SPE_EXT_ATTR_ENTRY(_name, arm_spe_pmu_cap_show_hex, _var)
|
| H A D | fsl_imx8_ddr_perf.c | 215 #define PERF_EXT_ATTR_ENTRY(_name, _func, _var) \ argument 217 __ATTR(_name, 0444, _func, NULL), (void *)_var \ 220 #define PERF_FILTER_EXT_ATTR_ENTRY(_name, _var) \ argument 221 PERF_EXT_ATTR_ENTRY(_name, ddr_perf_filter_cap_show, _var)
|
| H A 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)
|
| /linux/drivers/devfreq/event/ |
| H A D | rockchip-dfi.c | 374 #define DFI_PMU_EVENT_ATTR(_name, _var, _str) \ argument 375 PMU_EVENT_ATTR_STRING(_name, _var, _str); \ 376 PMU_EVENT_ATTR_STRING(_name.unit, _var##_unit, "MB"); \ 377 PMU_EVENT_ATTR_STRING(_name.scale, _var##_scale, "9.536743164e-07")
|
| /linux/arch/x86/events/amd/ |
| H A D | uncore.c | 369 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument 370 static ssize_t __uncore_##_var##_show(struct device *dev, \ 377 static struct device_attribute format_attr_##_var = \ 378 __ATTR(_name, 0444, __uncore_##_var##_show, NULL)
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_blit.c | 96 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_dump.c | 409 #define TEST_BTF_DUMP_VAR(_b, _d, _prefix, _str, _var, _type, _flags, \ argument 415 (void) btf_dump_data(_b, _d, _var, _prefix, _flags, \
|