Home
last modified time | relevance | path

Searched defs:kobj (Results 1 – 22 of 22) sorted by relevance

/openbsd-src/sys/dev/pci/drm/i915/gt/
H A Dsysfs_engines.c21 static struct intel_engine_cs *kobj_to_engine(struct kobject *kobj) in kobj_to_engine()
27 name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show()
36 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in class_show()
45 inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in inst_show()
54 mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mmio_show()
123 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
134 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show()
143 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store()
181 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show()
192 max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_default()
[all …]
H A Dintel_gt_sysfs_pm.c30 sysfs_gt_attribute_w_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_w_func()
55 sysfs_gt_attribute_r_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_r_func()
195 static ssize_t rc6_enable_show(struct kobject *kobj, in rc6_enable_show()
293 static int __intel_gt_sysfs_create_group(struct kobject *kobj, in __intel_gt_sysfs_create_group()
301 static void intel_sysfs_rc6_init(struct intel_gt *gt, struct kobject *kobj) in intel_sysfs_rc6_init()
446 static ssize_t punit_req_freq_mhz_show(struct kobject *kobj, in punit_req_freq_mhz_show()
456 static ssize_t slpc_ignore_eff_freq_show(struct kobject *kobj, in slpc_ignore_eff_freq_show()
466 static ssize_t slpc_ignore_eff_freq_store(struct kobject *kobj, in slpc_ignore_eff_freq_store()
491 static ssize_t throttle_reason_bool_show(struct kobject *kobj, in throttle_reason_bool_show()
574 static ssize_t freq_factor_scale_show(struct kobject *kobj, in freq_factor_scale_show()
[all …]
H A Dintel_gt_sysfs.c23 bool is_object_gt(struct kobject *kobj) in is_object_gt()
28 struct intel_gt *intel_gt_sysfs_get_drvdata(struct kobject *kobj, in intel_gt_sysfs_get_drvdata()
56 static ssize_t id_show(struct kobject *kobj, in id_show()
73 static void kobj_gt_release(struct kobject *kobj) in kobj_gt_release()
H A Dintel_gt_sysfs.h21 static inline struct intel_gt *kobj_to_gt(struct kobject *kobj) in kobj_to_gt()
H A Dintel_reset.c1371 struct kobject *kobj = &gt->i915->drm.primary->kdev->kobj; in intel_gt_reset_global() local
/openbsd-src/sys/dev/pci/drm/i915/
H A Di915_sysfs.c64 i915_l3_read(struct file *filp, struct kobject *kobj, in i915_l3_read()
92 i915_l3_write(struct file *filp, struct kobject *kobj, in i915_l3_write()
162 static ssize_t error_state_read(struct file *filp, struct kobject *kobj, in error_state_read()
198 static ssize_t error_state_write(struct file *file, struct kobject *kobj, in error_state_write()
H A Di915_hwmon.c251 static umode_t hwm_attributes_visible(struct kobject *kobj, in hwm_attributes_visible()
H A Di915_perf.c4688 show_dynamic_id(struct kobject * kobj,struct kobj_attribute * attr,char * buf) show_dynamic_id() argument
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_discovery.c673 struct kobject kobj; /* ip_discovery/die/#die/#hw_id/#instance/<attrs...> */ member
775 static ssize_t ip_hw_instance_attr_show(struct kobject *kobj, in ip_hw_instance_attr_show() argument
792 static void ip_hw_instance_release(struct kobject *kobj) in ip_hw_instance_release() argument
809 static void ip_hw_id_release(struct kobject *kobj) in ip_hw_id_release() argument
855 ip_die_entry_attr_show(struct kobject * kobj,struct attribute * attr,char * buf) ip_die_entry_attr_show() argument
868 ip_die_entry_release(struct kobject * kobj) ip_die_entry_release() argument
898 struct kobject kobj; /* ip_discovery/ */ global() member
903 die_kobj_release(struct kobject * kobj) die_kobj_release() argument
912 ip_disc_release(struct kobject * kobj) ip_disc_release() argument
[all...]
H A Damdgpu_xgmi.h30 struct kobject kobj; member
H A Damdgpu_xgmi.c285 static ssize_t amdgpu_xgmi_show_attrs(struct kobject *kobj, in amdgpu_xgmi_show_attrs()
297 static void amdgpu_xgmi_hive_release(struct kobject *kobj) in amdgpu_xgmi_hive_release()
H A Damdgpu_psp.c3607 amdgpu_psp_vbflash_write(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buffer,loff_t pos,size_t count) amdgpu_psp_vbflash_write() argument
3647 amdgpu_psp_vbflash_read(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buffer,loff_t pos,size_t count) amdgpu_psp_vbflash_read() argument
3752 amdgpu_flash_attr_is_visible(struct kobject * kobj,struct attribute * attr,int idx) amdgpu_flash_attr_is_visible() argument
3764 amdgpu_bin_flash_attr_is_visible(struct kobject * kobj,struct bin_attribute * attr,int idx) amdgpu_bin_flash_attr_is_visible() argument
H A Damdgpu_ras.c1340 struct kobject *kobj, struct bin_attribute *attr, in amdgpu_ras_sysfs_badpages_read() argument
/openbsd-src/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_topology.c229 static ssize_t sysprops_show(struct kobject *kobj, struct attribute *attr, in sysprops_show() argument
254 static void kfd_topology_kobj_release(struct kobject *kobj) in kfd_topology_kobj_release() argument
268 static ssize_t iolink_show(struct kobject *kobj, struct attribute *attr, in iolink_show() argument
308 static ssize_t mem_show(struct kobject *kobj, struct attribute *attr, in mem_show() argument
340 static ssize_t kfd_cache_show(struct kobject *kobj, struct attribute *attr, in kfd_cache_show() argument
392 static ssize_t perf_show(struct kobject *kobj, struct kobj_attribute *attrs, in perf_show() argument
419 static ssize_t node_show(struct kobject *kobj, struct attribute *attr, in node_show() argument
560 static void kfd_remove_sysfs_file(struct kobject *kobj, struct attribute *attr) in kfd_remove_sysfs_file() argument
[all...]
H A Dkfd_process.c78 struct kobject *kobj; member
298 static ssize_t kfd_procfs_show(struct kobject *kobj, struct attribute *attr, in kfd_procfs_show() argument
336 kfd_procfs_kobj_release(struct kobject * kobj) kfd_procfs_kobj_release() argument
376 kfd_procfs_queue_show(struct kobject * kobj,struct attribute * attr,char * buffer) kfd_procfs_queue_show() argument
394 kfd_procfs_stats_show(struct kobject * kobj,struct attribute * attr,char * buffer) kfd_procfs_stats_show() argument
420 kfd_sysfs_counters_show(struct kobject * kobj,struct attribute * attr,char * buf) kfd_sysfs_counters_show() argument
517 kfd_sysfs_create_file(struct kobject * kobj,struct attribute * attr,char * name) kfd_sysfs_create_file() argument
[all...]
H A Dkfd_topology.h88 struct kobject *kobj; member
106 struct kobject *kobj; member
126 struct kobject *kobj; member
H A Dkfd_priv.h599 struct kobject kobj; member
950 struct kobject *kobj; member
/openbsd-src/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.c451 void hdcp_destroy(struct kobject *kobj, struct hdcp_workqueue *hdcp_work) in hdcp_destroy()
616 static ssize_t srm_data_write(struct file *filp, struct kobject *kobj, in srm_data_write()
640 static ssize_t srm_data_read(struct file *filp, struct kobject *kobj, in srm_data_read()
/openbsd-src/sys/dev/pci/drm/i915/gvt/
H A Dfirmware.c54 gvt_firmware_read(struct file *filp, struct kobject *kobj, in gvt_firmware_read()
H A Dhandlers.c1499 struct kobject *kobj = &vgpu->gvt->gt->i915->drm.primary->kdev->kobj; in send_display_ready_uevent() local
/openbsd-src/sys/dev/pci/drm/radeon/
H A Dradeon_pm.c785 static umode_t hwmon_attributes_visible(struct kobject *kobj, in hwmon_attributes_visible() argument
/openbsd-src/sys/dev/pci/drm/amd/pm/
H A Damdgpu_pm.c3192 static umode_t hwmon_attributes_visible(struct kobject *kobj, in hwmon_attributes_visible() argument