Home
last modified time | relevance | path

Searched refs:_var (Results 1 – 8 of 8) sorted by relevance

/drivers/md/bcache/
Dsysfs.h72 #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/
Dxgbe-common.h1386 #define GET_BITS(_var, _index, _width) \ argument
1387 (((_var) >> (_index)) & ((0x1 << (_width)) - 1))
1389 #define SET_BITS(_var, _index, _width, _val) \ argument
1391 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \
1392 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \
1395 #define GET_BITS_LE(_var, _index, _width) \ argument
1396 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1))
1398 #define SET_BITS_LE(_var, _index, _width, _val) \ argument
1400 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \
1401 (_var) |= cpu_to_le32((((_val) & \
[all …]
Dxgbe-ethtool.c130 #define XGMAC_MMC_STAT(_string, _var) \ argument
132 FIELD_SIZEOF(struct xgbe_mmc_stats, _var), \
133 offsetof(struct xgbe_prv_data, mmc_stats._var), \
136 #define XGMAC_EXT_STAT(_string, _var) \ argument
138 FIELD_SIZEOF(struct xgbe_ext_stats, _var), \
139 offsetof(struct xgbe_prv_data, ext_stats._var), \
/drivers/net/wireless/mediatek/mt76/
Dutil.h14 #define MT76_INCR(_var, _size) \ argument
15 (_var = (((_var) + 1) % (_size)))
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h109 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/gpu/drm/vmwgfx/
Dvmwgfx_blit.c92 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument
/drivers/perf/
Darm_spe_pmu.c133 #define SPE_EXT_ATTR_ENTRY(_name, _func, _var) \ argument
135 { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_var } \
138 #define SPE_CAP_EXT_ATTR_ENTRY(_name, _var) \ argument
139 SPE_EXT_ATTR_ENTRY(_name, arm_spe_pmu_cap_show, _var)
/drivers/edac/
Dedac_mc_sysfs.c137 #define DEVICE_CHANNEL(_name, _mode, _show, _store, _var) \ argument
139 { __ATTR(_name, _mode, _show, _store), (_var) }