• Home
  • Raw
  • Download

Lines Matching refs:kdev

70 show_rc6_mask(struct device *kdev, struct device_attribute *attr, char *buf)  in show_rc6_mask()  argument
72 struct drm_minor *dminor = dev_to_drm_minor(kdev); in show_rc6_mask()
77 show_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6_ms() argument
79 struct drm_minor *dminor = dev_get_drvdata(kdev); in show_rc6_ms()
85 show_rc6p_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6p_ms() argument
87 struct drm_minor *dminor = dev_to_drm_minor(kdev); in show_rc6p_ms()
93 show_rc6pp_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6pp_ms() argument
95 struct drm_minor *dminor = dev_to_drm_minor(kdev); in show_rc6pp_ms()
101 show_media_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_media_rc6_ms() argument
103 struct drm_minor *dminor = dev_get_drvdata(kdev); in show_media_rc6_ms()
273 static ssize_t gt_act_freq_mhz_show(struct device *kdev, in gt_act_freq_mhz_show() argument
276 struct drm_minor *minor = dev_to_drm_minor(kdev); in gt_act_freq_mhz_show()
307 static ssize_t gt_cur_freq_mhz_show(struct device *kdev, in gt_cur_freq_mhz_show() argument
310 struct drm_minor *minor = dev_to_drm_minor(kdev); in gt_cur_freq_mhz_show()
328 static ssize_t vlv_rpe_freq_mhz_show(struct device *kdev, in vlv_rpe_freq_mhz_show() argument
331 struct drm_minor *minor = dev_to_drm_minor(kdev); in vlv_rpe_freq_mhz_show()
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
342 struct drm_minor *minor = dev_to_drm_minor(kdev); in gt_max_freq_mhz_show()
356 static ssize_t gt_max_freq_mhz_store(struct device *kdev, in gt_max_freq_mhz_store() argument
360 struct drm_minor *minor = dev_to_drm_minor(kdev); in gt_max_freq_mhz_store()
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
405 struct drm_minor *minor = dev_to_drm_minor(kdev); in gt_min_freq_mhz_show()
419 static ssize_t gt_min_freq_mhz_store(struct device *kdev, in gt_min_freq_mhz_store() argument
423 struct drm_minor *minor = dev_to_drm_minor(kdev); in gt_min_freq_mhz_store()
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
478 struct drm_minor *minor = dev_to_drm_minor(kdev); in gt_rp_mhz_show()
523 struct device *kdev = container_of(kobj, struct device, kobj); in error_state_read() local
524 struct drm_minor *minor = dev_to_drm_minor(kdev); in error_state_read()
558 struct device *kdev = container_of(kobj, struct device, kobj); in error_state_write() local
559 struct drm_minor *minor = dev_to_drm_minor(kdev); in error_state_write()
589 ret = sysfs_merge_group(&dev->primary->kdev->kobj, in i915_setup_sysfs()
595 ret = sysfs_merge_group(&dev->primary->kdev->kobj, in i915_setup_sysfs()
601 ret = sysfs_merge_group(&dev->primary->kdev->kobj, in i915_setup_sysfs()
608 ret = device_create_bin_file(dev->primary->kdev, &dpf_attrs); in i915_setup_sysfs()
613 ret = device_create_bin_file(dev->primary->kdev, in i915_setup_sysfs()
622 ret = sysfs_create_files(&dev->primary->kdev->kobj, vlv_attrs); in i915_setup_sysfs()
624 ret = sysfs_create_files(&dev->primary->kdev->kobj, gen6_attrs); in i915_setup_sysfs()
628 ret = sysfs_create_bin_file(&dev->primary->kdev->kobj, in i915_setup_sysfs()
636 sysfs_remove_bin_file(&dev->primary->kdev->kobj, &error_state_attr); in i915_teardown_sysfs()
638 sysfs_remove_files(&dev->primary->kdev->kobj, vlv_attrs); in i915_teardown_sysfs()
640 sysfs_remove_files(&dev->primary->kdev->kobj, gen6_attrs); in i915_teardown_sysfs()
641 device_remove_bin_file(dev->primary->kdev, &dpf_attrs_1); in i915_teardown_sysfs()
642 device_remove_bin_file(dev->primary->kdev, &dpf_attrs); in i915_teardown_sysfs()
644 sysfs_unmerge_group(&dev->primary->kdev->kobj, &rc6_attr_group); in i915_teardown_sysfs()
645 sysfs_unmerge_group(&dev->primary->kdev->kobj, &rc6p_attr_group); in i915_teardown_sysfs()