Lines Matching refs:_name
306 #define EEEPC_CREATE_DEVICE_ATTR(_name, _mode, _cm) \
307 static ssize_t show_##_name(struct device *dev, \
313 static ssize_t store_##_name(struct device *dev, \
319 static struct device_attribute dev_attr_##_name = { \
321 .name = __stringify(_name), \
323 .show = show_##_name, \
324 .store = store_##_name, \
1018 #define EEEPC_CREATE_SENSOR_ATTR(_name, _mode, _set, _get) \
1019 static ssize_t show_##_name(struct device *dev, \
1025 static ssize_t store_##_name(struct device *dev, \
1031 static SENSOR_DEVICE_ATTR(_name, _mode, show_##_name, store_##_name, 0);