/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
|
/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), \
|
/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); \
|
/drivers/net/wireless/mediatek/mt76/ |
D | util.h | 27 #define MT76_INCR(_var, _size) \ argument 28 (_var = (((_var) + 1) % (_size)))
|
/drivers/perf/ |
D | fsl_imx8_ddr_perf.c | 181 #define PERF_EXT_ATTR_ENTRY(_name, _func, _var) \ argument 183 __ATTR(_name, 0444, _func, NULL), (void *)_var \ 186 #define PERF_FILTER_EXT_ATTR_ENTRY(_name, _var) \ argument 187 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 | 150 #define SPE_EXT_ATTR_ENTRY(_name, _func, _var) \ argument 152 { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_var } \ 155 #define SPE_CAP_EXT_ATTR_ENTRY(_name, _var) \ argument 156 SPE_EXT_ATTR_ENTRY(_name, arm_spe_pmu_cap_show, _var)
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 93 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument
|
/drivers/edac/ |
D | edac_mc_sysfs.c | 137 #define DEVICE_CHANNEL(_name, _mode, _show, _store, _var) \ argument 139 { __ATTR(_name, _mode, _show, _store), (_var) }
|