Home
last modified time | relevance | path

Searched refs:ip_hw_instance (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c649 struct ip_hw_instance { struct
675 ssize_t (*show)(struct ip_hw_instance *ip_hw_instance, char *buf);
678 static ssize_t hw_id_show(struct ip_hw_instance *ip_hw_instance, char *buf) in hw_id_show() argument
680 return sysfs_emit(buf, "%d\n", ip_hw_instance->hw_id); in hw_id_show()
683 static ssize_t num_instance_show(struct ip_hw_instance *ip_hw_instance, char *buf) in num_instance_show() argument
685 return sysfs_emit(buf, "%d\n", ip_hw_instance->num_instance); in num_instance_show()
688 static ssize_t major_show(struct ip_hw_instance *ip_hw_instance, char *buf) in major_show() argument
690 return sysfs_emit(buf, "%d\n", ip_hw_instance->major); in major_show()
693 static ssize_t minor_show(struct ip_hw_instance *ip_hw_instance, char *buf) in minor_show() argument
695 return sysfs_emit(buf, "%d\n", ip_hw_instance->minor); in minor_show()
[all …]