Lines Matching refs:attr

70 show_rc6_mask(struct device *kdev, struct device_attribute *attr, char *buf)  in show_rc6_mask()  argument
77 show_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6_ms() argument
85 show_rc6p_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6p_ms() argument
93 show_rc6pp_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6pp_ms() argument
101 show_media_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_media_rc6_ms() argument
115 &dev_attr_rc6_enable.attr,
116 &dev_attr_rc6_residency_ms.attr,
126 &dev_attr_rc6p_residency_ms.attr,
127 &dev_attr_rc6pp_residency_ms.attr,
137 &dev_attr_media_rc6_residency_ms.attr,
163 struct bin_attribute *attr, char *buf, in i915_l3_read() argument
170 int slice = (int)(uintptr_t)attr->private; in i915_l3_read()
199 struct bin_attribute *attr, char *buf, in i915_l3_write() argument
208 int slice = (int)(uintptr_t)attr->private; in i915_l3_write()
256 .attr = {.name = "l3_parity", .mode = (S_IRUSR | S_IWUSR)},
265 .attr = {.name = "l3_parity_slice_1", .mode = (S_IRUSR | S_IWUSR)},
274 struct device_attribute *attr, char *buf) in gt_act_freq_mhz_show() argument
308 struct device_attribute *attr, char *buf) in gt_cur_freq_mhz_show() argument
329 struct device_attribute *attr, char *buf) in vlv_rpe_freq_mhz_show() argument
340 static ssize_t gt_max_freq_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) in gt_max_freq_mhz_show() argument
357 struct device_attribute *attr, in gt_max_freq_mhz_store() argument
403 static ssize_t gt_min_freq_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) in gt_min_freq_mhz_show() argument
420 struct device_attribute *attr, in gt_min_freq_mhz_store() argument
470 static ssize_t gt_rp_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf);
476 static ssize_t gt_rp_mhz_show(struct device *kdev, struct device_attribute *attr, char *buf) in gt_rp_mhz_show() argument
483 if (attr == &dev_attr_gt_RP0_freq_mhz) in gt_rp_mhz_show()
485 else if (attr == &dev_attr_gt_RP1_freq_mhz) in gt_rp_mhz_show()
487 else if (attr == &dev_attr_gt_RPn_freq_mhz) in gt_rp_mhz_show()
496 &dev_attr_gt_act_freq_mhz.attr,
497 &dev_attr_gt_cur_freq_mhz.attr,
498 &dev_attr_gt_max_freq_mhz.attr,
499 &dev_attr_gt_min_freq_mhz.attr,
500 &dev_attr_gt_RP0_freq_mhz.attr,
501 &dev_attr_gt_RP1_freq_mhz.attr,
502 &dev_attr_gt_RPn_freq_mhz.attr,
507 &dev_attr_gt_act_freq_mhz.attr,
508 &dev_attr_gt_cur_freq_mhz.attr,
509 &dev_attr_gt_max_freq_mhz.attr,
510 &dev_attr_gt_min_freq_mhz.attr,
511 &dev_attr_gt_RP0_freq_mhz.attr,
512 &dev_attr_gt_RP1_freq_mhz.attr,
513 &dev_attr_gt_RPn_freq_mhz.attr,
514 &dev_attr_vlv_rpe_freq_mhz.attr,
519 struct bin_attribute *attr, char *buf, in error_state_read() argument
555 struct bin_attribute *attr, char *buf, in error_state_write() argument
576 .attr.name = "error",
577 .attr.mode = S_IRUSR | S_IWUSR,