/kernel/linux/linux-5.10/drivers/md/bcache/ |
D | sysfs.h | 72 #define var_printf(_var, fmt) sysfs_printf(_var, fmt, var(_var)) argument 73 #define var_print(_var) sysfs_print(_var, var(_var)) argument 74 #define var_hprint(_var) sysfs_hprint(_var, var(_var)) argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-common.h | 1408 #define GET_BITS(_var, _index, _width) \ argument 1409 (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) 1411 #define SET_BITS(_var, _index, _width, _val) \ argument 1413 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ 1414 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ 1417 #define GET_BITS_LE(_var, _index, _width) \ argument 1418 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) 1420 #define SET_BITS_LE(_var, _index, _width, _val) \ argument 1422 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \ 1423 (_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), \
|
/kernel/linux/linux-5.10/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 | 18 #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ argument 22 : : [var] "m" (_var), ## __VA_ARGS__ \ 34 #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ argument 38 : [var] "+m" (_var), CC_OUT(cc) (c) \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac.h | 109 typeof(var) _var = le32_to_cpu((var)); \ 110 ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \ 114 typeof(var) _var = (var); \ 119 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \ 123 typeof(var) _var = (var); \ 128 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \ 129 cpu_to_le32(_var); \
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | util.h | 27 #define MT76_INCR(_var, _size) \ argument 28 (_var = (((_var) + 1) % (_size)))
|
/kernel/linux/linux-5.10/net/batman-adv/ |
D | sysfs.c | 175 #define BATADV_ATTR_SIF_STORE_UINT(_name, _var, _min, _max, _post_func) \ argument 187 &bat_priv->_var, net_dev, \ 195 #define BATADV_ATTR_SIF_SHOW_UINT(_name, _var) \ argument 202 return sprintf(buff, "%i\n", atomic_read(&bat_priv->_var)); \ 208 #define BATADV_ATTR_SIF_UINT(_name, _var, _mode, _min, _max, _post_func)\ argument 209 static BATADV_ATTR_SIF_STORE_UINT(_name, _var, _min, _max, _post_func)\ 210 static BATADV_ATTR_SIF_SHOW_UINT(_name, _var) \ 259 #define BATADV_ATTR_HIF_STORE_UINT(_name, _var, _min, _max, _post_func) \ argument 276 &hard_iface->_var, \ 289 #define BATADV_ATTR_HIF_SHOW_UINT(_name, _var) \ argument [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | device.h | 140 #define DEVICE_ULONG_ATTR(_name, _mode, _var) \ argument 142 { __ATTR(_name, _mode, device_show_ulong, device_store_ulong), &(_var) } 143 #define DEVICE_INT_ATTR(_name, _mode, _var) \ argument 145 { __ATTR(_name, _mode, device_show_int, device_store_int), &(_var) } 146 #define DEVICE_BOOL_ATTR(_name, _mode, _var) \ argument 148 { __ATTR(_name, _mode, device_show_bool, device_store_bool), &(_var) }
|
D | perf_event.h | 1559 #define PMU_EVENT_ATTR(_name, _var, _id, _show) \ argument 1560 static struct perf_pmu_events_attr _var = { \ 1565 #define PMU_EVENT_ATTR_STRING(_name, _var, _str) \ argument 1566 static struct perf_pmu_events_attr _var = { \
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
D | uncore.h | 204 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument 205 static ssize_t __uncore_##_var##_show(struct device *dev, \ 212 static struct device_attribute format_attr_##_var = \ 213 __ATTR(_name, 0444, __uncore_##_var##_show, NULL)
|
D | cstate.c | 109 #define DEFINE_CSTATE_FORMAT_ATTR(_var, _name, _format) \ argument 110 static ssize_t __cstate_##_var##_show(struct device *dev, \ 117 static struct device_attribute format_attr_##_var = \ 118 __ATTR(_name, 0444, __cstate_##_var##_show, NULL)
|
/kernel/linux/linux-5.10/arch/x86/events/amd/ |
D | uncore.c | 277 #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ argument 278 static ssize_t __uncore_##_var##_show(struct device *dev, \ 285 static struct device_attribute format_attr_##_var = \ 286 __ATTR(_name, 0444, __uncore_##_var##_show, NULL)
|
/kernel/linux/linux-5.10/drivers/perf/ |
D | fsl_imx8_ddr_perf.c | 123 #define PERF_EXT_ATTR_ENTRY(_name, _func, _var) \ argument 125 __ATTR(_name, 0444, _func, NULL), (void *)_var \ 128 #define PERF_FILTER_EXT_ATTR_ENTRY(_name, _var) \ argument 129 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 | 151 #define SPE_EXT_ATTR_ENTRY(_name, _func, _var) \ argument 153 { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_var } \ 156 #define SPE_CAP_EXT_ATTR_ENTRY(_name, _var) \ argument 157 SPE_EXT_ATTR_ENTRY(_name, arm_spe_pmu_cap_show, _var)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 93 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | edac_mc_sysfs.c | 137 #define DEVICE_CHANNEL(_name, _mode, _show, _store, _var) \ argument 139 { __ATTR(_name, _mode, _show, _store), (_var) }
|