Lines Matching refs:attr
28 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show() argument
36 date_show(struct device *dev, struct device_attribute *attr, char *buf) in date_show() argument
52 time_show(struct device *dev, struct device_attribute *attr, char *buf) in time_show() argument
68 since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf) in since_epoch_show() argument
86 max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf) in max_user_freq_show() argument
92 max_user_freq_store(struct device *dev, struct device_attribute *attr, in max_user_freq_store() argument
119 hctosys_show(struct device *dev, struct device_attribute *attr, char *buf) in hctosys_show() argument
133 wakealarm_show(struct device *dev, struct device_attribute *attr, char *buf) in wakealarm_show() argument
157 wakealarm_store(struct device *dev, struct device_attribute *attr, in wakealarm_store() argument
224 offset_show(struct device *dev, struct device_attribute *attr, char *buf) in offset_show() argument
237 offset_store(struct device *dev, struct device_attribute *attr, in offset_store() argument
252 range_show(struct device *dev, struct device_attribute *attr, char *buf) in range_show() argument
260 &dev_attr_name.attr,
261 &dev_attr_date.attr,
262 &dev_attr_time.attr,
263 &dev_attr_since_epoch.attr,
264 &dev_attr_max_user_freq.attr,
265 &dev_attr_hctosys.attr,
266 &dev_attr_wakealarm.attr,
267 &dev_attr_offset.attr,
268 &dev_attr_range.attr,
286 struct attribute *attr, int n) in rtc_attr_is_visible() argument
290 umode_t mode = attr->mode; in rtc_attr_is_visible()
292 if (attr == &dev_attr_wakealarm.attr) { in rtc_attr_is_visible()
295 } else if (attr == &dev_attr_offset.attr) { in rtc_attr_is_visible()
298 } else if (attr == &dev_attr_range.attr) { in rtc_attr_is_visible()