Lines Matching refs:_name
168 #define define_one_ro(_name, show) \ argument
169 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0444, show, NULL)
170 #define define_one_rw(_name, show, store) \ argument
171 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0644, show, store)
245 #define define_one_state_ro(_name, show) \ argument
246 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0444, show, NULL)
248 #define define_one_state_rw(_name, show, store) \ argument
249 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0644, show, store)
251 #define define_show_state_function(_name) \ argument
252 static ssize_t show_state_##_name(struct cpuidle_state *state, \
255 return sprintf(buf, "%u\n", state->_name);\
258 #define define_store_state_ull_function(_name) \ argument
259 static ssize_t store_state_##_name(struct cpuidle_state *state, \
271 state_usage->_name = 1; \
273 state_usage->_name = 0; \
277 #define define_show_state_ull_function(_name) \ argument
278 static ssize_t show_state_##_name(struct cpuidle_state *state, \
282 return sprintf(buf, "%llu\n", state_usage->_name);\
285 #define define_show_state_str_function(_name) \ argument
286 static ssize_t show_state_##_name(struct cpuidle_state *state, \
290 if (state->_name[0] == '\0')\
292 return sprintf(buf, "%s\n", state->_name);\
449 #define define_one_driver_ro(_name, show) \ argument
450 static struct cpuidle_driver_attr attr_driver_##_name = \
451 __ATTR(_name, 0444, show, NULL)