Lines Matching refs:container
3708 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_show() local
3709 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_show()
3719 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_store() local
3720 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_store()
3766 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_show() local
3767 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_show()
3777 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_store() local
3778 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_store()
3826 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_target_threshold_show() local
3827 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_target_threshold_show()
3837 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_target_threshold_store() local
3838 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_target_threshold_store()
3887 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_target_temperature_show() local
3888 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_target_temperature_show()
3898 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_target_temperature_store() local
3899 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_target_temperature_store()
3946 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_minimum_pwm_show() local
3947 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_minimum_pwm_show()
3957 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_minimum_pwm_store() local
3958 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_minimum_pwm_store()
4000 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_zero_rpm_enable_show() local
4001 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_zero_rpm_enable_show()
4011 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_zero_rpm_enable_store() local
4012 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_zero_rpm_enable_store()
4057 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_zero_rpm_stop_temp_show() local
4058 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_zero_rpm_stop_temp_show()
4068 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_zero_rpm_stop_temp_store() local
4069 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_zero_rpm_stop_temp_store()
4170 struct od_kobj *container, *container_next; in amdgpu_od_set_fini() local
4176 list_for_each_entry_safe(container, container_next, in amdgpu_od_set_fini()
4178 list_del(&container->entry); in amdgpu_od_set_fini()
4181 &container->attribute, entry) { in amdgpu_od_set_fini()
4183 sysfs_remove_file(&container->kobj, in amdgpu_od_set_fini()
4188 kobject_put(&container->kobj); in amdgpu_od_set_fini()
4213 struct od_feature_container *container) in amdgpu_od_is_self_contained() argument
4223 for (i = 0; i < ARRAY_SIZE(container->sub_feature); i++) { in amdgpu_od_is_self_contained()
4224 if (container->sub_feature[i].name && in amdgpu_od_is_self_contained()
4226 &container->sub_feature[i].ops)) in amdgpu_od_is_self_contained()
4237 struct od_feature_container *container; in amdgpu_od_set_init() local
4259 container = &amdgpu_od_set.containers[i]; in amdgpu_od_set_init()
4261 if (!container->name) in amdgpu_od_set_init()
4271 if (amdgpu_od_is_self_contained(adev, container)) { in amdgpu_od_set_init()
4273 &container->ops)) in amdgpu_od_set_init()
4288 container->ops.is_visible(adev); in amdgpu_od_set_init()
4289 attribute->attribute.attr.name = container->name; in amdgpu_od_set_init()
4291 container->ops.show; in amdgpu_od_set_init()
4293 container->ops.store; in amdgpu_od_set_init()
4311 container->name); in amdgpu_od_set_init()
4317 for (j = 0; j < ARRAY_SIZE(container->sub_feature); j++) { in amdgpu_od_set_init()
4318 feature = &container->sub_feature[j]; in amdgpu_od_set_init()