_var 109 arch/x86/events/intel/cstate.c #define DEFINE_CSTATE_FORMAT_ATTR(_var, _name, _format) \ _var 110 arch/x86/events/intel/cstate.c static ssize_t __cstate_##_var##_show(struct kobject *kobj, \ _var 117 arch/x86/events/intel/cstate.c static struct kobj_attribute format_attr_##_var = \ _var 118 arch/x86/events/intel/cstate.c __ATTR(_name, 0444, __cstate_##_var##_show, NULL) _var 94 arch/x86/events/intel/rapl.c #define DEFINE_RAPL_FORMAT_ATTR(_var, _name, _format) \ _var 95 arch/x86/events/intel/rapl.c static ssize_t __rapl_##_var##_show(struct kobject *kobj, \ _var 102 arch/x86/events/intel/rapl.c static struct kobj_attribute format_attr_##_var = \ _var 103 arch/x86/events/intel/rapl.c __ATTR(_name, 0444, __rapl_##_var##_show, NULL) _var 177 arch/x86/events/intel/uncore.h #define DEFINE_UNCORE_FORMAT_ATTR(_var, _name, _format) \ _var 178 arch/x86/events/intel/uncore.h static ssize_t __uncore_##_var##_show(struct kobject *kobj, \ _var 185 arch/x86/events/intel/uncore.h static struct kobj_attribute format_attr_##_var = \ _var 186 arch/x86/events/intel/uncore.h __ATTR(_name, 0444, __uncore_##_var##_show, NULL) _var 18 arch/x86/include/asm/rmwcc.h #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ _var 22 arch/x86/include/asm/rmwcc.h : : [var] "m" (_var), ## __VA_ARGS__ \ _var 34 arch/x86/include/asm/rmwcc.h #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ _var 38 arch/x86/include/asm/rmwcc.h : [var] "+m" (_var), CC_OUT(cc) (c) \ _var 137 drivers/edac/edac_mc_sysfs.c #define DEVICE_CHANNEL(_name, _mode, _show, _store, _var) \ _var 139 drivers/edac/edac_mc_sysfs.c { __ATTR(_name, _mode, _show, _store), (_var) } _var 92 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) _var 72 drivers/md/bcache/sysfs.h #define var_printf(_var, fmt) sysfs_printf(_var, fmt, var(_var)) _var 73 drivers/md/bcache/sysfs.h #define var_print(_var) sysfs_print(_var, var(_var)) _var 74 drivers/md/bcache/sysfs.h #define var_hprint(_var) sysfs_hprint(_var, var(_var)) _var 1386 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define GET_BITS(_var, _index, _width) \ _var 1387 drivers/net/ethernet/amd/xgbe/xgbe-common.h (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) _var 1389 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define SET_BITS(_var, _index, _width, _val) \ _var 1391 drivers/net/ethernet/amd/xgbe/xgbe-common.h (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ _var 1392 drivers/net/ethernet/amd/xgbe/xgbe-common.h (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ _var 1395 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define GET_BITS_LE(_var, _index, _width) \ _var 1396 drivers/net/ethernet/amd/xgbe/xgbe-common.h ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) _var 1398 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define SET_BITS_LE(_var, _index, _width, _val) \ _var 1400 drivers/net/ethernet/amd/xgbe/xgbe-common.h (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \ _var 1401 drivers/net/ethernet/amd/xgbe/xgbe-common.h (_var) |= cpu_to_le32((((_val) & \ _var 1413 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_GET_BITS(_var, _prefix, _field) \ _var 1414 drivers/net/ethernet/amd/xgbe/xgbe-common.h GET_BITS((_var), \ _var 1418 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_SET_BITS(_var, _prefix, _field, _val) \ _var 1419 drivers/net/ethernet/amd/xgbe/xgbe-common.h SET_BITS((_var), \ _var 1423 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_GET_BITS_LE(_var, _prefix, _field) \ _var 1424 drivers/net/ethernet/amd/xgbe/xgbe-common.h GET_BITS_LE((_var), \ _var 1428 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_SET_BITS_LE(_var, _prefix, _field, _val) \ _var 1429 drivers/net/ethernet/amd/xgbe/xgbe-common.h SET_BITS_LE((_var), \ _var 1513 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XPCS_GET_BITS(_var, _prefix, _field) \ _var 1514 drivers/net/ethernet/amd/xgbe/xgbe-common.h GET_BITS((_var), \ _var 1518 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XPCS_SET_BITS(_var, _prefix, _field, _val) \ _var 1519 drivers/net/ethernet/amd/xgbe/xgbe-common.h SET_BITS((_var), \ _var 1538 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XSIR_GET_BITS(_var, _prefix, _field) \ _var 1539 drivers/net/ethernet/amd/xgbe/xgbe-common.h GET_BITS((_var), \ _var 1543 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XSIR_SET_BITS(_var, _prefix, _field, _val) \ _var 1544 drivers/net/ethernet/amd/xgbe/xgbe-common.h SET_BITS((_var), \ _var 1614 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XP_GET_BITS(_var, _prefix, _field) \ _var 1615 drivers/net/ethernet/amd/xgbe/xgbe-common.h GET_BITS((_var), \ _var 1619 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XP_SET_BITS(_var, _prefix, _field, _val) \ _var 1620 drivers/net/ethernet/amd/xgbe/xgbe-common.h SET_BITS((_var), \ _var 1647 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XI2C_GET_BITS(_var, _prefix, _field) \ _var 1648 drivers/net/ethernet/amd/xgbe/xgbe-common.h GET_BITS((_var), \ _var 1652 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XI2C_SET_BITS(_var, _prefix, _field, _val) \ _var 1653 drivers/net/ethernet/amd/xgbe/xgbe-common.h SET_BITS((_var), \ _var 130 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c #define XGMAC_MMC_STAT(_string, _var) \ _var 132 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c FIELD_SIZEOF(struct xgbe_mmc_stats, _var), \ _var 133 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c offsetof(struct xgbe_prv_data, mmc_stats._var), \ _var 136 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c #define XGMAC_EXT_STAT(_string, _var) \ _var 138 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c FIELD_SIZEOF(struct xgbe_ext_stats, _var), \ _var 139 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c offsetof(struct xgbe_prv_data, ext_stats._var), \ _var 109 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(var) _var = le32_to_cpu((var)); \ _var 110 drivers/net/ethernet/synopsys/dwc-xlgmac.h ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \ _var 114 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(var) _var = (var); \ _var 119 drivers/net/ethernet/synopsys/dwc-xlgmac.h _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \ _var 123 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(var) _var = (var); \ _var 128 drivers/net/ethernet/synopsys/dwc-xlgmac.h _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \ _var 129 drivers/net/ethernet/synopsys/dwc-xlgmac.h cpu_to_le32(_var); \ _var 14 drivers/net/wireless/mediatek/mt76/util.h #define MT76_INCR(_var, _size) \ _var 15 drivers/net/wireless/mediatek/mt76/util.h (_var = (((_var) + 1) % (_size))) _var 133 drivers/perf/arm_spe_pmu.c #define SPE_EXT_ATTR_ENTRY(_name, _func, _var) \ _var 135 drivers/perf/arm_spe_pmu.c { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_var } \ _var 138 drivers/perf/arm_spe_pmu.c #define SPE_CAP_EXT_ATTR_ENTRY(_name, _var) \ _var 139 drivers/perf/arm_spe_pmu.c SPE_EXT_ATTR_ENTRY(_name, arm_spe_pmu_cap_show, _var) _var 842 include/linux/device.h #define DEVICE_ULONG_ATTR(_name, _mode, _var) \ _var 844 include/linux/device.h { __ATTR(_name, _mode, device_show_ulong, device_store_ulong), &(_var) } _var 845 include/linux/device.h #define DEVICE_INT_ATTR(_name, _mode, _var) \ _var 847 include/linux/device.h { __ATTR(_name, _mode, device_show_int, device_store_int), &(_var) } _var 848 include/linux/device.h #define DEVICE_BOOL_ATTR(_name, _mode, _var) \ _var 850 include/linux/device.h { __ATTR(_name, _mode, device_show_bool, device_store_bool), &(_var) } _var 1449 include/linux/perf_event.h #define PMU_EVENT_ATTR(_name, _var, _id, _show) \ _var 1450 include/linux/perf_event.h static struct perf_pmu_events_attr _var = { \ _var 1455 include/linux/perf_event.h #define PMU_EVENT_ATTR_STRING(_name, _var, _str) \ _var 1456 include/linux/perf_event.h static struct perf_pmu_events_attr _var = { \ _var 175 net/batman-adv/sysfs.c #define BATADV_ATTR_SIF_STORE_UINT(_name, _var, _min, _max, _post_func) \ _var 187 net/batman-adv/sysfs.c &bat_priv->_var, net_dev, \ _var 195 net/batman-adv/sysfs.c #define BATADV_ATTR_SIF_SHOW_UINT(_name, _var) \ _var 202 net/batman-adv/sysfs.c return sprintf(buff, "%i\n", atomic_read(&bat_priv->_var)); \ _var 208 net/batman-adv/sysfs.c #define BATADV_ATTR_SIF_UINT(_name, _var, _mode, _min, _max, _post_func)\ _var 209 net/batman-adv/sysfs.c static BATADV_ATTR_SIF_STORE_UINT(_name, _var, _min, _max, _post_func)\ _var 210 net/batman-adv/sysfs.c static BATADV_ATTR_SIF_SHOW_UINT(_name, _var) \ _var 259 net/batman-adv/sysfs.c #define BATADV_ATTR_HIF_STORE_UINT(_name, _var, _min, _max, _post_func) \ _var 276 net/batman-adv/sysfs.c &hard_iface->_var, \ _var 289 net/batman-adv/sysfs.c #define BATADV_ATTR_HIF_SHOW_UINT(_name, _var) \ _var 302 net/batman-adv/sysfs.c length = sprintf(buff, "%i\n", atomic_read(&hard_iface->_var)); \ _var 311 net/batman-adv/sysfs.c #define BATADV_ATTR_HIF_UINT(_name, _var, _mode, _min, _max, _post_func)\ _var 312 net/batman-adv/sysfs.c static BATADV_ATTR_HIF_STORE_UINT(_name, _var, _min, \ _var 314 net/batman-adv/sysfs.c static BATADV_ATTR_HIF_SHOW_UINT(_name, _var) \