Home
last modified time | relevance | path

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

/openbsd/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()
143 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store()
203 timeslice_store(struct kobject *kobj, struct kobj_attribute *attr, in timeslice_store()
257 stop_store(struct kobject *kobj, struct kobj_attribute *attr, in stop_store()
365 heartbeat_store(struct kobject *kobj, struct kobj_attribute *attr, in heartbeat_store()
419 static void kobj_engine_release(struct kobject *kobj) in kobj_engine_release()
[all …]
H A Dintel_gt_sysfs_pm.c195 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()
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()
574 static ssize_t freq_factor_scale_show(struct kobject *kobj, in freq_factor_scale_show()
587 static ssize_t media_freq_factor_show(struct kobject *kobj, in media_freq_factor_show()
618 static ssize_t media_freq_factor_store(struct kobject *kobj, in media_freq_factor_store()
647 static ssize_t media_RP0_freq_mhz_show(struct kobject *kobj, in media_RP0_freq_mhz_show()
668 static ssize_t media_RPn_freq_mhz_show(struct kobject *kobj, in media_RPn_freq_mhz_show()
802 default_rps_up_threshold_pct_show(struct kobject *kobj, in default_rps_up_threshold_pct_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/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.c4655 static ssize_t show_dynamic_id(struct kobject *kobj, in show_dynamic_id()
/openbsd/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()
792 static void ip_hw_instance_release(struct kobject *kobj) in ip_hw_instance_release()
809 static void ip_hw_id_release(struct kobject *kobj) in ip_hw_id_release()
855 static ssize_t ip_die_entry_attr_show(struct kobject *kobj, in ip_die_entry_attr_show()
868 static void ip_die_entry_release(struct kobject *kobj) in ip_die_entry_release()
898 struct kobject kobj; /* ip_discovery/ */ member
903 static void die_kobj_release(struct kobject *kobj) in die_kobj_release()
912 static void ip_disc_release(struct kobject *kobj) in ip_disc_release()
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.c3610 static ssize_t amdgpu_psp_vbflash_write(struct file *filp, struct kobject *kobj, in amdgpu_psp_vbflash_write()
3650 static ssize_t amdgpu_psp_vbflash_read(struct file *filp, struct kobject *kobj, in amdgpu_psp_vbflash_read()
3755 static umode_t amdgpu_flash_attr_is_visible(struct kobject *kobj, struct attribute *attr, int idx) in amdgpu_flash_attr_is_visible()
3767 static umode_t amdgpu_bin_flash_attr_is_visible(struct kobject *kobj, in amdgpu_bin_flash_attr_is_visible()
H A Damdgpu_ras.c1340 struct kobject *kobj, struct bin_attribute *attr, in amdgpu_ras_sysfs_badpages_read()
/openbsd/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()
254 static void kfd_topology_kobj_release(struct kobject *kobj) in kfd_topology_kobj_release()
268 static ssize_t iolink_show(struct kobject *kobj, struct attribute *attr, in iolink_show()
308 static ssize_t mem_show(struct kobject *kobj, struct attribute *attr, in mem_show()
340 static ssize_t kfd_cache_show(struct kobject *kobj, struct attribute *attr, in kfd_cache_show()
392 static ssize_t perf_show(struct kobject *kobj, struct kobj_attribute *attrs, in perf_show()
419 static ssize_t node_show(struct kobject *kobj, struct attribute *attr, in node_show()
560 static void kfd_remove_sysfs_file(struct kobject *kobj, struct attribute *attr) in kfd_remove_sysfs_file()
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()
337 static void kfd_procfs_kobj_release(struct kobject *kobj) in kfd_procfs_kobj_release()
377 static ssize_t kfd_procfs_queue_show(struct kobject *kobj, in kfd_procfs_queue_show()
395 static ssize_t kfd_procfs_stats_show(struct kobject *kobj, in kfd_procfs_stats_show()
421 static ssize_t kfd_sysfs_counters_show(struct kobject *kobj, in kfd_sysfs_counters_show()
518 static void kfd_sysfs_create_file(struct kobject *kobj, struct attribute *attr, in kfd_sysfs_create_file()
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/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/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/sys/dev/pci/drm/radeon/
H A Dradeon_pm.c785 static umode_t hwmon_attributes_visible(struct kobject *kobj, in hwmon_attributes_visible()
/openbsd/sys/dev/pci/drm/amd/pm/
H A Damdgpu_pm.c3192 static umode_t hwmon_attributes_visible(struct kobject *kobj, in hwmon_attributes_visible()