Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c736 struct ip_hw_instance { struct
762 ssize_t (*show)(struct ip_hw_instance *ip_hw_instance, char *buf);
765 static ssize_t hw_id_show(struct ip_hw_instance *ip_hw_instance, char *buf) in hw_id_show() argument
767 return sysfs_emit(buf, "%d\n", ip_hw_instance->hw_id); in hw_id_show()
770 static ssize_t num_instance_show(struct ip_hw_instance *ip_hw_instance, char *buf) in num_instance_show() argument
772 return sysfs_emit(buf, "%d\n", ip_hw_instance->num_instance); in num_instance_show()
775 static ssize_t major_show(struct ip_hw_instance *ip_hw_instance, char *buf) in major_show() argument
777 return sysfs_emit(buf, "%d\n", ip_hw_instance->major); in major_show()
780 static ssize_t minor_show(struct ip_hw_instance *ip_hw_instance, char *buf) in minor_show() argument
782 return sysfs_emit(buf, "%d\n", ip_hw_instance->minor); in minor_show()
[all …]