Lines Matching refs:attr

100 show_rc6_mask(struct device *kdev, struct device_attribute *attr, char *buf)  in show_rc6_mask()  argument
107 show_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6_ms() argument
115 show_rc6p_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6p_ms() argument
123 show_rc6pp_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6pp_ms() argument
131 show_media_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_media_rc6_ms() argument
145 &dev_attr_rc6_enable.attr,
146 &dev_attr_rc6_residency_ms.attr,
156 &dev_attr_rc6p_residency_ms.attr,
157 &dev_attr_rc6pp_residency_ms.attr,
167 &dev_attr_media_rc6_residency_ms.attr,
193 struct bin_attribute *attr, char *buf, in i915_l3_read() argument
200 int slice = (int)(uintptr_t)attr->private; in i915_l3_read()
229 struct bin_attribute *attr, char *buf, in i915_l3_write() argument
238 int slice = (int)(uintptr_t)attr->private; in i915_l3_write()
286 .attr = {.name = "l3_parity", .mode = (S_IRUSR | S_IWUSR)},
295 .attr = {.name = "l3_parity_slice_1", .mode = (S_IRUSR | S_IWUSR)},
304 struct device_attribute *attr, char *buf) in gt_act_freq_mhz_show() argument
338 struct device_attribute *attr, char *buf) in gt_cur_freq_mhz_show() argument
359 struct device_attribute *attr, char *buf) in vlv_rpe_freq_mhz_show() argument
370 static ssize_t gt_max_freq_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) in gt_max_freq_mhz_show() argument
387 struct device_attribute *attr, in gt_max_freq_mhz_store() argument
433 static ssize_t gt_min_freq_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) in gt_min_freq_mhz_show() argument
450 struct device_attribute *attr, in gt_min_freq_mhz_store() argument
500 static ssize_t gt_rp_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf);
506 static ssize_t gt_rp_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) in gt_rp_mhz_show() argument
513 if (attr == &dev_attr_gt_RP0_freq_mhz) in gt_rp_mhz_show()
515 else if (attr == &dev_attr_gt_RP1_freq_mhz) in gt_rp_mhz_show()
517 else if (attr == &dev_attr_gt_RPn_freq_mhz) in gt_rp_mhz_show()
526 &dev_attr_gt_act_freq_mhz.attr,
527 &dev_attr_gt_cur_freq_mhz.attr,
528 &dev_attr_gt_max_freq_mhz.attr,
529 &dev_attr_gt_min_freq_mhz.attr,
530 &dev_attr_gt_RP0_freq_mhz.attr,
531 &dev_attr_gt_RP1_freq_mhz.attr,
532 &dev_attr_gt_RPn_freq_mhz.attr,
537 &dev_attr_gt_act_freq_mhz.attr,
538 &dev_attr_gt_cur_freq_mhz.attr,
539 &dev_attr_gt_max_freq_mhz.attr,
540 &dev_attr_gt_min_freq_mhz.attr,
541 &dev_attr_gt_RP0_freq_mhz.attr,
542 &dev_attr_gt_RP1_freq_mhz.attr,
543 &dev_attr_gt_RPn_freq_mhz.attr,
544 &dev_attr_vlv_rpe_freq_mhz.attr,
549 struct bin_attribute *attr, char *buf, in error_state_read() argument
585 struct bin_attribute *attr, char *buf, in error_state_write() argument
606 .attr.name = "error",
607 .attr.mode = S_IRUSR | S_IWUSR,