Lines Matching refs:show
140 ssize_t (*show)(struct cpuidle_device *, char *); member
167 if (cattr->show) { in cpuidle_show()
169 ret = cattr->show(dev, buf); in cpuidle_show()
191 .show = cpuidle_show,
210 ssize_t (*show)(struct cpuidle_state *, \ member
216 #define define_one_state_ro(_name, show) \ argument
217 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0444, show, NULL)
219 #define define_one_state_rw(_name, show, store) \ argument
220 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0644, show, store)
359 #define define_one_state_s2idle_ro(_name, show) \ argument
361 __ATTR(_name, 0444, show, NULL)
413 if (cattr->show) in cpuidle_state_show()
414 ret = cattr->show(state, state_usage, buf); in cpuidle_state_show()
438 .show = cpuidle_state_show,
524 #define define_one_driver_ro(_name, show) \ argument
526 __ATTR(_name, 0444, show, NULL)
536 ssize_t (*show)(struct cpuidle_driver *, char *); member
564 if (dattr->show) in cpuidle_driver_show()
565 ret = dattr->show(driver_kobj->drv, buf); in cpuidle_driver_show()
586 .show = cpuidle_driver_show,