Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/pm/inc/
H A Damdgpu_pm.h46 struct amdgpu_device_attr { struct
49 int (*attr_update)(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, argument
56 struct amdgpu_device_attr *attr;
60 container_of(_dev_attr, struct amdgpu_device_attr, dev_attr)
/openbmc/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c1937 static int ss_power_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, in ss_power_attr_update()
1946 static int ss_bias_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, in ss_bias_attr_update()
1963 static struct amdgpu_device_attr amdgpu_device_attrs[] = {
2000 static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, in default_attr_update()
2141 struct amdgpu_device_attr *attr, in amdgpu_device_attr_create()
2150 int (*attr_update)(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, in amdgpu_device_attr_create()
2189 static void amdgpu_device_attr_remove(struct amdgpu_device *adev, struct amdgpu_device_attr *attr) in amdgpu_device_attr_remove()
2200 struct amdgpu_device_attr *attrs, in amdgpu_device_attr_create_groups()